Neural Networks
Neural network models are structured as a series of layers that reflect the way the brain processes information. The neural network classifiers available in Statistics and Machine Learning Toolbox™ are fully connected, feedforward neural networks for which you can adjust the size of the fully connected layers and change the activation functions of the layers.
To train a neural network classification model, use the Classification Learner app. The app offers several types of fully connected networks. If you have Deep Learning Toolbox™, you can also edit and train customizable neural network classifiers. For more information, see Choose Classifier Options in Classification Learner.
For greater flexibility, train a neural network classifier using fitcnet in the
command-line interface. After training, you can classify new data by passing the model and the
new predictor data to predict.
If you want to create more complex deep learning networks and have Deep Learning Toolbox, you can try the Deep Network Designer (Deep Learning Toolbox) app.
Apps
| Classification Learner | Train models to classify data using supervised machine learning |
Blocks
| ClassificationNeuralNetwork Predict | Classify observations using neural network classification model (Since R2021b) |
Functions
Objects
ClassificationNeuralNetwork | Neural network model for classification |
CompactClassificationNeuralNetwork | Compact neural network model for classification |
ClassificationPartitionedNeuralNetwork | Cross-validated classification neural network (Since R2026a) |
Topics
- Assess Neural Network Classifier Performance
Use
fitcnetto create a feedforward neural network classifier with fully connected layers, and assess the performance of the model on test data. - Compress Machine Learning Model for Memory-Limited Hardware
Reduce model size by feature selection, constrained Bayesian optimization, and parameter quantization.