ΕπόμενοΕπόμενος οδηγός
Backtesting Trading Strategies and Overfitting
Τεχνικά
ΟΔΗΓΟΣ Βασικών Αρχών
Overfitting describes fitting training-specific patterns that generalize poorly, while underfitting describes failing to capture useful structure even in the training data.
Ακούστε αυτόν τον οδηγόαφήγηση με AI · ~3 min
These are fitting diagnoses to investigate, not conclusions guaranteed by model size or one accuracy number.
A trained model should be evaluated beyond the examples used to fit it. Under comparable training and held-out conditions, high training performance with much weaker held-out performance can indicate overfitting to training-specific patterns. Poor performance on both sets can be consistent with underfitting, although failed optimization, unsuitable data, and other causes also need consideration. The labels therefore guide diagnosis rather than substitute for it. Changing relevant features or model capacity can be worth testing when the representation is too limited, while regularization and data choices can affect how flexibly a model fits. Bias and variance describe another view of prediction error: bias concerns systematic deviation of the estimated predictor, and variance concerns sensitivity to the sampled training data. Small models are not automatically biased, and large models are not automatically high-variance in every task. The data-generating relationship and fitting procedure matter. Validation and final testing also have different roles. Validation data can help choose a model, hyperparameters, or stopping point. Repeatedly using the final test set for those choices can make the reported final estimate optimistic, so final testing should remain separate when possible. Modern research includes double-descent curves where test error rises near an interpolation regime and falls again as capacity increases. Such observations do not make that curve universal. Assess the actual task, information available, data splits, and fitting procedure rather than infer reliability solely from parameter count.
Ένα φίλτρο ανεπιθύμητης αλληλογραφίας που επισημαίνει κάθε μήνυμα ηλεκτρονικού ταχυδρομείου που περιέχει ένα συγκεκριμένο όνομα αποστολέα, επειδή αυτός ο αποστολέας έτυχε να στείλει ανεπιθύμητα μηνύματα σε μεγάλο βαθμό στα δεδομένα εκπαίδευσης, χάνοντας εντελώς νέους αποστολείς (υπερβολική προσαρμογή).
Ένα μοντέλο σε τιμή κατοικίας που χρησιμοποιεί μόνο τετραγωνικά μέτρα και αγνοεί την τοποθεσία, τα υπνοδωμάτια και την κατάσταση, έτσι λείπει πολύ στις ακριβές γειτονιές (υποσυναρμολόγηση).
Ένας ταξινομητής ιατρικών εικόνων που μαθαίνει να ανιχνεύει το υδατογράφημα του σαρωτή ενός νοσοκομείου αντί για την ασθένεια και αποτυγχάνει σε άλλα νοσοκομεία (υπερβολική προσαρμογή σε ένα πλαστό χαρακτηριστικό).
Σχεδίαση απώλειας προπόνησης έναντι απώλειας επικύρωσης κατά τη διάρκεια της προπόνησης και διακοπή όταν η απώλεια επικύρωσης αρχίζει να αυξάνεται ενώ η απώλεια προπόνησης συνεχίζει να μειώνεται (πιάνοντας την υπερβολική προσαρμογή νωρίς).
Research can examine fitting behavior across architectures, optimization methods, sample sizes, and data conditions. Results should identify the setup in which a curve or diagnostic was observed. Larger models and richer features can be candidates for evaluation, while they do not guarantee improved generalization. Reports should distinguish validation used for selection from final testing and explain the available information, so an apparent improvement can be assessed alongside sampling uncertainty and possible distribution changes.
Δωρεάν ενημερωτικό δελτίο
Τρία επαληθευμένα νέα AI κάθε πρωί της εβδομάδας, γραμμένα σε απλή αγγλική. Δωρεάν για πάντα, χωρίς διαφημίσεις.
Ένα email κάθε εργάσιμη ημέρα. Κατάργηση συνδρομής με ένα κλικ. Δεν πουλάμε ή μοιραζόμαστε ποτέ τη διεύθυνσή σας.
Δοκιμάστε τον εαυτό σας
Άμεση ανάδραση σε κάθε απάντηση, και πιστοποιητικό με επαληθεύσιμο ID μόλις περάσετε το μάθημα.
Υποστηρίξτε τη δωρεάν εκπαίδευση AI. AI Understanding είναι μια μη κερδοσκοπική οργάνωση 501(c)(3) — χωρίς διαφημίσεις, χωρίς τοίχο πληρωμής, ποτέ. Κάντε μια δωρεά
Overfitting describes fitting training-specific patterns that generalize poorly, while underfitting describes failing to capture useful structure even in the training data. These are fitting diagnoses to investigate, not conclusions guaranteed by model size or one accuracy number.
The gap is consistent with overfitting, while a complete diagnosis should also check evaluation and data conditions.
Underfitting concerns inadequate fitting of useful structure, but the pattern should be investigated alongside other possible causes.
Estimator variance concerns changes across sampled training sets, not a universal outcome of parameter count.
Testing a better representation can address an underfitting hypothesis; it is not a guaranteed improvement.
Η υπερπροσαρμογή είναι αόρατη αν κοιτάξετε μόνο την ακρίβεια της προπόνησης. Η αξιολόγηση σε αόρατα δεδομένα αποκαλύπτει το χάσμα μεταξύ της απομνημόνευσης και της γνήσιας γενίκευσης.
Συνέχισε να μαθαίνεις
Επιλέχθηκαν περισσότεροι οδηγοί για αυτό το θέμα
ΕπόμενοΕπόμενος οδηγός
Backtesting Trading Strategies and Overfitting
Τεχνικά