Skip to main content
ML Quest
Python Idle

A botanical research station has collected measurements from 150 iris flowers across three species. The field biologists can tell them apart by sight, but they need an automated system for their remote sensors. Your job: build a decision tree classifier that predicts species from petal and sepal measurements, then evaluate how well it performs using precision, recall, and accuracy. Understanding these metrics is critical — in the real world, not all mistakes cost the same.

~20 minscenario150 rows
Loading Python runtime...
Goals: 3 tests
should create a DecisionTreeClassifier model
should achieve accuracy greater than 0.9
precision and recall should be floats
Python loading...