Model Atlas

Know why a model fits before using it.

A practical model map covering what each model does, where it is useful and the limitation you should remember in an interview or project.

Regression

Linear Regression

Simple numeric prediction baseline; interpretable but assumes a mostly linear relationship.

Classification

Logistic Regression

Strong interpretable classification baseline with probability outputs.

Tree

Decision Tree

Rule-based model that is intuitive but can overfit without controls.

Ensemble

Random Forest

Many randomized trees reduce variance and handle nonlinear relationships well.

Boosting

XGBoost

Sequential boosted trees that are strong on structured/tabular data.

Instance-based

K-Nearest Neighbors

Predicts from nearby examples; simple but sensitive to scaling and dataset size.

Clustering

K-Means

Partitions data around centroids; useful when compact spherical clusters are meaningful.

Dimensionality Reduction

PCA

Projects features into directions of maximum variance for compression and visualization.

Deep Learning

Neural Network

Learns flexible nonlinear representations but needs more data, tuning and computation.

Deep Learning

Transformer

Attention-based architecture behind modern language models and many sequence systems.

Representation

Embedding Model

Maps text or other objects into vectors for semantic search, clustering and retrieval.

AI System

LLM + RAG

Combines generation with external retrieval to improve grounding and domain usefulness.