Skip to content

"average" error when training and testing model #127

@mahopman

Description

@mahopman

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions