Skip to main content

A package to make forecast visualisation easier

Objective: To make forecast visualisation easier and more expressive.

To install the package

pip install forecast-tool

Let me show you how the package works

(1) Make a simple forecast using ARIMA model

Input [1]:

from forecast_tool import forecast_plot as fp
df = fp.get_data()

period = 'y' #[y, m, d] 
date='Date'
newtarget='Volume'

fp.overall_vis(df, date, newtarget, period)

Output [1]:

alt text

(1) You can also customise it to create your own plot

Input [2]:

show_model_name=True
suggested_n_forcast=True
my_title = True
y_label_name = True
x_label_name = True
color_past='dodgerblue'
color_forecast='crimson'
linestyle_past = 'solid'
linestyle_forecast='--'
show_confidence=True
numElems=10
matplotlib_style = 'seaborn'
legend_position=2
fig_length=13.5
fig_height=6.5
legend_font_size=14
scientific_annotation=True
zoom_last_n = 3  # to zoom last n values in a plot

fp.overall_vis(df, date, newtarget, period, \
               zoom_last_n=zoom_last_n, matplotlib_style=matplotlib_style, scientific_annotation=False)

Output [2]:

alt text

This is contributed by Morris Lee.

Release files for forecast-tool 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for forecast-tool 0.0.3
File Size Uploaded
forecast_tool-0.0.3.tar.gz 17.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for forecast-tool 0.0.3
File Interpreter ABI Platform
forecast_tool-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 34.5 kB

Release files / forecast_tool-0.0.3.tar.gz

Download URL forecast_tool-0.0.3.tar.gz
Size 17.7 kB
Tags Source
SHA-256 checksum
How to use checksums
47ec00ae740790adde5d9947ea496c14c2a14f05edf0b288f92cb0bf59c77f65
BLAKE2b-256 checksum
How to use checksums
25b2be80e6bc4015bfa3646241fbfa68aee9cdcad58ea862505f82223d36dae1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.5

Release files / forecast_tool-0.0.3-py3-none-any.whl

Download URL forecast_tool-0.0.3-py3-none-any.whl
Size 16.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
899acae0f5f24a49b5dde3c8489ad1e38c54b54f3c254b302183f3d1fd017b4c
BLAKE2b-256 checksum
How to use checksums
3f20542572680b5ddd5608715ae030074b5fdce6005a688c7e13c4a41e0bb1f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.5

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page