Concept coverage
Each concept here comes with up to three ways in: a worked example, a step-by-step walkthrough and a short skill check. Open a page under “Shown on” to practice it there. A dash means that block isn't written yet.
Course depth
For each SEIS course, the knowledge-graph concepts it teaches, how many adaptive-quiz items back each one (a concept needs 4 to place a learner), and the tutor concepts that explain it. Tutor concepts are drafts until the course instructor reviews them.
SEIS 610 · Software Engineering2/2 quizzable · 0/2 with tutor concepts
SEIS 615 · Cloud Computing3/3 quizzable · 0/3 with tutor concepts
SEIS 616 · Infrastructure as Code2/2 quizzable · 0/2 with tutor concepts
SEIS 622 · Web Application Development2/2 quizzable · 0/2 with tutor concepts
SEIS 630 · Database Management Systems and Design3/3 quizzable · 0/3 with tutor concepts
Analytical (OLAP) Databases5 quiz items
Vector Database4 quiz items
Labeled Property Graphs4 quiz items
SEIS 631 · Data Preparation and Analysis3/3 quizzable · 0/3 with tutor concepts
Feature Engineering4 quiz items
Analytical (OLAP) Databases5 quiz items
Synthetic Data Generation5 quiz items
SEIS 632 · Data Analytics and Visualization3/3 quizzable · 0/3 with tutor concepts
Analytical (OLAP) Databases5 quiz items
Unsupervised Learning4 quiz items
Model Evaluation5 quiz items
SEIS 651 · AI Ethics3/3 quizzable · 0/3 with tutor concepts
Responsible AI4 quiz items
Mechanistic Interpretability5 quiz items
Synthetic Data Generation5 quiz items
SEIS 665 · DevOps and Cloud Infrastructure3/3 quizzable · 0/3 with tutor concepts
SEIS 732 · Data Warehousing2/2 quizzable · 0/2 with tutor concepts
SEIS 739 · Software Analysis, Design and Implementation4/4 quizzable · 0/4 with tutor concepts
Code Smell Detection5 quiz items
AST & Code Intelligence5 quiz items
Code Graph RAG5 quiz items
Agentic Software Architecture5 quiz items
SEIS 745 · Data Lake Engineering4/4 quizzable · 0/4 with tutor concepts
Open Table Formats (Apache Iceberg)5 quiz items
Iceberg V4: Cost-Proportional Change4 quiz items
Analytical (OLAP) Databases5 quiz items
Feature Store5 quiz items
SEIS 763 · Machine Learning9/9 quizzable · 9/9 with tutor concepts
Machine Learning5 quiz items
Decision trees and ensembles (draft)
- Principle
- A decision tree splits the data recursively on feature thresholds that most reduce impurity; ensembles combine many trees to reduce error.
- Why it holds
- A single deep tree has low bias but high variance; bagging (random forests) averages away variance, and boosting adds trees that correct earlier errors.
- Assumptions
- Splits are axis-aligned, one feature at a time. Ensemble members make partly independent errors.
- Objective
- Control tree depth and compare a single tree with a random forest and gradient boosting on held-out data.
- Where it fails
- Impurity-based feature importances favor high-cardinality features; they are not causal effects.
- How to check
- Compare validation scores as depth grows; check importances with permutation importance on held-out data.
- Going further
- Gradient-boosted trees are a strong default on tabular data and often match or beat neural networks there.
- Teach it back
- Explain why averaging many overfit trees can generalize better than one.
- Source
- scikit-learn.org
Supervised Learning5 quiz items
Generalization and held-out evaluation (draft)
- Principle
- A model's error on data it was fit to underestimates its error on new data from the same distribution; only held-out data estimates the latter.
- Why it holds
- Fitting chooses parameters that reduce error on the training sample, including its noise, so training error is biased downward.
- Assumptions
- Training, validation and test examples are drawn independently from the distribution the model will face. The test set is not used for any modeling decision.
- Objective
- Split data into train, validation and test sets and explain what each estimate is used for.
- Where it fails
- Tuning hyperparameters on the test set makes the reported test score optimistically biased.
- How to check
- Touch the test set once, after all choices are made on validation data or cross-validation; check that no entity or time period appears on both sides of a split.
- Going further
- Time-series and grouped data need time-ordered or group-wise splits so that no future or same-entity information reaches training.
- Teach it back
- Explain why a model with 99% training accuracy can still be useless.
- Source
- scikit-learn.org
Linear regression by least squares (draft)
- Principle
- Ordinary least squares picks the coefficients that minimize the sum of squared residuals.
- Why it holds
- Squared error is smooth and convex in the coefficients, so it has a single minimum found by setting the gradient to zero (the normal equations).
- Assumptions
- The relationship is linear in the coefficients. Errors have mean zero; for valid standard errors they are also independent with constant variance.
- Objective
- Fit a linear model, interpret a coefficient as the change in prediction per unit change in its feature holding others fixed, and check residuals.
- Where it fails
- With strongly correlated features (multicollinearity), individual coefficients become unstable and their signs can flip, even when predictions stay good.
- How to check
- Plot residuals against predictions: structure or a funnel shape means the linear or constant-variance assumption fails.
- Going further
- Polynomial or spline features keep the model linear in its coefficients while fitting curved relationships.
- Teach it back
- Explain why a coefficient can be large but meaningless when two features carry the same information.
- Source
- scikit-learn.org
Logistic regression and cross-entropy (draft)
- Principle
- Logistic regression models the log-odds of the positive class as a linear function of the features and is fit by minimizing cross-entropy (log loss).
- Why it holds
- The sigmoid maps any real score to a probability, and log loss is the negative log-likelihood of the labels under that model, which is convex in the coefficients.
- Assumptions
- The log-odds are approximately linear in the features. Examples are independent.
- Objective
- Turn predicted probabilities into decisions with a threshold chosen from the costs of each error.
- Where it fails
- On perfectly separable data the unregularized coefficients grow without bound; regularization keeps them finite.
- How to check
- Check calibration with a reliability curve on held-out data, and confirm that 0.5 is not assumed to be the right threshold.
- Going further
- Softmax regression generalizes the same model to more than two classes; it is the output layer of most neural classifiers.
- Teach it back
- Explain why log loss punishes a confident wrong answer much more than an unsure one.
- Source
- scikit-learn.org
Unsupervised Learning4 quiz items
k-means clustering (draft)
- Principle
- k-means alternates between assigning each point to its nearest centroid and moving each centroid to the mean of its points, which never increases within-cluster squared distance.
- Why it holds
- Each step minimizes the same objective over one set of variables while holding the other fixed.
- Assumptions
- Clusters are roughly spherical and similar in size. Euclidean distance on scaled features is meaningful.
- Objective
- Scale features, run k-means with several initializations and choose k with silhouette scores and domain sense.
- Where it fails
- k-means converges to a local optimum that depends on initialization, and it always returns k clusters even when the data has none.
- How to check
- Run several seeds (k-means++ initialization) and compare inertia; inspect cluster sizes and centroids for meaning.
- Going further
- Density-based methods such as DBSCAN find clusters of arbitrary shape and mark outliers that k-means would force into a cluster.
- Teach it back
- Explain why inertia always falls as k grows, so the lowest inertia is not the best k.
- Source
- scikit-learn.org
Principal component analysis (draft)
- Principle
- PCA projects centered data onto orthogonal directions ordered by the variance they explain.
- Why it holds
- The principal directions are the eigenvectors of the covariance matrix; the eigenvalues are the variance along each.
- Assumptions
- Variance is a useful proxy for information. Structure is linear; features are scaled when their units differ.
- Objective
- Choose the number of components from the cumulative explained-variance curve and fit PCA on training data only.
- Where it fails
- The direction of greatest variance need not separate the classes, so PCA can discard exactly the signal a classifier needs.
- How to check
- Check explained variance per component and compare model performance with and without the projection on held-out data.
- Going further
- PCA before a model can remove noise and collinearity; nonlinear embeddings such as t-SNE or UMAP are for visualization, not distances.
- Teach it back
- Explain why PCA on unscaled income and age mostly finds income.
- Source
- scikit-learn.org
Feature Engineering4 quiz items
Feature scaling and encoding (draft)
- Principle
- Models see only numbers, so categories need an encoding and numeric features often need a common scale; every such transform is learned from training data and then applied unchanged to new data.
- Why it holds
- Distance-based and gradient-based methods weigh features by their numeric range, and integer codes for categories invent an order the categories do not have.
- Assumptions
- The transform's statistics (means, scales, category lists) come from the training split only. The same fitted transform is applied at prediction time.
- Objective
- Build a preprocessing pipeline with scaling for numeric columns and one-hot encoding for nominal ones, and justify each choice.
- Where it fails
- Tree-based models are insensitive to monotone scaling, so scaling them changes nothing; one-hot encoding a category with thousands of values creates a huge sparse matrix.
- How to check
- Fit the pipeline inside cross-validation and confirm that a category unseen in training is handled (for example ignored) rather than crashing at prediction time.
- Going further
- Target encoding of high-cardinality categories needs out-of-fold fitting, or it leaks the label into the feature.
- Teach it back
- Explain why encoding 'red, green, blue' as 1, 2, 3 misleads a linear model but not necessarily a decision tree.
- Source
- scikit-learn.org
Overfitting5 quiz items
Bias, variance and model capacity (draft)
- Principle
- Expected squared prediction error decomposes into squared bias, variance and irreducible noise.
- Why it holds
- Too simple a model misses the true pattern (bias); too flexible a model changes a lot with the particular sample (variance).
- Assumptions
- Squared-error loss; the decomposition is exact for it and only an analogy for other losses. Error is averaged over repeated training samples.
- Objective
- Diagnose underfitting and overfitting from training and validation curves.
- Where it fails
- Adding data does not fix high bias: a linear model on a curved relationship stays wrong with more rows.
- How to check
- Plot training and validation error against model complexity or training-set size and read which gap or plateau dominates.
- Going further
- Heavily overparameterized networks can generalize well despite fitting training data exactly (double descent), so capacity alone does not predict test error.
- Teach it back
- Explain why both a straight line and a degree-15 polynomial can fit the same ten points badly, for different reasons.
- Source
- scikit-learn.org
L1 and L2 regularization (draft)
- Principle
- Adding a penalty on coefficient size to the loss trades a little bias for lower variance.
- Why it holds
- The penalty discourages large coefficients that fit noise; L2 (ridge) shrinks all of them smoothly, L1 (lasso) can set some exactly to zero.
- Assumptions
- Features are on comparable scales, since the penalty treats every coefficient alike. The penalty strength is chosen on validation data.
- Objective
- Tune the penalty strength by cross-validation and explain why lasso performs feature selection.
- Where it fails
- With unscaled features the penalty falls unevenly, shrinking features measured in small units far more than others.
- How to check
- Plot validation error and coefficient paths against penalty strength; scale features inside the pipeline before fitting.
- Going further
- Weight decay in neural networks is L2 regularization; dropout and early stopping are other ways to limit effective capacity.
- Teach it back
- Explain why making the penalty very large leads to underfitting.
- Source
- scikit-learn.org
Gradient Descent4 quiz items
Gradient descent and the learning rate (draft)
- Principle
- Gradient descent updates parameters by a step proportional to the negative gradient of the loss.
- Why it holds
- The negative gradient is the direction of steepest local decrease, so a small enough step lowers the loss.
- Assumptions
- The loss is differentiable. The learning rate is small relative to the loss surface's curvature.
- Objective
- Choose a learning rate by reading a loss curve, and explain why feature scaling speeds convergence.
- Where it fails
- A learning rate that is too large overshoots and diverges; on non-convex losses descent can stall in a poor local minimum or saddle region.
- How to check
- Plot loss against iterations for several learning rates; check that the converged coefficients match the closed-form least-squares solution on a small problem.
- Going further
- Mini-batch stochastic gradient descent with momentum or Adam trains neural networks where full-batch gradients are too costly.
- Teach it back
- Explain why unscaled features make the loss surface a narrow valley and slow gradient descent down.
- Source
- scikit-learn.org
Model Evaluation5 quiz items
Precision, recall and the decision threshold (draft)
- Principle
- Precision is TP / (TP + FP) and recall is TP / (TP + FN); moving the decision threshold trades one against the other.
- Why it holds
- Lowering the threshold labels more examples positive, which finds more true positives but also admits more false positives.
- Assumptions
- Labels are correct. The class balance in the evaluation data matches deployment.
- Objective
- Pick a metric and threshold from the cost of false positives versus false negatives, and read a confusion matrix.
- Where it fails
- Accuracy on imbalanced data rewards predicting the majority class: 99% accuracy can mean finding no fraud at all.
- How to check
- Report the confusion matrix and per-class precision and recall at the chosen threshold on held-out data.
- Going further
- Precision-recall curves and average precision summarize performance on rare-event problems where ROC curves look deceptively good.
- Teach it back
- Explain which error matters more in cancer screening and how that changes the threshold.
- Source
- scikit-learn.org
Cross-validation and data leakage (draft)
- Principle
- k-fold cross-validation estimates generalization by averaging validation scores over k disjoint folds; every preprocessing step must be fit inside each training fold.
- Why it holds
- Any statistic computed with validation rows (a scaler's mean, an imputer's fill value, selected features) lets information about them shape the model.
- Assumptions
- Folds are exchangeable; grouped or time-ordered data need group or time-series splits.
- Objective
- Build a pipeline so scaling, imputation and feature selection are refit per fold.
- Where it fails
- Selecting features on the full dataset before cross-validation can make pure noise look predictive.
- How to check
- Re-run the evaluation with all preprocessing inside a Pipeline and compare; a large drop exposes leakage. A shuffled-label run should score at chance.
- Going further
- Nested cross-validation separates hyperparameter tuning from performance estimation.
- Teach it back
- Explain why scaling the whole dataset before splitting is a form of peeking.
- Source
- scikit-learn.org
Neural Network4 quiz items
Neural networks and backpropagation (draft)
- Principle
- A feedforward network composes linear layers with nonlinear activations, and backpropagation computes the gradient of the loss for every weight by applying the chain rule from the output back to the input.
- Why it holds
- Without the nonlinearity the composition is a single linear map; with it, enough hidden units can approximate any continuous function on a bounded region.
- Assumptions
- Activations and loss are differentiable almost everywhere. Weights are initialized randomly, not all equal, so units learn different features.
- Objective
- Trace one forward and backward pass through a two-layer network and explain what the optimizer does with the gradients.
- Where it fails
- In deep stacks of saturating activations such as sigmoid, gradients shrink layer by layer and early layers barely learn (vanishing gradients).
- How to check
- Compare backpropagated gradients with finite-difference estimates on a tiny network; watch training and validation loss together.
- Going further
- Automatic differentiation in PyTorch builds the same backward pass for any architecture, from CNNs to transformers.
- Teach it back
- Explain why initializing every weight to zero stops a network from learning distinct hidden features.
- Source
- scikit-learn.org
Responsible AI4 quiz items
Group fairness metrics (draft)
- Principle
- Group fairness criteria compare a classifier's behavior across groups: demographic parity compares selection rates, equal opportunity compares true positive rates, equalized odds compares true and false positive rates.
- Why it holds
- A model can have high overall accuracy while its errors fall unevenly on one group.
- Assumptions
- Group membership is known for evaluation. Labels are not themselves biased measurements of the outcome.
- Objective
- Report per-group error rates and state which criterion the application calls for.
- Where it fails
- Dropping the protected attribute does not prevent disparity, because correlated features act as proxies.
- How to check
- Compute the confusion matrix for each group on held-out data and compare the chosen rates with their uncertainty.
- Going further
- When base rates differ between groups, calibration and equal error rates cannot all hold for an imperfect classifier, so the choice of criterion is a policy decision.
- Teach it back
- Explain why removing race from the features does not make a lending model fair.
- Source
- fairlearn.org
SEIS 764 · Artificial Intelligence11/11 quizzable · 0/11 with tutor concepts
Deep Learning4 quiz items
Neural Network4 quiz items
Gradient Descent4 quiz items
Attention4 quiz items
Transformer4 quiz items
Mixture of Experts5 quiz items
Labeled Property Graphs4 quiz items
Graph RAG5 quiz items
World Models5 quiz items
JEPA (Joint-Embedding Predictive Architecture)5 quiz items
Latent-Space Planning (MPC)5 quiz items
SEIS 765 · MLOps8/8 quizzable · 0/8 with tutor concepts
MLOps4 quiz items
Model Registry4 quiz items
Model Monitoring5 quiz items
Feature Store5 quiz items
Model Serving & Deployment4 quiz items
Serverless GPU Deployment5 quiz items
Kubernetes5 quiz items
Model Evaluation5 quiz items
SEIS 766 · Vision AI5/5 quizzable · 0/5 with tutor concepts
Computer Vision5 quiz items
Convolutional Networks4 quiz items
Deep Learning4 quiz items
Transformer4 quiz items
JEPA (Joint-Embedding Predictive Architecture)5 quiz items
SEIS 767 · Conversational AI16/16 quizzable · 0/16 with tutor concepts
Large Language Model4 quiz items
Tokenization4 quiz items
Embeddings4 quiz items
Attention4 quiz items
Prompt Engineering4 quiz items
RAG5 quiz items
Vector Database4 quiz items
Graph RAG5 quiz items
Fine-Tuning4 quiz items
AI Agents5 quiz items
Tool Calling4 quiz items
Model Context Protocol (MCP)5 quiz items
Agentic Software Architecture5 quiz items
Agent Skills (SKILL.md)5 quiz items
Agent & Capability Registries4 quiz items
Gemma (Open Models)5 quiz items
SEIS 795 · Independent Study8/8 quizzable · 0/8 with tutor concepts
Mixture of Experts5 quiz items
KV Cache Optimization5 quiz items
Speculative Decoding5 quiz items
Recursive Depth5 quiz items
Attention Sinks (Semantic Sinking)5 quiz items
GPU Kernel Optimization5 quiz items
Mechanistic Interpretability5 quiz items
World Models5 quiz items