A new perspective on overfitting detection in deep neural networks (DNNs) has been introduced.The Overfitting-Underfitting Indicator (OUI) is a tool for monitoring DNN training dynamics and selecting optimal regularization hyperparameters.OUI helps in identifying whether a model is overfitting or underfitting without requiring validation data.Experiments show that maintaining OUI within a specific interval leads to improved generalization and validation scores.