Tutorials¶
Step-by-step guides to master trend_classifier.
Learning Path¶
These tutorials build on each other. We recommend following them in order:
| # | Tutorial | Duration | What You'll Learn |
|---|---|---|---|
| 1 | Quick Start | 5 min | Basic usage, first segmentation |
| 2 | Segment Analysis | 10 min | Segment properties, DataFrame export |
| 3 | Visualization | 10 min | All plotting methods |
| 4 | Configuration | 15 min | Parameters, presets, tuning |
| 5 | Classification | 10 min | Categorize trends |
| 6 | Optimization | 20 min | Optuna hyperparameter tuning |
| 7 | Detector Comparison | 15 min | Compare algorithms |
Prerequisites¶
Before starting, ensure you have:
Interactive Notebooks¶
All tutorials are Jupyter notebooks. You can:
- Read online - View rendered versions in this documentation
- Run locally - Clone the repo and run in Jupyter
- Open in Colab - Click the Colab badge in each notebook
git clone https://github.com/izikeros/trend_classifier.git
cd trend_classifier
jupyter lab notebooks/
Quick Reference¶
Common Patterns¶
Basic segmentation:
Export results:
Use different detector:
Key Classes¶
Segmenter- Main entry pointSegment- Single trend segmentSegmentList- Collection with DataFrame exportConfig- Configuration presets