Command Palette
Search for a command to run...
Generalization Gap Gen Gap
Date
Generalization Gap (Train - Val Accuracy) is an important auxiliary metric in the fields of machine learning and deep learning for model generalization evaluation and training diagnosis. Under a given training set and validation set evaluation protocol, it measures the performance difference between the training data and validation data by calculating the difference between the model's training set accuracy and validation set accuracy, and assists in judging the degree of overfitting.
This metric is usually reported as a real-valued difference between -1 and 1 or in percentage points (-100 to 100 percentage points), and is commonly used in research and experiments related to model training, regularization, and data augmentation. When evaluation conditions are consistent and validation set accuracy remains stable or improves, a narrowing positive generalization gap usually indicates that the degree of overfitting has been alleviated. This metric should be evaluated together with validation set or test set accuracy, and model generalization ability should not be judged solely based on the numerical magnitude.
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.