ModelOriented / forester

Trees are all you need
https://modeloriented.github.io/forester/
GNU General Public License v3.0
108 stars 14 forks source link

draw_feature_importance plot for classification is not working #103

Closed ManuelSpinola closed 1 year ago

ManuelSpinola commented 1 year ago

draw_feature_importance(train_output$best_models, train_output$test_data, train_output$y)

Error in test_explainer(explainer, has_data = TRUE, has_y = TRUE, function_name = "model_parts") : The model_parts function requires an object created with explain() function.

HubertR21 commented 1 year ago

The issue should be already resolved in the 1.2.0 version of the package.