AI & Machine Learning Master Course — Classroom
Smartyfy · Master course
AI & Machine Learning Master Course
Build your understanding across 200 sequenced lessons, with worked practice, questions, and answer explanations. Selected lessons also include teaching diagrams.
Work through the lessons in order. Each lesson lists its prerequisites and connects to the next step. Use the worked answers to check your reasoning before moving on.
Course curriculum
01 · Orientation and trustworthy experiments
- What AI and Machine Learning Actually Do
- Turn a Real Question into an ML Problem
- Examples, Features, Targets, and Units
- Training, Validation, Testing, and Leakage
- Your First Reproducible ML Experiment
- The complete machine-learning lifecycle
- Learning paradigms and task families
- Baselines and the value of simple rules
- Reproducibility and experiment notebooks
- Mini-project: write an experiment charter
02 · Mathematical foundations for ML
- Scalars, vectors, and matrices
- Vector operations and similarity
- Matrix multiplication and shapes
- Linear transformations and projections
- Derivatives as local sensitivity
- Partial derivatives and gradients
- Chain rule and computational graphs
- Optimization with gradient descent
- Convexity, curvature, and numerical stability
- Math lab: fit a line from first principles
03 · Probability and statistical reasoning
- Random variables and probability models
- Conditional probability and Bayes rule
- Expectation, variance, and covariance
- Useful probability distributions
- Sampling, bias, and representativeness
- Likelihood and parameter estimation
- Confidence intervals and the bootstrap
- Hypothesis tests and practical significance
- Bayesian estimation and predictive uncertainty
- Statistics lab: audit a claimed improvement
04 · Data understanding and preparation
- Data collection and dataset contracts
- Exploratory analysis without test-set contamination
- Missing data and missingness mechanisms
- Outliers, anomalies, and measurement errors
- Scaling and numerical transformations
- Categorical variables and encoding
- Text, dates, and mixed-type features
- Pipelines and column-wise preprocessing
- Dataset imbalance and sampling strategies
- Data lab: prepare a messy tabular dataset
05 · Regression fundamentals
- Regression targets and loss functions
- Ordinary least squares in practice
- Residual diagnostics and model assumptions
- Feature interactions and polynomial models
- Ridge regression and regularization
- Lasso and elastic net
- Robust regression
- Quantile regression and prediction intervals
- Generalized linear models
- Regression project: estimate demand
06 · Classification fundamentals
- Classification outputs and decision rules
- Logistic regression from scores to probabilities
- Multiclass and multilabel classification
- Nearest-neighbor methods
- Naive Bayes classifiers
- Support vector machines
- Decision trees and recursive partitioning
- Class weights and asymmetric errors
- Probability calibration
- Classification project: route support tickets
07 · Evaluation and model selection
- Confusion matrices and error accounting
- Precision, recall, and F scores
- ROC curves and precision-recall curves
- Regression metrics and baseline-relative skill
- Cross-validation and fold design
- Hyperparameter search without leakage
- Nested evaluation and selection bias
- Learning curves and validation curves
- Slice-based evaluation and robustness
- Evaluation lab: build a reviewable model report
08 · Ensembles and advanced tabular learning
- Bias, variance, and ensemble intuition
- Bagging and random forests
- Extra trees and randomized splits
- Boosting as sequential error correction
- Gradient boosting for tabular data
- Histogram boosting and missing values
- External boosting libraries and fair comparisons
- Stacking and out-of-fold predictions
- Feature importance and permutation tests
- Tabular project: compete against a strong baseline
09 · Unsupervised learning and representations
- Unsupervised questions and evaluation
- K-means clustering
- Hierarchical clustering
- Density-based clustering
- Gaussian mixture models
- Principal component analysis
- Nonlinear embeddings and visualization traps
- Anomaly detection
- Association and pattern discovery
- Unsupervised project: explore behavior segments
10 · Feature engineering and efficient learning
- Feature design from domain knowledge
- Aggregations, windows, and entity histories
- Target encoding and leakage-safe alternatives
- Feature selection methods
- Sparse matrices and high-dimensional data
- Online and incremental learning
- Active learning and labeling budgets
- Semi-supervised learning
- Self-supervised representation learning
- Efficiency lab: improve value per compute hour
11 · Neural-network foundations
- Neurons, layers, and function composition
- Activation functions and network expressiveness
- Backpropagation step by step
- Automatic differentiation with PyTorch
- Build a complete training loop
- Initialization and optimization algorithms
- Regularization, dropout, and early stopping
- Batching, normalization, and training stability
- Debugging neural-network training
- Neural-network lab: a CPU-sized classifier
12 · Computer vision
- Images as arrays and learning problems
- Convolutions, padding, and receptive fields
- Train a small convolutional network
- Image augmentation and label preservation
- Transfer learning for image classification
- Object detection concepts and metrics
- Semantic and instance segmentation
- Vision transformers and patch representations
- Vision robustness, bias, and dataset shifts
- Vision project: document an image classifier
13 · Language and sequence models
- Text datasets, tokenization, and vocabulary
- Bag-of-words and TF-IDF baselines
- Word and sentence embeddings
- Recurrent neural networks
- LSTM and GRU sequence models
- Attention as weighted information retrieval
- Transformer blocks
- Encoder and decoder model families
- Fine-tuning and efficient adaptation
- Language project: classify short documents
14 · Generative AI and grounded systems
- Generative modeling objectives
- Autoregressive generation and decoding
- Prompt design as an experiment
- Retrieval-augmented generation foundations
- Chunking, embeddings, and retrieval evaluation
- Grounded-answer evaluation and hallucinations
- Tools, structured outputs, and constrained actions
- Local model inference and resource budgets
- Generative safety, privacy, and prompt injection
- Generative project: a small grounded assistant
15 · Time series and forecasting
- Time-indexed data and forecast definitions
- Naive, seasonal, and moving-average baselines
- Trend, seasonality, and decomposition
- Autoregressive and classical forecasting models
- Lag features and tabular forecasting
- Backtesting and rolling-origin evaluation
- Multiple series and hierarchical forecasts
- Probabilistic forecasts and interval calibration
- Regime change, drift, and forecast maintenance
- Forecasting project: plan a demand forecast
16 · Recommendations, ranking, and graphs
- Recommendation tasks and feedback
- Popularity and content-based recommenders
- Collaborative filtering and matrix factorization
- Candidate retrieval and nearest-neighbor search
- Learning to rank
- Ranking metrics and offline evaluation
- Exposure bias and recommendation experiments
- Graphs, nodes, and message passing
- Graph learning and leakage-safe splits
- Recommendation project: evaluate a small catalog
17 · Causality and sequential decisions
- Prediction, intervention, and causality
- Causal diagrams and confounding
- Randomized experiments
- Observational causal estimation
- Treatment heterogeneity and uplift
- Contextual bandits
- Markov decision processes
- Value functions and dynamic programming
- Q-learning and policy-gradient intuition
- Sequential-decision lab: evaluate a toy policy
18 · Responsible, secure, and interpretable ML
- Interpretability goals and explanation limits
- Local explanations and counterfactual examples
- Fairness definitions and trade-offs
- Privacy, consent, and data minimization
- Privacy-preserving learning concepts
- Adversarial examples and model security
- Robustness and out-of-distribution behavior
- Model cards and dataset documentation
- Human oversight and consequential decisions
- Responsible-ML review: challenge a launch proposal
19 · Deployment and ML operations
- From experiment to deployable artifact
- Batch and online inference architectures
- Testing ML systems
- Model serialization and dependency safety
- Data and model versioning
- Monitoring data and prediction quality
- Retraining and controlled rollout
- Capacity, latency, and inference optimization
- Incidents and model retirement
- MLOps lab: ship a local inference package
20 · Capstone and advanced professional practice
- Capstone scope and acceptance criteria
- Capstone data audit and split design
- Capstone baselines and initial experiments
- Capstone model development
- Capstone uncertainty and failure analysis
- Capstone responsible-use review
- Capstone packaging and reproducibility review
- Read and reproduce a machine-learning paper
- Communicate evidence and make a release decision
- Final assessment and continued-learning roadmap