What is the difference between batch learning and online learning?
Simple meaning
Batch learning fits on a fixed dataset and is redeployed when you retrain.
Open the full page for Why, Steps, Example and Key takeaway.
Panel-ready AI & Data Analytics questions for freshers and experienced developers. Practice at Coding Cadre in Faridabad, or Online from Delhi NCR.
Batch learning fits on a fixed dataset and is redeployed when you retrain.
Open the full page for Why, Steps, Example and Key takeaway.
Inductive learning builds a model that should work on any future point from the same distribution.
Open the full page for Why, Steps, Example and Key takeaway.
For squared loss, expected error equals bias squared plus variance plus irreducible noise.
Open the full page for Why, Steps, Example and Key takeaway.
Double descent is the pattern where test error falls, rises near the interpolation point, then falls again as models grow even larger.
Open the full page for Why, Steps, Example and Key takeaway.
Averaging uncorrelated errors shrinks variance roughly like 1 over the number of models if bias is unchanged.
Open the full page for Why, Steps, Example and Key takeaway.
Overfitting is a train-versus-val gap on data drawn from the same process.
Open the full page for Why, Steps, Example and Key takeaway.
Open the full page for Why, Steps, Example and Key takeaway.
A single val set used for many hyperparameter trials becomes an optimistic selector.
Open the full page for Why, Steps, Example and Key takeaway.
Keep a final test set untouched.
Open the full page for Why, Steps, Example and Key takeaway.
Fitting StandardScaler, PCA, or a target encoder on train plus val before splitting leaks holdout information into features.
Open the full page for Why, Steps, Example and Key takeaway.
Multiple rows from one person share physiology, devices, and labeling quirks.
Open the full page for Why, Steps, Example and Key takeaway.
Discrimination is ranking: do positives score higher than negatives?
Open the full page for Why, Steps, Example and Key takeaway.
Macro F1 averages F1 per class equally, so rare classes count.
Open the full page for Why, Steps, Example and Key takeaway.
Matthews correlation uses all four confusion-matrix cells and stays near zero for majority-class dummy models.
Open the full page for Why, Steps, Example and Key takeaway.
Assign a rupee or dollar cost to false positives and false negatives, then minimize expected cost on validation.
Open the full page for Why, Steps, Example and Key takeaway.
Ordinary least squares needs X transpose X to be invertible, which fails when p exceeds n or columns are collinear.
Open the full page for Why, Steps, Example and Key takeaway.
Squared loss explodes with outliers and estimates a mean.
Open the full page for Why, Steps, Example and Key takeaway.
Forming X transpose X squares the condition number and can lose precision.
Open the full page for Why, Steps, Example and Key takeaway.
Complete separation means a linear rule already classifies the training set perfectly, so maximum likelihood wants infinite coefficients.
Open the full page for Why, Steps, Example and Key takeaway.
Add a few domain interactions when you need a still-interpretable linear log-odds model.
Open the full page for Why, Steps, Example and Key takeaway.