Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Added on August 30, 2023 11:55AM
Likes: 0
Replies: 3
When trying to do either partial dependence plots, subpopulation analysis or individual prediction explanations on any of the classification(0/1) algorithms I ran it gives me the following error:
Failed to run post training computation : <class 'ValueError'> : Number of features of the model must match the input. Model n_features is 25 and input n_features is 24
Could anyone help me fix this issue, either in DataIKU or give me a solution that I can still run these things but then manually add it somewhere in a script/notebook? Thanks in advance!
Hello,
Could you give us more information about your model?
Hi there @AurelienL
, Thanks for the reply!
1. So far I am running all the different models on slightly different datasets via the Lab.
2. I am in the visual analyses tab, where I then click on one of the trained models, for example "Random Forest" and then from that page I select either of the explainability tabs. Variable importance shows me a correct histogram, but the other three analysis/explanation tabs do not work when trying to run.
Hope you can help me further, as I think this must be something that should be fixable. Everything else seems fine, getting confusion matrix and other metrics as one could expect.
Thanks in advance!
From what I understand, what you are doing should work, could you open a support ticket so that we can investigate this further?