Neural Network for binary classification

59 views (last 30 days)
Dear Community,
I have a binary classification problem, with approximately 16 features.
I have been using a logistic regression classifier in MATLAB, and this is performing OK.
I want to try a Neural Network to see if I can improve the classification. Importantly, I want to be able to interrogate the output (the classification) from the NN. For example, for a particular input, was the output 0.51 or 0.99?
Any hints on this would be really appreciated.
I apologise if this question as been addressed elsewhere - please point me to the correct thread if this is the case!
Kind regards,
L

Accepted Answer

Srivardhan Gadila
Srivardhan Gadila on 27 May 2020
Use an imageInputLayer as an inputLayer to input the features to the network and then define rest of the network with convolution2dLayer or fullyConnectedLayer or other layers from List of Deep Learning Layers followed by softmaxLayer & classificationLayer at the end of the network architecture.
Then use activations function to check the output of softmaxLayer for a given input.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!