Skip to content
This repository has been archived by the owner on Jul 13, 2022. It is now read-only.

'FeatureImportance' object has no attribute 'run_feature_importances' #15

Open
zwag20 opened this issue Dec 16, 2020 · 2 comments
Open

Comments

@zwag20
Copy link

zwag20 commented Dec 16, 2020

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.

@zwag20
Copy link
Author

zwag20 commented Dec 17, 2020

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

@yousenwang
Copy link

change 'run_feature_importances' to 'run_feature_importance'

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

No branches or pull requests

2 participants