Hello all,
I am creating MLP with mushroom dataset from UCI in Matlab.It is a binary classification task with balaced class. In this i am getting 100% classification accuracy... am i overfitting? or going wrong somewhere?
Please see the code below and help me where i am going wrong.
thank you

 Akzeptierte Antwort

Nipun Katyal
Nipun Katyal am 12 Mär. 2020

0 Stimmen

Since you haven't provided the dataset on which you are wokring it is difficult to say that you model has been overfitted or not. Generally overfitting takes place when we have limited data for training or when we train the model for more epochs than required, in order to reduce the training error over a small dataset or for more number of epochs the model tends to learn the details of the dataset and not the general trend. Try giving different number of epochs and check the graph for loss at each epoch, the point at which the loss stops decreasing is generally the point of epochs at which you should stop the training process.

Weitere Antworten (0)

Kategorien

Mehr zu Statistics and Machine Learning Toolbox finden Sie in Hilfe-Center und File Exchange

Gefragt:

kav
am 9 Mär. 2020

Bearbeitet:

kav
am 13 Mär. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by