liveBook · Manning

Multilabel classification

Also called multi-label classification

Multilabel classification is a classification task in which each input may be assigned zero or more labels from a predefined set simultaneously.

How 4 Manning books explain it

Natural Language Processing in Action, Second Edition

Multi-label classification assigns zero or more independent labels to each input example.

How it is used
Tags overlapping intents and toxicity categories in chatbot messages and responses.
How deep it goes
Explains label representation and independent classifiers, then walks through BERT fine-tuning and validation.
Examples
Uses six-label toxic comments and math tutor messages with overlapping intent scores.
What you can do after
Apply it via simpletransformers to fine-tune and evaluate a BERT tagger on comment labels.

Read how Natural Language Processing in Action, Second Edition explains multilabel classification →

Deep Learning with Python, Third Edition

A classification task in which each example may belong to multiple classes at the same time, even though there are multiple possible classes overall.

How it is used
Frames tasks in which each input can receive multiple labels, including photo search.
How deep it goes
Gives an output-layer and loss recipe with k-hot targets, but does not develop a full multilabel training workflow.
Examples
Uses a cat-and-dog image and contrasts single-topic Reuters newswires with the possibility of multiple topics.
What you can do after
Apply it via Keras to configure a multilabel model with one sigmoid output per class and binary crossentropy.

Read how Deep Learning with Python, Third Edition explains multilabel classification →

Build AI Drug Discovery Pipelines

Multilabel classification is a supervised learning task in which each instance can be assigned multiple class labels simultaneously.

How it is used
Frames cytochrome P450 inhibition as predicting which enzymes a molecule inhibits simultaneously.
How deep it goes
Explains label structure, logistic outputs, model choices, dataset merging, and ranking metrics without deriving algorithms internally.
Examples
Uses five CYP inhibitor labels, merged molecular datasets, RDKit InChI records, and precision-recall performance plots.
What you can do after
Apply it via scikit-learn models to predict multiple CYP inhibition labels and evaluate their ranking quality.

Read how Build AI Drug Discovery Pipelines explains multilabel classification →

Deep Learning with R, Third Edition

Multilabel multiclass classification is a classification task in which each input may belong to multiple categories drawn from a set of more than two classes.

How it is used
Frames prediction tasks where one input may receive several category labels, especially image tagging and topic assignment.
How deep it goes
Defines multilabel classification and contrasts it with binary and single-label multiclass classification, without detailing model training.
Examples
Uses cat-and-dog image tagging, Reuters newswire topics, and Google Photos search across more than 20,000 image classes.
What you can do after
Evaluate/understand whether a classification problem permits multiple labels per input rather than mutually exclusive categories.

Read how Deep Learning with R, Third Edition explains multilabel classification →

Also covered in

What to know first

Related concepts

Questions about multilabel classification

What is multilabel classification?

Multilabel classification is a classification task in which each input may be assigned zero or more labels from a predefined set simultaneously.

Which Manning books explain multilabel classification?

Natural Language Processing in Action, Second Edition, Deep Learning with Python, Third Edition, Build AI Drug Discovery Pipelines and Deep Learning with R, Third Edition.

What should I know before learning multilabel classification?

Manning books that teach multilabel classification usually introduce area under the ROC curve, language model, intent classification and Reuters newswire first.

What is the difference between multilabel classification and single-label categorical classification?

Multilabel classification is a classification task in which each input may be assigned zero or more labels from a predefined set simultaneously. A classification setup in which each input is assigned no more than one label from a set of classes.

What kinds of multilabel classification are there?

Kinds of multilabel classification include multi-output classification.

What is multilabel classification a kind of?

Multilabel classification is a kind of classifier. A classifier is a predictive model that assigns an input to one or more discrete classes or categories.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.