Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 1.4 KB

grouped_prophet_script_link.rst

File metadata and controls

40 lines (29 loc) · 1.4 KB

GroupedProphet Example Scripts

The scripts included below show the various options available for utilizing the GroupedProphet API. For an alternative view of these examples with data visualizations, see the notebooks here <tutorials-and-examples>

Scripts

GroupedProphet Example

This script shows a simple example of training a series of Prophet models, saving a GroupedProphet instance, loading that instance, cross validating through backtesting, and generating a forecast for each group.

/../examples/grouped_prophet/grouped_prophet_example.py

GroupedProphet Subset Group Prediction Example

This script shows a simple example of training a series of Prophet models and generating a group subset prediction.

/../examples/grouped_prophet/grouped_prophet_subset_prediction_example.py

Supplementary

Note

To run these examples for yourself with the data generator example, utilize the following code:

/../diviner/utils/example_utils/example_data_generator.py