Questions tagged [overfitting-underfitting]
143 questions
-1
votes
1 answer
how to fix nomalization problem or overfitting
i tried to normalize my data sets column with this code , but the results on the column in (daddr)was not in 0 , 1 range enter image description here
and also the results in loss apear like following enter image description here
this is the code i…
-1
votes
1 answer
Does my model overfits or underfits based on the learning curves I obtain?
I want to find a good fit for my data, so I started with training the basic model (for the simple binary classification problem) and plotted the learning curves from the training. The plot I got:
Learning curves for training of my model
However, I…

Lazar Milikić
- 3
- 1
-1
votes
1 answer
Vgg16 and Resnet50 overfits despite including 100k images - Tensorflow
I am training a classifier using vgg16 and Resnet50. The data I have collected contains 100k RGB images belonging to four classes, each containing ~25k (the unbalanced issue was minor and compensated by augmentations). The dimension of each image is…

SH_Clarity
- 63
- 2
- 7
-1
votes
2 answers
Does my learning curves show overfitting?
I'm working on the multi-classification task (6 classes in total), and got almost perfect training and test accuracy (over 99%) based on my trained cnn model. I am trying to know that if my trained model suffers from overfitting or not. Attached are…

CuishleChen
- 5
- 4
-1
votes
1 answer
Is this LSTM underfitting?
I am trying to create a model that predicts if it will rain in the next 5 days (multi-step) or not, so I dont need the precipitation value, just a "yes" or "no". I've been testing with some different tools/algorithms and I guess the big challenge…

Guilherme
- 25
- 4
-1
votes
1 answer
TCN model result seems like offset by one time step
I have been training a temperature dataset with TCN model. I Have tested it on small data available. I am training a bivariate TCN model with the data which I am giving input is Maximum temperature and minimum temperature to predict maximum…

Priyadarshan S
- 1
- 1
-1
votes
1 answer
Machine Learning: Using a model that overfits but performs well in CV
I am currently training a KNeighborsClassifier model on sports betting data where the outcomes are normally 50/50.
My current training dataset overfits when trained, but has a mean precision score of 0.54 when training using cross validation.
What…

rngaebzzbz
- 1
- 1
-1
votes
1 answer
Is my Inception V3 model overfitted or is it fine to have those fluctuations?
In this post, I have added graphs of both accuracy and loss of basic inception v3 model and another inception v3 model with dropout layer. Can anyone tell me whether these models are overfitted or not by looking at the graphs.
Basic Inception V3…

Sai Chand
- 9
- 1
- 4
-1
votes
1 answer
Why CNN model after regularizer L2 overfitting?
x_train1, x_test, y_train1, y_test = train_test_split(images, labels,test_size=0.2,random_state=42)
x_train2, x_val,y_train2,y_val = train_test_split(x_train1, y_train1,test_size=0.05,random_state=42)
Layers
model =…

WAJEEHA KHALIL
- 1
- 1
-1
votes
1 answer
CNN model overfitting
I'm trying to train CNN model for MRI Classification.
As you can see the train loss is smaller than validation loss.
My question is :IS training loss >> validation loss that we can say we have Overfitting?
enter image description here
-1
votes
1 answer
Do we always check validation accuracy and loss to determine overfitting?
There are tons of article available describing overfitting, and how to resolve them. A general definition is
Overfitting can be identified by checking validation metrics such as accuracy and loss. The validation metrics usually increase until a…

adikh
- 306
- 2
- 16
-2
votes
0 answers
How to decrease this overfitting issue using these keras models?
I am correctly working on a college project which takes the data of retina and classify diabetic retinopathy. It has two columns, one consists the ID number and the second consists of diagnosis value. (The diabetic retinopathy stage the patient is…

Md. Anas Mahmud
- 7
- 1
-2
votes
1 answer
How to reduce the difference between training and validation in the loss curve?
I have used the Transformer model to train the time series dataset, but there is always a gap between training and validation in my loss curve. I have tried using different learning rates, batch sizes, dropout, heads, dim_feedforward, and layers,…

Jiangtao Liu
- 41
- 1
- 4
-2
votes
2 answers
Is my CNN model still overfitting? If so, how can I combat it? Is there something wrong with my architecture?
My CNN model kept getting high accuracy/low loss during training and much lower accuracy/higher loss during validation, therefore I started suspecting that it's overfitting.
I have therefore introduced a few dropout layers as well as some image…

sobek17
- 1
-2
votes
1 answer
Should overfitting always be avoided?
Suppose we have 2 models..
1st model with training accuracy of 0.85
1st model with validation accuracy of 0.78
2nd model with training accuracy of 0.79
2nd model with validation accuracy of 0.77.
Which of the model should be preferred? Or shall i…

Bai Dash
- 7
- 1
- 1