Classification Learner App

Interactively train, validate, and tune classification models

Choose between various algorithms to train and validate classification models for binary or multiclass problems. After training multiple models, compare their validation errors side-by-side, and then choose the best model. To help you decide which algorithm to use, see Train Classification Models in Classification Learner App.

Apps

Classification LearnerTrain models to classify data using supervised machine learning

Topics

Classification Workflow

Train Classification Models in Classification Learner App

Workflow for training, comparing and improving classification models, including automated, manual, and parallel training.

Select Data and Validation for Classification Problem

Import data into Classification Learner from the workspace or files, find example data sets, and choose cross-validation or holdout validation options.

Choose Classifier Options

In Classification Learner, automatically train a selection of models, or compare and tune options in decision trees, discriminant analysis, support vector machines, logistic regression, nearest neighbors, and ensembles.

Feature Selection and Feature Transformation Using Classification Learner App

Identify useful predictors using plots, manually select features to include, and transform features using PCA in Classification Learner.

Assess Classifier Performance in Classification Learner

Compare model accuracy scores, visualize results by plotting class predictions, and check performance per class in the Confusion Matrix.

Export Plots in Classification Learner App

Export and customize plots created before and after training.

Export Classification Model to Predict New Data

After training In Classification Learner, export models to the workspace, generate MATLAB® code, or generate C code for prediction.

Classification Examples

Train Decision Trees Using Classification Learner App

Create and compare classification trees, and export trained models to make predictions for new data.

Train Discriminant Analysis Classifiers Using Classification Learner App

Create and compare discriminant analysis classifiers, and export trained models to make predictions for new data.

Train Logistic Regression Classifiers Using Classification Learner App

Create and compare logistic regression classifiers, and export trained models to make predictions for new data.

Train Support Vector Machines Using Classification Learner App

Create and compare support vector machine (SVM) classifiers, and export trained models to make predictions for new data.

Train Nearest Neighbor Classifiers Using Classification Learner App

Create and compare nearest neighbor classifiers, and export trained models to make predictions for new data.

Train Ensemble Classifiers Using Classification Learner App

Create and compare ensemble classifiers, and export trained models to make predictions for new data.

Train Naive Bayes Classifiers Using Classification Learner App

Create and compare naive Bayes classifiers, and export trained models to make predictions for new data.

Code Generation and Classification Learner App

Train a classification model using the Classification Learner app, and generate C/C++ code for prediction.

Related Information