Read a Python traceback and repair the failing assumption
Trace a KeyError through three function calls, identify the broken input contract and verify a repair without swallowing unrelated exceptions.
troubleshooting4 min read
Practical guides to learning AI and machine learning, written by Gaurav Jain. Worked examples, projects with complete code and learning plans you can follow.
Trace a KeyError through three function calls, identify the broken input contract and verify a repair without swallowing unrelated exceptions.
troubleshooting4 min read
Inspect recurrent output shapes, hidden and cell states, parameter counts and order sensitivity using controlled PyTorch modules.
comparison4 min read
Compare ROC AUC, average precision and trapezoidal PR area on an explicit ranking, then change prevalence while preserving class-conditional scores.
comparison4 min read
Compare StandardScaler, MinMaxScaler and Normalizer inside a fixed training split, and show why the word normalization needs a precise definition.
comparison4 min read
fit learns from training data, transform applies that learning, predict outputs answers. See a table, runnable code and why test data gets transform only.
tutorial8 min read
Compare fixed-origin persistence and weekly seasonal-naive forecasts on chronological development and test windows, with explicit dates and errors.
tutorial4 min read
Count tokens with a pinned open-model tokenizer, inspect chat-template overhead and reserve room for generated output.
tutorial4 min read
Test an extraction boundary with malformed JSON, wrong types and schema-valid mistakes, using an offline validator and explicit source facts.
tutorial4 min read
Plan a useful machine learning project for business analytics: define a decision, compare a rule, choose data and evaluate errors with a worked example.
explanation6 min read
The courses take each idea from the intuition and the maths to code you write yourself, from your first line of Python to machine learning.