how to create an ANN multiclass?

3 views (last 30 days)
Lyes Abdelli
Lyes Abdelli on 26 Jun 2021
Answered: Harsh on 20 Dec 2024
Hello everyone
Can someone help me in my project:
I have a dataset of 6 features and 4 classes(output)
I want to create an ANN with Matlab to classify this datasets
I've Tried Everything and Nothing is Working
Do you have any ideas?
Thank you

Answers (1)

Harsh
Harsh on 20 Dec 2024
Hi Lyes,
You can use “patternnet” to create feed forward neural network that can be trained using the “train” function to classify inputs according to target classes. Both these functions work for multi-class classification. You can refer to the following example of wine classification which has 3 classes - https://www.mathworks.com/help/deeplearning/ug/wine-classification.html
You may refer to the following page to understand about data preprocessing and how to do so in MATLAB - https://www.mathworks.com/help/matlab/preprocessing-data.html
Please refer to the following pages for more information regarding “patternnet” and “train” functions:

Products

Community Treasure Hunt

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

Start Hunting!