machine-learning
20 tutorials tagged “machine-learning”.
- Unsupervised Learning and ClusteringUnsupervised learning finds structure in data without labels. Group 300 students by study habits with k-means and hierarchical clustering.
- Overfitting, Underfitting and Cross-ValidationEstimate how a model will do on new data: validation curves, bias and variance, regularization, data leakage, and a cross-validated confusion matrix.
- Decision TreesA decision tree learns a flowchart of yes-or-no questions. Read a real tree's rules, and see how a tree that grows too deep memorizes instead of learning.
- Dimensionality ReductionDimensionality reduction describes data with fewer features. Use PCA to turn six study habits into two, and see how much information each component keeps.
- Random Forests and Gradient BoostingEnsembles combine many decision trees into one stronger model. Compare a single tree, a random forest and gradient boosting, and measure which features matter.
- Feature EngineeringPrepare data so models can learn from it: encode text categories, fill missing values, scale numbers, and create new features, all inside one pipeline.
- K-Nearest Neighbors and SVMsk-nearest neighbors predicts from the most similar examples; support vector machines find the widest boundary between classes. Both need scaled features.
- Linear RegressionLinear regression predicts a number from features with a weighted sum. Fit one to 200 Dallas house prices, read its coefficients and measure its error.
- Logistic Regression and ClassificationLogistic regression predicts the probability of a category. Estimate each family's chance of paying late, read the coefficients, and choose a threshold.
- Why Math Matters for MLMachine learning runs on linear algebra, probability, statistics and calculus. See all four at work in one tiny model that predicts house prices.