Skip to content

Self-contradictory summary in spacy debug data #8035

Discussion options

You must be logged in to vote

Thanks for the note, we'll have another look at the debug messages.

In this case, the warning message is correct given the format described above.

If you have a binary classification task, you can use two labels with textcat (one label is 1.0 for each instance and one label is 0.0, so NEGATION and NOT_NEGATION) or you can use one label with textcat_multilabel (just NEGATION as 1.0 or 0.0 as you have above).

The textcat_multilabel labels can be 0.0 or 1.0 for each label individually, but for textcat there should always be exactly one label per document with a score of 1.0 and all other labels should be 0.0. The textcat model always predicts scores that sum to 1.0 over all labels, so the mo…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Pandalei97
Comment options

@adrianeboyd
Comment options

@ctufts
Comment options

@adrianeboyd
Comment options

Answer selected by svlandeg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / cli Feature: Command-line interface
3 participants