Introduction
In this lab, we will explore the functionality and usage of multiclass and multioutput algorithms in scikit-learn. Multiclass classification is a classification task where samples are assigned to more than two classes. Multioutput classification, on the other hand, predicts multiple properties for each sample. We will cover the following topics:
- Multiclass Classification
- Multilabel Classification
- Multiclass-Multioutput Classification
- Multioutput Regression
VM Tips
After the VM startup is done, click the top left corner to switch to the Notebook tab to access Jupyter Notebook for practice.
Sometimes, you may need to wait a few seconds for Jupyter Notebook to finish loading. The validation of operations cannot be automated because of limitations in Jupyter Notebook.
If you face issues during learning, feel free to ask Labby. Provide feedback after the session, and we will promptly resolve the problem for you.
Skills Graph
%%%%{init: {'theme':'neutral'}}%%%%
flowchart RL
sklearn(("`Sklearn`")) -.-> sklearn/UtilitiesandDatasetsGroup(["`Utilities and Datasets`"])
sklearn(("`Sklearn`")) -.-> sklearn/CoreModelsandAlgorithmsGroup(["`Core Models and Algorithms`"])
sklearn(("`Sklearn`")) -.-> sklearn/AdvancedDataAnalysisandDimensionalityReductionGroup(["`Advanced Data Analysis and Dimensionality Reduction`"])
ml(("`Machine Learning`")) -.-> ml/FrameworkandSoftwareGroup(["`Framework and Software`"])
sklearn/UtilitiesandDatasetsGroup -.-> sklearn/datasets("`Datasets`")
sklearn/CoreModelsandAlgorithmsGroup -.-> sklearn/ensemble("`Ensemble Methods`")
sklearn/CoreModelsandAlgorithmsGroup -.-> sklearn/linear_model("`Linear Models`")
sklearn/AdvancedDataAnalysisandDimensionalityReductionGroup -.-> sklearn/multiclass("`Multiclass Classification`")
sklearn/AdvancedDataAnalysisandDimensionalityReductionGroup -.-> sklearn/multioutput("`Multioutput Regression and Classification`")
sklearn/CoreModelsandAlgorithmsGroup -.-> sklearn/svm("`Support Vector Machines`")
ml/FrameworkandSoftwareGroup -.-> ml/sklearn("`scikit-learn`")
subgraph Lab Skills
sklearn/datasets -.-> lab-71109{{"`Multiclass and Multioutput Algorithms`"}}
sklearn/ensemble -.-> lab-71109{{"`Multiclass and Multioutput Algorithms`"}}
sklearn/linear_model -.-> lab-71109{{"`Multiclass and Multioutput Algorithms`"}}
sklearn/multiclass -.-> lab-71109{{"`Multiclass and Multioutput Algorithms`"}}
sklearn/multioutput -.-> lab-71109{{"`Multiclass and Multioutput Algorithms`"}}
sklearn/svm -.-> lab-71109{{"`Multiclass and Multioutput Algorithms`"}}
ml/sklearn -.-> lab-71109{{"`Multiclass and Multioutput Algorithms`"}}
end