← Back to all experiments
ClassificationIntermediateDecision Tree
EXP8: Decision Tree Classification
Builds a decision tree to classify breast cancer samples.
Key highlights
- Trains/test split with accuracy
- Exports human-readable tree rules
- Predicts a new sample
Metrics
AccuracyTree rules
Outputs
Rules snapshot for classification
Full Python Code
The complete Python script directly from the repository.
Python
Next steps
Want to explore further? Try the full gallery or open the raw script to tweak parameters.