Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"optimize_final_model=True" fails !! #421

Open
AshwiniBaipadithayaMadhusudan opened this issue Jan 2, 2019 · 1 comment
Open

"optimize_final_model=True" fails !! #421

AshwiniBaipadithayaMadhusudan opened this issue Jan 2, 2019 · 1 comment

Comments

@AshwiniBaipadithayaMadhusudan

Hi,

I have been trying to train XGBClassifier on a data set containing around 750 data points.

Below is the code that i have used:
ml_predictor.train(raw_training_data=df_train, perform_feature_selection=False, model_names=XGBClassifier,cv=2,perform_feature_scaling=False, feature_learning=True, fl_data=df_feature_learn,optimize_final_model=True)

The above code runs fine if i set optimize_final_model=False.

But i am getting the below error when optimize_final_model=True.

[I 12:42:22.873 NotebookApp] Saving file at /automl/MAIN.ipynb
Process SpawnPoolWorker-10:
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\multiprocessing\process.py", line 258, in _bootstrap
self.run()
File "C:\ProgramData\Anaconda3\lib\multiprocessing\process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "C:\ProgramData\Anaconda3\lib\multiprocessing\pool.py", line 108, in worker
task = get()
File "C:\ProgramData\Anaconda3\lib\multiprocessing\queues.py", line 337, in get
return _ForkingPickler.loads(res)
AttributeError: Can't get attribute 'Individual' on <module 'deap.creator' from 'C:\ProgramData\Anaconda3\lib\site-packages\deap\creator.py'>

Could anyone please suggest how to tackle this.

@csegerie
Copy link

csegerie commented Oct 3, 2019

I have the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants