Docsity

Machine Learning Mind Map – Complete Visual Guide: Algorithms, Workflow & Evaluation (2026, Schemes and Mind Maps of Machine Learning

Toggle sidebar
bg1
MACHINE LEARNING / VISUAL STUDY GUIDE
MACHINE LEARNING
Complete Visual Guide
Types • Algorithms • Workflow • Evaluation
The main branches of machine learning at a glance.
CORE IDEA Machine learning is the process of learning useful patterns from data rather than programming every
decision as an explicit rule.
STUDY GUIDE | 2026 EDITION
Complete Visual Guide • Algorithms, Workflow & Evaluation | 1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13

Partial preview of the text

Download Machine Learning Mind Map – Complete Visual Guide: Algorithms, Workflow & Evaluation (2026 and more Schemes and Mind Maps Machine Learning in PDF only on Docsity!

MACHINE LEARNING

Complete Visual Guide

Types • Algorithms • Workflow • Evaluation

The main branches of machine learning at a glance.

CORE IDEA Machine learning is the process of learning useful patterns from data rather than programming every

decision as an explicit rule.

STUDY GUIDE | 2026 EDITION

Guide contents

SECTION TOPIC WHAT IT COVERS

01 Types of learning

Five paradigms, goals, data, examples

and algorithms

02 Supervised learning Classification, regression and supervised algorithm choices

03 Unsupervised learning Clustering, dimensionality reduction and association rules

04 Deep learning Neural networks, architectures and

training concepts

05 Model evaluation Metrics, validation, overfitting and

bias–variance

06 Machine-learning workflow From problem definition through

deployment and iteration

07 Reference tables Algorithm comparison and

data-preprocessing quick reference

08 Decision guides

How to choose an algorithm and fix

under/overfitting

09 Key takeaways The principles worth remembering

How to use this guide

Start with the learning paradigms to understand what kind of problem you have. Use the algorithm tables to narrow the options,

then study evaluation metrics before trusting a model. The workflow section shows how those choices fit into a complete

project.

IMPORTANT No algorithm is best for every problem. Begin with a sensible baseline, evaluate on data that was held out

from training, and select metrics that reflect the actual cost of errors.

The agent acts on the environment and uses state/reward feedback to improve its policy.

● Examples: Game playing (AlphaGo), robotics and autonomous driving.

● Algorithms: Q-Learning, SARSA, DQN, PPO and A3C.

1.5 Self-supervised learning

● Data: Unlabeled data, with training targets generated from the data itself.

● Goal: Learn useful representations without human-provided labels.

● Examples: Large language models such as GPT and BERT; contrastive learning.

● Techniques: Masked language modeling and next-token prediction.

DISTINCTION Reinforcement learning is driven by actions and rewards; self-supervised learning creates its own training

targets from the input data.

02 | Supervised learning Three common prediction task families: classification, regression and clustering. 2.1 Classification: discrete output TASK TYPE WHAT IT PREDICTS EXAMPLES Binary classification One of two classes Spam / not spam; fraud / normal; disease / healthy Multi-class classification One class among more than two Digit recognition (0–9); animal species Multi-label classification Multiple labels may apply to one instance Image tagging: cat + outdoor + sunny

Common algorithms: Logistic Regression, K-Nearest Neighbors (KNN), Support Vector Machine (SVM), Decision Tree,

Random Forest, Naive Bayes, Gradient Boosting (XGBoost and LightGBM) and Neural Networks.

2.2 Regression: continuous output

Regression predicts a numeric value. Examples include house price, temperature, stock price and age.

● Linear Regression

● Polynomial Regression

● Ridge Regression (L2)

● Lasso Regression (L1)

● Elastic Net (L1 + L2)

● Decision Tree Regressor, Random Forest Regressor and Gradient Boosting Regressor

● Metrics: MSE, RMSE, MAE and R².

2.3 Algorithm cheat sheet: supervised learning ALGORITHM TYPE BEST FOR PROS CONS Linear Regression Regression Linear relationships Simple and interpretable Assumes linearity Logistic Regression Classification Binary classification Fast; probabilistic output Linear decision boundary KNN Both Small datasets No explicit training phase Slow prediction; curse of dimensionality SVM Classification High-dimensional data Effective with a clear margin^ Slow on large data; kernel choice matters Decision Tree Both Interpretability Visual; no scaling needed Can overfit easily Random Forest Both General-purpose problems Robust; reduces overfitting Less interpretable Naive Bayes Classification Text classification Fast; works with small data^ Strong independence assumption

03 | Unsupervised learning 3.1 Clustering

Goal: Group similar data points without using known class labels.

ALGORITHM CORE IDEA KEY CONSIDERATIONS

K-Means Centroid-based clusters; the number of clusters k must be specified^ Fast; works best for roughly spherical clusters; sensitive to outliers DBSCAN Density-based; can identify noise and outliers Does not require k; can find arbitrary shapes Hierarchical clustering Builds a tree of clusters (dendrogram) Flexible cluster structure; often slower at scale Gaussian Mixture Model (GMM) Probabilistic cluster membership Can model elliptical clusters; number of components is set Mean Shift Seeks dense regions or modes Does not require k; can be slow

Evaluation measures include Silhouette score, Davies–Bouldin index and inertia. Examples include customer segmentation,

image compression and anomaly detection.

K-Means: the iterative idea K-Means initializes centroids, assigns points to clusters, updates centroids and repeats until convergence. 3.2 Dimensionality reduction

Goal: Reduce the number of features while retaining useful information. Common uses include visualization, noise removal and

speeding up training.

METHOD TYPE / PURPOSE TYPICAL USE

PCA Linear; finds components explaining variance^ Preprocessing, compression and noise reduction t-SNE Non-linear; mainly for visualization Visualizing clusters in 2D or 3D UMAP Non-linear; often faster than t-SNE Low-dimensional visualization LDA Linear Discriminant Analysis; supervised Projection that uses class information Autoencoders Neural-network-based representation learning^ Compression, denoising and anomaly detection

CURSE OF DIMENSIONALITY As the number of features grows, data can become sparse and model performance can

deteriorate.

PCA vs. t-SNE FEATURE PCA t-SNE Type Linear Non-linear Primary purpose Dimensionality reduction Visualization in 2D/3D Structure emphasized Global structure Local structure Speed Fast Slower; often described as O(n²) Determinism Deterministic for fixed settings/data Can vary with random initialization Typical use Preprocessing and noise removal Visualizing clusters 3.3 Association rules

● Goal: Find co-occurrence patterns in data.

● Algorithms: Apriori and FP-Growth.

● Metrics: Support, confidence and lift.

● Example: Market-basket analysis, such as “people who buy X also buy Y.”

A conceptual association rule and the support, confidence and lift measures used to assess it.

CNN architecture at a glance A typical CNN pipeline from input pixels to output class probabilities. 4.3 Training concepts TERM MEANING Epoch One complete pass through the training data. Batch size Number of samples used for a gradient update. Learning rate Step size used when updating weights. Optimizers SGD, Adam, RMSprop and AdamW. Regularization Methods include dropout, batch normalization and weight decay. Transfer learning Reuse a pretrained model; fine-tune it for a target task.

05 | Model evaluation 5.1 Classification metrics Confusion matrix True/false positives and negatives underpin common classification metrics. TERM MEANING TP — True Positive Correctly predicted positive. TN — True Negative Correctly predicted negative. FP — False Positive Wrongly predicted positive; also described as a Type I error. FN — False Negative Wrongly predicted negative; also described as a Type II error. METRIC FORMULA INTERPRETATION Accuracy (TP + TN) / (TP + TN + FP + FN) Overall share of correct predictions; can mislead on imbalanced data. Precision TP / (TP + FP) Of all predicted positives, how many are actually positive? Recall / Sensitivity TP / (TP + FN) Of all actual positives, how many did the model find? F1 score 2 × (Precision × Recall) / (Precision + Recall) Harmonic mean of precision and recall. ROC curve TPR versus FPR across thresholds Shows the trade-off as the classification threshold changes. AUC-ROC Area under the ROC curve 0.5 is random ranking; 1.0 is perfect separation. Log loss Probability-based loss Penalizes confident incorrect predictions.

5.4 Validation strategies STRATEGY HOW IT WORKS / WHEN TO USE Train/test split Common examples are 70/30 or 80/20. Train/validation/test split A common example is 60/20/20. K-fold cross-validation Split data into k folds (often 5 or 10); rotate the test fold. Stratified K-fold Preserves class proportions across folds. Leave-One-Out (LOOCV) Use one observation as the test item each time (k = n). Time-series split Keep observations chronological to avoid future-data leakage. In five-fold cross-validation, each fold becomes the test fold once. Metric selection guide PROBLEM PRIMARY METRIC WHY Balanced classification Accuracy Classes are represented comparably. Imbalanced classification F1 or AUC-ROC Accuracy alone can be misleading. Spam detection Precision Minimize false positives. Cancer detection Recall Minimize false negatives. Regression RMSE, MAE, R² Choice depends partly on outlier sensitivity and interpretation. Ranking NDCG, MAP Ordering matters. Anomaly detection Precision@k, AUC The positive class is rare.

06 | Machine-learning workflow

A useful ML project is an iterative lifecycle rather than a one-off act of fitting an algorithm. Each stage informs the next, and

monitoring after deployment creates feedback for improvement.

End-to-end ML workflow from defining the problem to monitoring and iteration.

1. Problem definition

Clarify what is being predicted (classification, regression or clustering), define the success metric, and ask whether ML is the

right approach at all.

2. Data collection

Collect from databases, APIs, web scraping, sensors or surveys. More data often helps, but quality matters more than quantity.

Labels may come from manual annotation, crowdsourcing or weak supervision.

3. Data preprocessing

Check missing values, encode categorical variables, scale features when appropriate, handle outliers and split data into

train/validation/test partitions.

4. Exploratory data analysis (EDA)

Review descriptive statistics, distributions, correlations, class balance and missing-value patterns.

5. Feature engineering

Create ratios, differences and interactions; add polynomial, binned, date/time or text features; select features using filter,

wrapper or embedded methods.

6. Model selection

Start with a baseline such as logistic regression or a mean predictor. Compare several algorithms with cross-validation;

consider accuracy, speed, interpretability and deployment cost.

7. Model training

Train on the training set. Tune hyperparameters on validation data using grid search, random search or Bayesian methods.

Compare training and validation performance for overfitting.

8. Model evaluation

Use a held-out test set that was never used during training or tuning. Compare with the baseline, check whether improvement is

meaningful, and analyze errors with confusion matrices or residual plots.

07 | Master algorithm comparison ALGORITHM TASK INTERPRET. NON-LINEARITY SCALING? SPEED BEST FOR Linear Regression Regression Very high Limited by default Usually no Fast Baseline and linear data Logistic Regression Classification^ Very high^ Limited by default^ Often yes^ Fast^ Baseline, binary classification KNN Both Medium Yes Yes Slow at prediction Small datasets SVM Classification Low–medium Yes, with kernels Yes Medium High-dimensional data with clear margins Decision Tree Both Very high Yes No Fast Interpretability Random Forest Both Medium Yes No Medium General-purpose tabular problems Gradient Boosting Both Low–medium Yes Usually no Can be slow Tabular prediction tasks Naive Bayes Classification Medium–high Limited No Fast Text classification Neural Network Both Low Yes Often yes Can be slow Complex patterns and larger data K-Means Clustering Medium Spherical clusters Yes Fast Spherical clusters DBSCAN Clustering Medium Arbitrary shapes Distance scale matters Medium Outliers and non-spherical clusters PCA Dimensionality reduction Low–medium Linear Yes Fast Preprocessing and compression t-SNE Dimensionality reduction Low Non-linear Depends on pipeline Slow Visualization

HOW TO READ THE TABLE These are general tendencies, not hard rules. Dataset size, feature types, class balance,

training constraints and evaluation results can change the best choice.

08 | Decision guides and quick fixes 8.1 Which algorithm should you try first? A practical first-pass decision guide based on labels and the task objective. Expanded choice guide QUESTION DIRECTION CANDIDATE METHODS Have labeled outcomes? Yes → supervised learning Classification or regression based on the target. Predicting a category? Binary Logistic Regression, SVM or Random Forest. Predicting a category? Multi-class Random Forest, Gradient Boosting or Neural Network. Predicting text labels? Text classification Naive Bayes, BERT or Logistic Regression. Predicting a number? Linear relationship Linear Regression, Ridge or Lasso. Predicting a number? Non-linear relationship Random Forest, Gradient Boosting or Neural Network. Predicting a time series? Time-dependent data ARIMA, LSTM or Prophet; validate chronologically. No labels? Group similar items K-Means, DBSCAN or Hierarchical Clustering. No labels? Reduce dimensions PCA, t-SNE or UMAP. No labels? Find co-occurrence patterns Association rules with Apriori. Need decisions from interaction? Reward-driven objective Q-Learning / DQN for discrete actions; DDPG, PPO or SAC for continuous actions. 8.2 Fixing underfitting and overfitting PROBLEM SYMPTOM POSSIBLE SOLUTIONS Underfitting High training error and high test error Use a more complex model, add useful features, reduce regularization or train longer.

09 | Key takeaways

Machine learning Learns patterns from data rather than relying only on explicit, hand-written rules.

Supervised learning Uses labeled data; classification predicts categories and regression predicts numbers.

Unsupervised learning Uses unlabeled data to discover structure through clustering, dimensionality reduction and association

rules.

Reinforcement learning Learns from rewards through interaction, with applications such as games and robotics.

Model choice No single algorithm wins every problem. Start with a baseline, then compare more complex approaches.

Preprocessing Scaling, encoding, missing-value handling and outlier treatment can make or break a model.

Evaluation Choose metrics that reflect the problem. Accuracy can fail on imbalanced data; F1 or AUC-ROC may be more

informative.

Generalization Overfitting hurts performance on unseen data. Cross-validation, regularization and more data can help.

Bias–variance Aim for a useful balance between underfitting and overfitting.

Workflow Define, collect, preprocess, explore, engineer, train, evaluate, deploy, monitor and repeat.

Quick final checklist

☐ I can explain what data the learning method requires.

☐ I can distinguish a classification target from a regression target.

☐ I can identify whether a problem calls for labels, clustering or reward-driven interaction.

☐ I can select a meaningful metric and explain the cost of false positives and false negatives.

☐ I know how to split data without leaking information from the test set.

☐ I can describe overfitting, underfitting and at least two remedies for each.

☐ I can outline an end-to-end ML workflow, including deployment and monitoring.

STUDY PRINCIPLE Understand the problem first, the data second, the evaluation metric third, and the algorithm after

that.