How can I design multi layer perceptron based neural network(2 hidden layers) for my data.
79 views (last 30 days)
Show older comments
PRAKHAR GANDHI
on 15 Sep 2019
Commented: S NISHANTH
on 29 May 2020
Data consists of 72 features as columns,2148 rows, and last column as class labels as 0 and 1.
Accepted Answer
Raunak Gupta
on 18 Sep 2019
Hi,
Since you are trying to implement a Multi-Layer Perceptron, It is recommended to use fullyConnectedlayer as this connect all the nodes in one layer to the previous and next layer. The input size can be specified as 72 which is the number of features. The rows in the data matrix can be split into test data and train data. For full workflow, there is an example here by ignoring convolution2dLayer, maxPooling2dLayer and mentioning imageInputLayer with appropriate size as the number of features.
You may use Neural Netwrok Pattern Recognition App as an interactive alternative for solving classification and regression-based problem in Neural Networks.
More Answers (0)
See Also
Categories
Find more on Define Shallow Neural Network Architectures in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!