Machine Learning & AI
Welcome to the Machine Learning & AI guides. Machine learning is a way of building software that learns patterns from data instead of following rules you write by hand. People use it to predict prices, flag fraud, recommend products, recognize images, understand text, and much more.
This section starts with the core ideas every model shares, works through the classic algorithms you'll use on tabular data, and then moves into deep learning and neural networks.
These guides are adapted from notes contributed by Yonibrese.
The examples use Python with numpy, pandas, scikit-learn, and (for deep learning) TensorFlow/Keras or PyTorch. If you're new to Python, start with the Python guides first.
Fundamentals
Start here. Learn what machine learning is, the main families of problems, and how to prepare data and judge whether a model is any good.
The Machine Learning Process
Types of Machine Learning
Lazy vs Eager Learning
Evaluating Models
Feature Engineering
Hyperparameter Tuning
Statistics for machine learning
The statistical tools you need to decide whether a result is real or just noise.
Algorithms
Hands-on guides to the classic supervised and unsupervised algorithms, each with a complete scikit-learn example.
Linear Regression
Logistic Regression
K-Nearest Neighbors
Naive Bayes
Decision Trees
Random Forests
Gradient Boosting
XGBoost
Support Vector Machines
K-Means Clustering
Deep learning
How neural networks work, from a single perceptron to the training loop that powers modern AI.
Intro to Deep Learning
The Perceptron
Neural Network Layers
Activation Functions
Forward Propagation
Loss Functions
Backpropagation
Gradient Descent
Optimizers
Overfitting & Regularization
Convolutional neural networks
Networks built for images and other grid-shaped data.
Recurrent neural networks
Networks built for sequences: text, audio, and time series.