Metadata-Version: 2.1
Name: views_stepshifter
Version: 0.2.0
Summary: 
Author: Xiaolong Sun
Author-email: xiaolong.sun@pcr.uu.se
Requires-Python: >=3.11,<3.15
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: darts (>=0.30.0,<0.31.0)
Requires-Dist: lightgbm (==4.4.0)
Requires-Dist: numpy (>=1.25.2,<2.0.0)
Requires-Dist: pandas (>=1.5.3,<2.0.0)
Requires-Dist: scikit-learn (>=1.2.2,<2.0.0)
Requires-Dist: views_forecasts (>=0.5.5,<0.6.0)
Requires-Dist: views_pipeline_core (>=0.1.0,<0.2.0)
Description-Content-Type: text/markdown

# views-stepshifter

A views stepshifter model is trained on views data that is shifted relative to the dependent variable. 

## Installation

1. **Intall** ```libomp``` for Mac user because some packages (e.g. lightgbm) requires extra library. 
```
brew install libomp
```

The following setup is often required when working with C/C++ libraries or Python packages when working with ```libomp```.
````
echo 'export LDFLAGS="-L/opt/homebrew/opt/libomp/lib"' >> ~/.zshrc                           
echo 'export CPPFLAGS="-I/opt/homebrew/opt/libomp/include"' >> ~/.zshrc
source ~/.zshrc
````

````
echo 'export DYLD_LIBRARY_PATH="/opt/homebrew/opt/libomp/lib:$DYLD_LIBRARY_PATH"' >> ~/.zshrc
source ~/.zshrc
````

2. **Install** ```views_stepshifter```
```
pip install views_stepshifter
```

<!-- ## Example
Please refer to [tutorial.py](https://github.com/views-platform/views-stepshifter/blob/main/tutorial.ipynb) for more details. -->
