Hi all,
I've created a LogisticRegressionClassifier classifier using the Alteryx Assisted modelling tool using data provided in Alteryx's logistic regression example. I'm trying to use the explain_predictions function from the EvalML library but I', unsure where the predicted class is specified to the model/pipeline. I've attached my workflow.
When I look at the prediction explanations all the class names are one. This makes me think the target feature is not being passed correctly.
Here is my target variable before the model:
Solved! Go to Solution.
I asked the developers and got a great response: Unexpected argument y in explain predictions · Issue #3514 · alteryx/evalml (github.com)
essentially I needed to update my version of EvalML and use the parameter indices_to_explain.
Nice solve, @IraWatt
😂Thankyou Mr @Shifty