How fortune678/allison-cicchetti-sleep-model- works
This is a single-script mammal sleep analysis and prediction project. Its workflow loads a referenced CSV, cleans and transforms the data, compares linear regression with decision-tree validation, then fits a final tree and reports feature importance. The README also describes dataset provenance and model interpretation; the available script is the only indexed source, so the graph reflects its implemented workflow and does not imply a deployed prediction service.
Main entry points: mammal_sleep.py Engineer features
Components 9
Other components
- Analyst
- Sleep dataset
- Load data
mammal_sleep.py - Clean records
mammal_sleep.py - Engineer features
mammal_sleep.py - Linear baseline
mammal_sleep.py - Tune decision tree
mammal_sleep.py - Fit final tree
mammal_sleep.py - Report importance
mammal_sleep.py
Connections 11
- Analyst → Load data: runs script
mammal_sleep.py - Sleep dataset → Load data: provides rows
mammal_sleep.py - Load data → Clean records: passes data
mammal_sleep.py - Clean records → Engineer features: passes records
mammal_sleep.py - Engineer features → Linear baseline: supplies features
mammal_sleep.py - Engineer features → Tune decision tree: supplies features
mammal_sleep.py - Engineer features → Fit final tree: supplies features
mammal_sleep.py - Linear baseline → Analyst: prints MAE
mammal_sleep.py - Tune decision tree → Analyst: prints MAE
mammal_sleep.py - Fit final tree → Report importance: provides importances
mammal_sleep.py - Report importance → Analyst: prints rankings
mammal_sleep.py