Explaining Model Predictions by Hand: Contributions, Shapley Values, Permutation Importance, Partial Dependence & Counterfactuals
Open up a model's predictions with nothing but a spreadsheet. You will break a linear score into feature contributions, compute exact Shapley values for a three-feature model from all eight coalitions, measure permutation importance, draw partial-dependence and individual curves, and find the smallest change that flips a decision, with every cell checked as you go.
- One-time payment
- 14-day money-back guarantee
- Secure checkout with Stripe
What you'll build
What you will be able to do
Each lab ends with a concrete result that you build yourself and the checker confirms, cell by cell.
- Predict the rent of eight flats with a toy linear model, compute the baseline (the average prediction), split every prediction into one contribution per feature and check that baseline plus contributions rebuilds the prediction.
- Build all eight coalitions of three features for one machine, let absent features fall back to the fleet baseline, score every mix with a toy model that has an interaction term and measure the total effect that the explanation has to share out.
- Let three features join in all six possible orders, record each feature's marginal contribution, average them into exact Shapley values, recompute one with the coalition-size weights and confirm that the three values add up to the total to explain.
- Score the four coalitions of a two-feature sales model with an interaction term, compute both Shapley values, isolate the interaction effect and find out how much of it each feature receives.
- Measure the toy rent model's error on ten test flats, replace one feature at a time with a shuffled copy, measure the error again and rank the features by how much the model relies on them.
- Set vibration to a grid of values for four machines, draw one individual (ICE) curve per machine, average them into the partial-dependence curve, measure its slope and chart both to see where the average hides an interaction.
- Score M-17 on a grid of smaller vibration values and a grid of fewer hours since service, find the smallest change in each feature that brings the toy score below the service threshold with MINIFS, and compare the two counterfactuals.
- Turn local contributions into a global importance ranking, check how stable permutation importance is across three shuffles, chart the ranking and write down what the explanation can and cannot say.
About this course
Here you compute model explanations yourself, cell by cell, on a small fictional model. You break a linear score into a baseline plus one contribution per feature, then list all eight coalitions of a three-feature model with the output for each. From those you derive exact Shapley values, both by averaging marginal contributions over every order and with the weighted formula, and see how an interaction effect is shared between two features. Permutation importance measures how much worse the model gets when a column is shuffled, while partial-dependence and ICE curves show one feature's effect across all cases. You then find the smallest change that flips a decision and write an explanation report on stability and limits. For data scientists, analysts and students.
Curriculum
Course content
8 lessons · 8 labs · 2.2 h · final exam
- Unlocked when you buy the course
- Unlocked when you buy the course
- Unlocked when you buy the course
- Unlocked when you buy the course
- Unlocked when you buy the course
- Unlocked when you buy the course
- Unlocked when you buy the course
- Unlocked when you buy the course
- Final exam
Certificate
Finish with a certificate you can verify
Complete every lesson and pass the final exam to receive a certificate of completion for this course, with a unique credential ID and a public verification page.
- Names the course, your score and the date of issue
- A verification link for your CV or LinkedIn profile
- 12 questions, 75% to pass, unlimited retries.
A Tutorvo certificate confirms that you completed a course. It is not an official or professional qualification.
Before you buy
Questions about this course
Is this a subscription?
No. You pay $9.99 once for this course. There is no subscription and nothing renews automatically. Prices are in US dollars; taxes may be added where required.
What exactly do I get?
All lessons and labs of this course, the final exam and the certificate, including later updates to the course, for as long as Tutorvo offers it. Access is personal and tied to your account.
Can I get a refund?
Yes. If you are not satisfied, email hello@tutorvo.com within 14 days of buying and we refund the course in full via Stripe. The guarantee does not apply once a certificate for the course has been issued to you, or where there are signs of abuse.
When can I start?
Right after payment. Access starts immediately at your request; for consumers in the EU/EEA the statutory right of withdrawal therefore ends once access has begun, while our 14-day money-back guarantee applies regardless.
Do I need Excel or other software?
No. The labs run in a spreadsheet inside your browser on a laptop, tablet or phone. Function names and syntax follow Excel.
Is the certificate an official qualification?
No. It confirms that you completed all lessons of the course and passed its final exam. It is not an official, state-recognised or professional qualification. The name is taken from your profile when the certificate is issued.
Full details are in our Terms · hello@tutorvo.com
