What is supervised learning?
Simple meaning
Supervised learning trains a model on labeled examples where each input already has a known target.
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.
Supervised learning trains a model on labeled examples where each input already has a known target.
Open the full page for Why, Steps, Example and Key takeaway.
Unsupervised learning looks for structure in data that has no labels.
Open the full page for Why, Steps, Example and Key takeaway.
Reinforcement learning trains an agent to choose actions in an environment so that cumulative reward is maximized.
Open the full page for Why, Steps, Example and Key takeaway.
Classification predicts a discrete class such as spam or not spam.
Open the full page for Why, Steps, Example and Key takeaway.
Bias is error from assumptions that are too simple to capture the true pattern.
Open the full page for Why, Steps, Example and Key takeaway.
Variance is how much the fitted model jumps when the training sample changes.
Open the full page for Why, Steps, Example and Key takeaway.
Expected prediction error splits into bias, variance, and irreducible noise.
Open the full page for Why, Steps, Example and Key takeaway.
A straight line fit to a U-shaped curve is high bias.
Open the full page for Why, Steps, Example and Key takeaway.
Overfitting means the model has memorized training quirks instead of the general pattern.
Open the full page for Why, Steps, Example and Key takeaway.
Underfitting means the model is too simple or poorly trained to capture the signal.
Open the full page for Why, Steps, Example and Key takeaway.
Compare training metrics with validation metrics.
Open the full page for Why, Steps, Example and Key takeaway.
Collect more data, simplify the model, add L1 or L2 penalties, use dropout, prune trees, and stop training early.
Open the full page for Why, Steps, Example and Key takeaway.
The training set fits parameters.
Open the full page for Why, Steps, Example and Key takeaway.
Validation is used many times while you tune.
Open the full page for Why, Steps, Example and Key takeaway.
People often use about 70/15/15 or 80/10/10 when there is plenty of data.
Open the full page for Why, Steps, Example and Key takeaway.
Test information leaks into every modeling choice.
Open the full page for Why, Steps, Example and Key takeaway.
Accuracy looks strong on imbalanced data even if you always predict the majority class.
Open the full page for Why, Steps, Example and Key takeaway.
Precision is the share of predicted positives that are actually positive.
Open the full page for Why, Steps, Example and Key takeaway.
Recall is the share of actual positives that the model found.
Open the full page for Why, Steps, Example and Key takeaway.
F1 is the harmonic mean of precision and recall.
Open the full page for Why, Steps, Example and Key takeaway.