-
Notifications
You must be signed in to change notification settings - Fork 314
Open
Labels
Description
AttributeError Traceback (most recent call last)
/tmp/ipython-input-11-3604596351.py in <cell line: 0>()
11 n_jobs=1,
12 random_state=42)
---> 13 gp_transformer.fit(Xtrain, ytrain)
14
15 # Transform the data to get new features
/usr/local/lib/python3.11/dist-packages/gplearn/genetic.py in fit(self, X, y, sample_weight)
310
311 else:
--> 312 X, y = self._validate_data(X, y, y_numeric=True)
313
314 hall_of_fame = self.hall_of_fame
AttributeError: 'SymbolicTransformer' object has no attribute '_validate_data'