kumoai.utils.ForecastVisualizer#

class kumoai.utils.ForecastVisualizer[source]#

Bases: object

A tool for quickly visualizing forecast results from the holdout dataframe of a forecasting job.

import kumoai

# Retrieve job results from a training training job. Note
# that the job ID passed here must be in a completed state:
job_result = kumoai.TrainingJob("trainingjob-...").result()

# Read the holdout table as a Pandas DataFrame:
holdout_df = job_result.holdout_df()

# Pass holdout table to ForecastVisualizer and visualize results
holdout_forecast = kumoai.utils.ForecastVisualizer(holdout_df)
holdout_forecast.visualize()
__init__(holdout_df)[source]#
visualize()[source]#

Generate and display the complete visualization.

Return type:

None