ForecastLinePlot

class hana_ai.tools.hana_ml_tools.ts_visualizer_tools.ForecastLinePlot(connection_context: ConnectionContext, return_direct: bool = False)

This tool generates a line plot for the forecasted result.

Parameters:
connection_contextConnectionContext

Connection context to the HANA database.

Returns:
str

The path of the generated line plot.

Note

args_schema is used to define the schema of the inputs as follows:

Field

Description

predict_result

the name of the predicted result table. If not provided, ask the user. Do not guess.

actual_table

the name of the actual data table, it is optional

confidence

the column names of confidence bounds, it is optional

name: str

Name of the tool.

description: str

Description of the tool.

connection_context: ConnectionContext

Connection context to the HANA database.

set_bas(bas: bool) None

Set the bas flag to True or False.