automl-toolkit
automl-toolkit copied to clipboard
'FeatureImportance' object has no attribute 'run_feature_importances'
I am trying to run the python example on databricks.
When I get to this line I get the error in the subject.
fi_importances = FI.run_feature_importances("XGBoost", "classifier", dataframe,20.0,"count",generic_overrides)
I have attached the wheel file pyAutoML-0.2.0-py3-none-any.whl to my cluster.
Just to add to this. It appears every section in the doc https://github.com/databrickslabs/automl-toolkit/blob/master/python/docs/APIDOCs.md fails, so I am guessing I am missing something.
The AutomatedRunner Class fails with the error ('Your model family but be within any of the following supported model types:', ['RandomForest', 'XGBoost', 'LogisticRegresesion', 'Trees', 'GBT', 'LinearRegression', 'MLPC', 'SVM'])
I've tried both XGBoost and RandomForest, both fail with the same message.
The Family Runner fails with the message 'JavaPackage' object is not callable
change 'run_feature_importances' to 'run_feature_importance'