Skip to content
Book a Call → mycocoon.life
⚖️Level 10 · Butterfly

Fair Machine

Train a machine to pick a cricket team, catch it being unfair, and fix it. Everything runs in your browser, zero coins.

⭐ Level 10 of 12🏅 Fairness Fixer🧠 Fairness in AI
⭐ Level 10
🎯
You'll learn: a machine copies whoever taught it. If the teacher was unfair, the machine is unfair too, and you can fix it.
1 Train it 2 Let it pick 3 Fix it

A school wants a machine to pick the cricket team

The coaches are busy. They say: "Machine, look at last year's list. Learn who we picked. Then pick this year's team the same way."

Here is last year's list. Notice anything?

📋 See all 40 players from last year

🪙 0 coins. The machine lives inside your browser.

Now let it pick this year's team

12 new players tried out. The machine must pick 6. Tap the button and watch.

Fix it

Try one fix, or both. Then retrain and see who gets picked.

Adds 10 strong Galle and Jaffna players who WERE picked, so the machine sees them too.

The machine is a tiny "logistic regression". It has one number (a weight) for each thing it can see. Big positive weight = "this helps you get picked". Big negative = "this gets you rejected".

Train the machine to see its weights.

How it decides: score = batting × w1 + bowling × w2 + town weight + a starting number. Then it turns the score into a "chance of being picked" between 0% and 100%. The 6 highest chances make the team.

⭐ You will discover…

💡A machine learns our unfairness too.
🏅The Fairness Fixer badge
🧠Fairness in AI
Ready for the next challenge?House Rules →
Copied ✓