🎯 CN2 Algorithm Master

Learn rule-based machine learning by playing as the CN2 algorithm!

Level 1: Tennis Playing Decision

Help decide when to play tennis based on weather conditions. Use the CN2 beam search to find the best rules!

📊 Training Dataset

Candidate Rules (Beam Search)

✅ Selected Rules

No rules selected yet

Score: 0 | Rules: 0 | Accuracy: 0%

🧠 How CN2 Works:

CN2 uses beam search to maintain multiple candidate rules simultaneously. Pick rules that cover many examples with high accuracy. Good rules balance coverage (how many examples) with precision (how accurate).