image thumbnail

Multi-Layer Perceptron (MLP) Class

version 1.0.0 (8.57 KB) by Joshua Gafford
Multi-Layer Perceptron Class for training Deep Neural Networks


Updated 23 Mar 2020

View License

This is a class for sequentially constructing and training multi-layer perceptron (MLP) models for classification and regression tasks.

Included in this folder are:
MLPNet: the multi-layer perceptron class
MLP_Test: An example file for constructing and training the MLP class object for classification tasks (for use with MNIST and Fashion_MNIST datasets)
load_data: a helper script for loading pre-formatted data

I have also created example datasets (MNIST and Fashion_MNIST), pre-formatted to run with this class. They were too big to load through file exchange, so you can download them at this link (make sure you place the .mat files in the same directory):

Cite As

Joshua Gafford (2022). Multi-Layer Perceptron (MLP) Class (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!