AI / ML Engineer · Focus area 3: Pick a domain
ML7: Responsible AI: fairness, explanations, privacy and security
Goal: check how a model treats different groups, explain what drives its predictions, keep personal data out of places it doesn't belong, defend AI systems against attacks such as prompt injection, and document who checks what.
You'll need: ML1 to ML6, Module 79 (Privacy and Data Protection), Module 89 (Evaluation and Safety), Python 3.11 or newer, and the DakDost practice kit.
Where this is used: every model that affects people: who gets a call, a loan, a job interview or extra checks at an airport. Users, regulators and journalists ask the same questions: is it fair, why did it decide that, what happens to my data, and can it be tricked?
How it differs: ML4 measured how good a model is on average. This module asks who it is good for, who it fails, and what else can go wrong around it: leaks of personal data, planted instructions, and decisions nobody can question.
Time: reading about 2½ hours · practice (the Try it tasks) about 3 hours · assignment about 3 hours.
Lessons
- 1Fairness: measuring results by groupReading 15–25 minutes, plus practice✓
- 2Explaining modelsReading 15–25 minutes, plus practice✓
- 3Privacy in machine learningReading 15–25 minutes, plus practice✓
- 4Security for AI systemsReading 15–25 minutes, plus practice✓
- 5Oversight, documentation and accountabilityReading 15–25 minutes, plus practice✓
🛠️Assignment: A responsibility review of DakDost's model and assistant
This assignment feeds Project 1's model card and Project 3's case study.
- Produce a table of June results by zone and by payment type, and write which gap you'd discuss first, and why.
- Run permutation importance on May and write a plain-language explanation for the hub team.
- List every place personal data could appear in the kit, and how each is handled in your solution.
- Write five attack questions for the assistant and record the results before and after your changes.
- Complete the model card's intended use, not-intended-for, limitations and ethical considerations, and add an owner and review date.
Self-check before you finish:
- [ ] Your group table uses June and includes counts.
- [ ] Your explanation says "the model relies on", not "causes".
- [ ] No phone number appears in any log or answer.
- [ ] Your attack questions are in your evaluation set.
- [ ]
pytest tests/test_model.pytest 10 andpytest tests/test_rag.pytests 6 and 7 pass.
✅Module check
Explain in a few sentences, in your own words:
What does it take to use a model responsibly?
Show a good answer
A good answer mentions: results by group, with the fairness measure chosen from what the decision does and with ranges for small groups; global and local explanations described as what the model relies on, not causes; data minimisation for features, logs and indexed documents, and India's DPDP duties as a summary to check; prompt injection, leaks through retrieval and poisoning, with layered defences (chosen sources, filters, least-power tools, output checks, tests); a model card generated from the real metrics; human oversight for serious decisions, a way to question them, and a named owner with a review date.
📚Official references
Official documentation and guidance for this module's topics, chosen on 2 November 2026. Tools, laws and standards change, so check the current version before you rely on a detail. If a link has moved, search the same site.
📝Module quiz
10 questions · 10 marks each · 100 marks in all · pass mark 70% · retry as often as you like ·
