Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"average" error when training and testing model #127

Open
mahopman opened this issue Jun 7, 2022 · 1 comment
Open

"average" error when training and testing model #127

mahopman opened this issue Jun 7, 2022 · 1 comment

Comments

@mahopman
Copy link

mahopman commented Jun 7, 2022

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
Copy link
Author

mahopman commented Jun 7, 2022

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

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

No branches or pull requests

1 participant