File Exchange

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

42 Downloads

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): https://drive.google.com/open?id=1n4T2mSxUq3kahM_qlyWNOj6YmSD_Mh8c

Cite As

Joshua Gafford (2021). Multi-Layer Perceptron (MLP) Class (https://www.mathworks.com/matlabcentral/fileexchange/74695-multi-layer-perceptron-mlp-class), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (4)

Mohammed Fouda

Can you share the code to create the preformated dataset?

Vo Thanh

why target_accuracy = 98 when acc set in range (0,1)

M Ridho Wkwk

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!