AxeldeRomblay / MLBox

MLBox is a powerful Automated Machine Learning python library.
https://mlbox.readthedocs.io/en/latest/
Other
1.49k stars 273 forks source link

pipeline cannot be fitted #43

Closed Jeeva-Ganesan closed 6 years ago

Jeeva-Ganesan commented 6 years ago

Hello,

I got this error message when i ran my model, what does this actually mean?

`~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

{'fsthreshold': 0.23151363142104533, 'cestrategy': 'label_encoding', 'estmax_depth': 7, 'ne__categorical_strategy': nan, 'estn_estimators': 500, 'fsstrategy': 'l1', 'nenumerical_strategy': 'mean'}

fitting the pipeline ... Traceback (most recent call last): File "mlbox_model.py", line 66, in sys.exit(main()) File "mlbox_model.py", line 62, in main mlboxfunc() File "mlbox_model.py", line 39, in mlboxfunc Predictor().fit_predict(best,df) File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/mlbox/prediction/predictor.py", line 389, in fit_predict raise ValueError("Pipeline cannot be fitted") ValueError: Pipeline cannot be fitted `

AxeldeRomblay commented 6 years ago

Hello, 'ne__categorical_strategy': nan is deprecated in version 0.5. You can try the following choices instead :

Jeeva-Ganesan commented 6 years ago

Thanks it worked. :) Closing it.