snorkel-team / snorkel

A system for quickly generating training data with weak supervision
https://snorkel.org
Apache License 2.0
5.81k stars 857 forks source link

multiclass label scorer #1609

Closed Evelyn-coder closed 3 years ago

Evelyn-coder commented 4 years ago

Hello, I am currently do an experiment use multicalss labels. But the error shows "ValueError: Target is multiclass but average='binary'. Please choose another average setting, one of [None, 'micro', 'macro', 'weighted']." Since the scorer could defined by users, how can I change the scorer, may be use golds and preds?

vincentschen commented 4 years ago

Hi @Evelyn-Xin — do you mind sharing the parameters that you're passing into the Scorer as well, include samples of the golds/preds?

github-actions[bot] commented 3 years ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.