AiTeky Original Interactive Learning & Practice Intermediate
Explaining models and handling imbalanced data
Find out which columns a model really uses, see how each one changes the answer, explain a single decision, and catch rare cases like insurance fraud without fooling yourself, on loan applications and vehicle insurance claims.
A model that is right 90% of the time is not enough when a bank has to tell an applicant why the loan was refused, or when an insurer can only investigate 50 claims a day. This course covers the two skills that turn a model into something people can use: explaining what it does, and handling rare events such as fraud and default.
You will measure what a model really relies on with permutation importance, draw how one column moves the prediction, split one decision into reasons that add up (the idea behind Shapley values, built by hand so you see every step), and then learn why accuracy lies on rare events, what class weights and resampling really change, and how to choose a cut-off from costs. You need the machine learning course first (train and test sets, precision and recall).
- Learn lessons explain one idea at a time, with code you can run and exercises you can repeat.
- Industry ready lessons write the reason codes for refused loans, and set up a claims-fraud triage that a small investigation team can use. Each ends with the interview questions that go with it.
- βΆ Run code in your browser. Nothing to install
- β Exercises that check themselves
- π Tap a word to see what it means
Locked. Sign up free
Learn
Understand each idea with everyday examples. No coding background needed.
- 01 25 min Free sample π AiTeky Pass Which columns does the model really use? Train a loan-default model, see why the built-in importance scores can mislead, measure what each column is really worth by shuffling it on test data, and learn what correlated columns do to the answer.
- 02 25 min π AiTeky Pass How one column moves the answer Draw how the predicted default risk changes as one column changes, first as an average over applicants and then applicant by applicant, and learn what these curves can and cannot tell you.
- 03 30 min π AiTeky Pass Explaining one decision Split one applicant's predicted risk into a contribution from each column that adds up exactly, build the Shapley method by hand, and use what-if questions to say what would change the answer.
- 04 30 min π AiTeky Pass Rare events and imbalanced data See why 97% accuracy can be worthless, judge a rare-event model with precision, recall and average precision, learn what class weights and resampling really change, and avoid the oversampling mistake that fakes a perfect score.
Industry ready
Real problems from real jobs, and the questions interviewers ask about them.
- 05 40 min π AiTeky Pass On the job: reasons for refused loans Turn a default model into a refusal rule with a stated cut-off, give each refused applicant the main reasons in plain words and what would change the result, and check the explanations for problems before anyone sees them.
- 06 40 min π AiTeky Pass On the job: fraud triage for a small team Check that a fraud model's probabilities can be trusted, choose a cut-off from what a check and a missed fraud cost, compare it with simpler policies, put an honest range on the result, and say what flagged claims look like.

