Skip to main content

To easy plot forecasting through ARIMA model

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

forecast_tool-0.0.3.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

forecast_tool-0.0.3-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file forecast_tool-0.0.3.tar.gz.

File metadata

  • Download URL: forecast_tool-0.0.3.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.5

File hashes

Hashes for forecast_tool-0.0.3.tar.gz
Algorithm Hash digest
SHA256 47ec00ae740790adde5d9947ea496c14c2a14f05edf0b288f92cb0bf59c77f65
MD5 242e7547099a50db290b31e94f3094b1
BLAKE2b-256 25b2be80e6bc4015bfa3646241fbfa68aee9cdcad58ea862505f82223d36dae1

See more details on using hashes here.

File details

Details for the file forecast_tool-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: forecast_tool-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 16.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.5

File hashes

Hashes for forecast_tool-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 899acae0f5f24a49b5dde3c8489ad1e38c54b54f3c254b302183f3d1fd017b4c
MD5 981d55d35195f7019bf50156dd44413a
BLAKE2b-256 3f20542572680b5ddd5608715ae030074b5fdce6005a688c7e13c4a41e0bb1f4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page