auto_ml
auto_ml copied to clipboard
error for test case from front page
error for test case
code from auto_ml import Predictor from auto_ml.utils import get_boston_dataset
df_train, df_test = get_boston_dataset()
column_descriptions = { 'MEDV': 'output', 'CHAS': 'categorical' }
ml_predictor = Predictor(type_of_estimator='regressor', column_descriptions=column_descriptions)
ml_predictor.train(df_train)
ml_predictor.score(df_test, df_test.MEDV) q=1
error message
File "E:\my_code\s_auto_ml_test_sep20.py", line 13, in
builtins.TypeError: init() got an unexpected keyword argument 'calc_feature_importance'
Same here. Probably related to https://github.com/catboost/catboost/blob/master/RELEASE.md#breaking-changes-2
Had it working with pip install catboost==0.1.1.2
Had it working with
pip install catboost==0.1.1.2
How can we solve this problem if we use catboost==0.11.1?
Had it working with
pip install catboost==0.1.1.2
How can we solve this problem if we use catboost==0.11.1?
I got it! I've deleted the 'calc_feature_importance=True' in utils_models.py,and then it works!
Hey there! It appears that this repository is no longer being actively maintained. However, I still think it's a great idea, so I've started working on my own version of it, which you can find here. It's worth pointing out that I've dropped Python 2.7 support, so you'll have to upgrade if you haven't already.
P.S. @xingyuezhiji is correct, that fixes the issue.
Had it working with
pip install catboost==0.1.1.2
How can we solve this problem if we use catboost==0.11.1?
I got it! I've deleted the 'calc_feature_importance=True' in utils_models.py,and then it works!
Can you please tell me how did you do that?