Running the Boston housing example with:
ml_predictor.train(df_boston_train,model_names=['LogisticRegression'])
I get the following error messages:
File "C:\Users\Anaconda3\lib\site-packages\auto_ml\predictor.py", line 670, in train
self.trained_final_model = self.train_ml_estimator(self.model_names, self._scorer, X_df, y)
File "C:\Users\Anaconda3\lib\site-packages\auto_ml\predictor.py", line 1236, in train_ml_estimator
trained_final_model = self.fit_single_pipeline(X_df, y, estimator_names[0], feature_learning=feature_learning, prediction_interval=False)
File "C:\Users\Anaconda3\lib\site-packages\auto_ml\predictor.py", line 875, in fit_single_pipeline
ppl.fit(X_df, y)
File "C:\Users\Anaconda3\lib\site-packages\auto_ml\utils_model_training.py", line 297, in fit
self.model.fit(X_fit, y)
File "C:\Users\Anaconda3\lib\site-packages\sklearn\linear_model\logistic.py", line 1217, in fit
check_classification_targets(y)
File "C:\Users\Anaconda3\lib\site-packages\sklearn\utils\multiclass.py", line 172, in check_classification_targets
raise ValueError("Unknown label type: %r" % y_type)
Running the Boston housing example with: ml_predictor.train(df_boston_train,model_names=['LogisticRegression'])
I get the following error messages:
File "C:\Users\Anaconda3\lib\site-packages\auto_ml\predictor.py", line 670, in train self.trained_final_model = self.train_ml_estimator(self.model_names, self._scorer, X_df, y)
File "C:\Users\Anaconda3\lib\site-packages\auto_ml\predictor.py", line 1236, in train_ml_estimator trained_final_model = self.fit_single_pipeline(X_df, y, estimator_names[0], feature_learning=feature_learning, prediction_interval=False)
File "C:\Users\Anaconda3\lib\site-packages\auto_ml\predictor.py", line 875, in fit_single_pipeline ppl.fit(X_df, y)
File "C:\Users\Anaconda3\lib\site-packages\auto_ml\utils_model_training.py", line 297, in fit self.model.fit(X_fit, y)
File "C:\Users\Anaconda3\lib\site-packages\sklearn\linear_model\logistic.py", line 1217, in fit check_classification_targets(y)
File "C:\Users\Anaconda3\lib\site-packages\sklearn\utils\multiclass.py", line 172, in check_classification_targets raise ValueError("Unknown label type: %r" % y_type)
ValueError: Unknown label type: 'continuous'