Can someone tell me if my machine learning model is overfitting or not ?

I hope you are doing well , I m working on a machine learning project and I just plotted the confusion matrix
9 Replies
pemcilwarrior12
pemcilwarrior122mo ago
attachment 0
pemcilwarrior12
pemcilwarrior122mo ago
Can someone tell me if my model is overfitting or not ?
wafa_athmani
wafa_athmani2mo ago
the model performs well for some classes but doesn't with others and that is a sign of overfitting
pemcilwarrior12
pemcilwarrior122mo ago
What are the classes that have overfitting if you can help ?
wafa_athmani
wafa_athmani2mo ago
'e' 'd' 'm' 'n' 'o' 'p' 'q' 'r's' 't' 'u' 'v' 'w' 'x' 'y' 'z' 'you' 'bad 'fine' 'hungry' 'sorry' 'thankyou' 'deaf' 'me' 'please' 'goodbye', 'no' , the diagonal values are relatively low
pemcilwarrior12
pemcilwarrior122mo ago
But these have a value of 98% , how they can be overfitted ?
wafa_athmani
wafa_athmani2mo ago
the diagonal values (representing correct classifications) are relatively low compared to the off-diagonal values (misclassifications). This suggests that the model struggles to accurately classify instances belonging to these classes.
techielew
techielew2mo ago
@anniekeerdekens
anniekeerdekens
anniekeerdekens2mo ago
It is difficult to determine only on the confusion matrix if your model is overfitting. What data is the confusion matrix representing? Only your validation data? Is the validation data unseen? How did you split the data? Is the data balanced? I suggest you first have a look at your loss curves. Check out this article: https://towardsdatascience.com/learning-curve-to-identify-overfitting-underfitting-problems-133177f38df5.
Medium
Want results from more Discord servers?
Add your server
More Posts
Could anyone identify these two components, please?Hi everyone! Happy weekend! Could anyone identify these two components, please? They seem to be SOT2anybody around here involved with reed-switch manufacturing/testing/selection?anybody around here involved with reed-switch manufacturing/testing/selection? Niche subject... I'm I want to make 48v battery charger, how I can make it (cercuit schematic)?Hi everyone, I want to make 48v battery charger, how I can make it (cercuit schematic) and what's thHas anyone tried sending data using light signal (Lifi) before?Hello electronic people, so i am trying new way of transmitting data... using light signal (Lifi) , While installing tensorflow in raspberry pi 4 iam facing this can anyone find the solution for this?XGO-Rider is a 2-wheel self-balancing robot with an ESP32 controllerMeet XGO-Rider, a state-of-the-art self-balancing robot on two wheels engineered for versatility andLooking to start in IoTI'm aware how Iot works, but I really want to undersand it, from scratch the basis, where should I sneed mentorship for development of electromagnetic flow metersI am fy student with 7 yrs of experience in electronics and I want to take my next big step , for whApple's M4 Chip: Pioneering the Next Era of AI ComputingThis week, Apple made waves with the introduction of their groundbreaking M4 chip. This unveiling reDiablo - Self-Balancing Raspberry Pi Wheeled-Leg RobotThe Diablo robot embodies a captivating blend of agility and sophistication, setting it apart in the