SILVERLEAF / LEARNING STUDIO

Ideas into intelligence.

A practical introduction to AI, machine learning and the systems that bring models to life. Open a lesson, follow an example and test your understanding.

Concept illustration of an AI learning workspace
START WITH THE FUNDAMENTALS

Understand. Experiment. Build.

A visual reference for AI, machine learning and practical model engineering. Open any topic to read a concise explanation.

01 / Foundations02 / Methods & evaluation03 / Engineering & MLOps
01 / FOUNDATIONS

What is AI

Artificial intelligence builds systems that perform tasks associated with human intelligence, including perception, reasoning, language generation and decision support.

02 / FOUNDATIONS

What is ML

Machine learning is an approach to AI where a model learns patterns from examples and applies them to new data.

03 / LANGUAGE

What is an LLM

A large language model learns statistical relationships in text, represents text as tokens and predicts useful continuations from context.

04 / LANGUAGE

How LLMs work

An LLM converts input into tokens, processes them through transformer layers and generates output one token at a time.

05 / METHODS

Machine learning methods

Supervised, unsupervised, semi-supervised and reinforcement learning address different data and feedback settings.

06 / GENERALIZATION

Overfitting and underfitting

Overfitting memorizes training examples; underfitting is too simple to capture useful patterns. Data, capacity and regularization help balance both.

07 / GENERALIZATION

Bias–variance tradeoff

Bias comes from overly simple assumptions; variance comes from sensitivity to the training sample. Good validation balances both.

08 / TRAINING

Parameters vs hyperparameters

Parameters are learned from data. Hyperparameters are chosen around training, such as depth, batch size and regularization strength.

09 / DATA

Handling missing values

Measure where values are missing and why, then use a meaningful default, imputation, an indicator or a model that supports missing values.

10 / DATA

Detecting and handling outliers

Use domain limits, robust statistics, IQR, z-scores and visual checks. Investigate causes before removing, capping, transforming or retaining outliers.

11 / EVALUATION

Confusion matrix

A confusion matrix counts true positives, true negatives, false positives and false negatives, revealing which classes a classifier confuses.

12 / FEATURES

Feature selection

Feature selection keeps useful inputs and removes noisy, redundant or unavailable signals using domain knowledge and model-based checks.

13 / DATA QUALITY

Data leakage and prevention

Leakage uses information unavailable at prediction time. Split data before fitting transformations and keep future information out of features.

14 / CLASSIFICATION

Logistic regression

Logistic regression estimates class probabilities from weighted features. A threshold converts probability into a decision.

15 / ENSEMBLES

Random forest

A random forest combines decision trees trained on varied samples and feature subsets, reducing variance and providing a strong baseline.

16 / ENSEMBLES

Bagging vs boosting

Bagging trains models independently and aggregates them. Boosting trains sequentially so later models focus on errors.

17 / ENSEMBLES

XGBoost vs random forest

Random forests are robust and easy to tune. XGBoost builds regularized trees sequentially and can achieve excellent tabular accuracy with careful tuning.

18 / EVALUATION

F1 score

F1 is the harmonic mean of precision and recall when both false positives and false negatives matter.

19 / EVALUATION

ROC–AUC

ROC–AUC summarizes ranking across classification thresholds. Precision–recall analysis can be more informative for highly imbalanced data.

20 / EVALUATION

Accuracy, precision and recall

Accuracy suits balanced classes. Precision matters when false positives cost more; recall matters when missing a positive case costs more.

21 / VALIDATION

Cross-validation

Cross-validation rotates training and validation folds to provide a more stable estimate for model comparison.

22 / GENERALIZATION

Regularization

L1, L2 and dropout discourage overly complex models. Their strength is controlled by a hyperparameter.

23 / OPTIMIZATION

Learning rate

The learning rate controls how far an optimizer moves parameters after each update. Too high overshoots; too low slows training.

24 / OPTIMIZATION

Hyperparameter tuning

Tuning compares configurations using validation, exploring depth, learning rate, regularization and batch size.

25 / DIMENSIONALITY

PCA

Principal component analysis projects correlated features into fewer directions that explain much of the variance.

26 / ENGINEERING

ML pipeline

An ML pipeline makes preparation, feature creation, training, evaluation and serving repeatable and consistent.

27 / OPERATIONS

MLOps

MLOps combines ML, engineering and operations practices for versioning, testing, deployment, monitoring and retraining.

28 / OPERATIONS

Model drift

Model drift is a decline in usefulness as incoming data, behavior or input–outcome relationships change.

29 / LIFECYCLE

End-to-end ML project lifecycle

A typical lifecycle moves from framing and data collection through labeling, features, training, validation, deployment, monitoring and iteration.

A QUICK KNOWLEDGE CHECK

Training or inference?

A model uses its learned weights to process a new input. Which stage is this?

Choose an answer to see the explanation.