remodels
ReModels is a Python package for probabilistic energy price forecasting using Quantile Regression Averaging (QRA) methods.
Installation
You can install remodels via pip from PyPI:
$ pip install remodels
Alternatively, you can install from source:
$ git clone https://github.com/zakrzewow/remodels.git
$ cd remodels
$ pip install .
Features
- Dataset Download: access commonly used public datasets for transparent data acquisition.
- Data Preprocessing: apply variance stabilizing transformation for improved data quality.
- Forecast Generation: produce point and probabilistic forecasts with reference implementations of QRA variants.
- Result Evaluation: compare predictions using dedicated metrics for fair and consistent evaluation.
ReModels provides a robust framework for researchers to compare different QRA methods and other forecasting techniques. It supports the development of new forecasting methods, extending beyond energy price forecasting.
ReModels simplifies and enhances energy price forecasting research with comprehensive tools and transparent methodologies.
The main functionality of the ReModels package are Variance Stabilizing Transformations and Quantile Regression Averaging variants.
Implemented VSTs:
- clipping,
- clipping with the logarithm function
- logistic transform
- inverse hyperbolic sine transform
- BoxCox transform
- polynomial transform
- mirror-log transformation
- probability integral transform
Implemented QRA variants:
- QRA
- QRM
- FQRA
- FQRM
- sFQRA
- sFQRM
- LQRA
- SQRA
- SQRM
Usage
VST basic usage example:
import numpy as np
from remodels.transformers.VSTransformers import ArcsinhScaler, BoxCoxScaler, ClippingScaler, LogClippingScaler, LogisticScaler, MLogScaler, PITScaler, PolyScaler
X = np.random.normal(0, 1, size=(100, 10))
ArcsinhScaler().fit_transform(X)
QRA basic usage example:
import numpy as np
from remodels.qra import QRA, QRM, FQRA, FQRM, sFQRA, sFQRM, LQRA, SQRA, SQRM
X = np.random.normal(0, 1, size=(100, 10))
y = X.sum(axis=1)
qra = QRA(quantile=0.5, fit_intercept=True)
qra.fit(X, y).predict(X)
For more advanced examples of high-level functionalities, please see the Usage or Reference.
License
Distributed under the terms of the MIT license, remodels is free and open source software.
Credits
This project was generated from @cjolowicz's Hypermodern Python Cookiecutter template.
Metadata
Release files for remodels 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| remodels-1.0.1.tar.gz | 27.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| remodels-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 68.4 kB
Release files / remodels-1.0.1.tar.gz
| Download URL | remodels-1.0.1.tar.gz |
|---|---|
| Size | 27.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
03f2f58fd560457f779dc2f7863d4762178462decc17b96e26a13256647b3843
|
|
BLAKE2b-256 checksum How to use checksums |
d0542734148cb56b7119b61184d72d50f6f9756beed136df325bfc8d43b2f49f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Release files / remodels-1.0.1-py3-none-any.whl
| Download URL | remodels-1.0.1-py3-none-any.whl |
|---|---|
| Size | 41.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
abdef144b3ef7008600bbdbe46e4409ca3875b51897533128b7c09491a84ccc2
|
|
BLAKE2b-256 checksum How to use checksums |
c6f05297e1dc1a968e1ea20a76d1cf5fba22df2f1369b81c645f6267544b0814
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|