Auto Ensemble using Prophet and NeurlaProphet
Project description
Dependencies
Make sure you have install the fbprophet and NeuralProphet
fbprophet version == 0.7.1
Steps to install fbprophet
conda env -n test_env python==3.8.5
conda install -c anaconda ephem
conda install -c conda-forge pystan
conda install -c conda-forge fbprophet
if error degrade to pystan==2.19.1.1
###Steps to install NeuralProphet
pip install neuralprophet ==0.3.0
#import
from auto_ts_ensemble_rupakbob import auto_ts_ensemble
#call the package function 1
results = auto_ts_ensemble.neural_analysis(data,freq="H")
###access the model
neural_prophet = results[0]
###access the metrics
metrics = results[1]
###access the predictions
predictions = results[2]
####plot the components
neural_prophet.plot_components(predictions)
#call the package function 2
results2 = auto_ts_ensemble.ts_analysis(data,n_future=7)
#access the model
ts_model = results2[0]
#access the predictions
predictions2 = results2[1]
#plot the components
ts_model.plot_components(predictions2)
#call the package function 3 ensemble
ensemble_predictions = auto_ts_ensemble.ensemble_analysis(predictions,predictions2)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
auto_ts_ensemble-0.0.6.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for auto_ts_ensemble-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 743783f31c8d97e11db0d5a6c12687e505cce04d4f6fdfddcd0c6ca6c9ba3ec4 |
|
MD5 | 5bb09539aed5364d68e7de2b54183dbe |
|
BLAKE2b-256 | 7ff87abd6f5215a286373fdb7e277a711bfc3e399e6e0461e6758476070de296 |