TrendTest
- class hana_ai.tools.hana_ml_tools.ts_check_tools.TrendTest(connection_context: ConnectionContext, return_direct: bool = False)
This tool calls trend test for the given time series data.
- Parameters:
- connection_contextConnectionContext
Connection context to the HANA database.
- Returns:
- str
The trend statistics of the time series data.
Note
args_schema is used to define the schema of the inputs as follows:
Field
Description
table_name
the name of the table. If not provided, ask the user. Do not guess.
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
schema_name
the schema_name of the table, it is optional
method
the method of the trend test chosen from {'mk', 'difference-sign'}, it is optional
alpha
the significance level for the trend test, it is optional
- name: str
Name of the tool.
- description: str
Description of the tool.
- connection_context: ConnectionContext
Connection context to the HANA database.