qlik-py-tools icon indicating copy to clipboard operation
qlik-py-tools copied to clipboard

"average" error when training and testing model

Open mahopman opened this issue 2 years ago • 1 comments

I am trying to create a NLP model in Qlik using PyTools for a work project. However, when I attempt to train and test the model I get an error message that states "Target is multiclass but average='binary'. Please choose another average setting, one of [None, 'micro', 'macro', 'weighted'].'" After doing some research, I think I found that this error message is related to the sklearn score function, but I am not sure how to pass in the average parameter in Qlik. Should I be using Setup_Adv instead of Setup. If so, which argument would I pass it in with? If anyone has any ideas please let me know!

mahopman avatar Jun 07 '22 13:06 mahopman

af2519c0-0b26-4395-8369-5138f43f6eba )

mahopman avatar Jun 07 '22 13:06 mahopman