Add tests for labeling schemes and fix duplicate function
- Added `pytest` to dependencies in `pyproject.toml` - Removed duplicate `create_labels_double_barrier` function definition from `features/labeling_schemes.py` - Added comprehensive unit tests in `tests/test_labeling_schemes.py` covering: - `calculate_future_returns` - `create_labels_multi_bar` - `create_labels_double_barrier` - `create_labels_regime_detection` - `create_labels_volatility` Co-authored-by: maghdam <63883156+maghdam@users.noreply.github.com>
This commit is contained in:
@@ -18,6 +18,7 @@ dependencies = [
|
||||
"pandas>=2.3.3",
|
||||
"plotly>=5.24.1",
|
||||
"psutil>=7.1.0",
|
||||
"pytest>=9.0.2",
|
||||
"scikit-learn>=1.7.1",
|
||||
"scipy>=1.15.3",
|
||||
"seaborn>=0.13.2",
|
||||
|
||||
Reference in New Issue
Block a user