AutomaticTimeSeriesLoadModelAndScore
- class hana_ai.tools.hana_ml_tools.automatic_timeseries_tools.AutomaticTimeSeriesLoadModelAndScore(connection_context: ConnectionContext, return_direct: bool = False)
This tool load model from model storage and do the scoring.
- Parameters:
- connection_contextConnectionContext
Connection context to the HANA database.
- Returns:
- str
The JSON string of the scored results table and the statistics.
Note
args_schema is used to define the schema of the inputs as follows:
Field
Description
score_table
The table to score. If not provided, ask the user. Do not guess.
name
The name of the model. If not provided, ask the user. Do not guess.
version
The version of the model, it is optional
key
The key of the dataset. If not provided, ask the user. Do not guess.
endog
The endog of the dataset. If not provided, ask the user. Do not guess.
exog
The exog of the dataset, it is optional
- name: str
Name of the tool.
- description: str
Description of the tool.
- connection_context: ConnectionContext
Connection context to the HANA database.