microsoft / computervision-recipes

Best Practices, code samples, and documentation for Computer Vision.
MIT License
9.48k stars 1.17k forks source link

Label vs. Class #194

Open vapaunic opened 5 years ago

vapaunic commented 5 years ago

There is no consistency on how terms label and class are used. I expect what you want is this hierarchy: single label can have many classes. However, occasionally you use label to imply class. For example in the following two sentences in 01_training_introduction notebook:

Consider double checking all notebooks and other material to make sure you use these terms consistently.

loomlike commented 5 years ago

@vapaunic @jiata @PatrickBue Good point. Not sure if I understand this statement though "single label can have many classes". Correct me if I'm thinking wrong:

FYI, in scikit, https://scikit-learn.org/stable/modules/multiclass.html

Multiclass classification makes the assumption that each sample is assigned to one and only one label: a fruit can be either an apple or a pear but not both at the same time. Multilabel classification assigns to each sample a set of target labels