Wolfram Language

Train a Classifier Automatically

Training a classifier requires choosing a method, hyperparameters, preprocessing functions and so on. Classify makes all these choices automatically through a procedure consisting of experiments done on data subsets. Here is an example of this function in action.

Train a classifier on the "UCILetter" dataset.

Use the classifier on a new example.

Obtain general information about the classifier and the training procedure.

Visualize the learning curve of each method used by the automatic training procedure.

Obtain the accuracy estimated by the training procedure.

Compare with the accuracy measured on a test set.

Retrain the classifier while specifying a training time of 2 minutes.

Compare the learning curves with previous ones.

Related Examples