Execute
- opensearch_py_ml.ml_commons.MLCommonClient.execute(self, algorithm_name: str, input_json: dict) dict
This method executes ML algorithms that can be only executed directly (i.e. do not support train and predict APIs), like anomaly localization and metrics correlation. The algorithm has to be supported by ML Commons. Refer to https://opensearch.org/docs/2.7/ml-commons-plugin/api/#execute
- Parameters:
algorithm_name (string) – Name of the algorithm
input_json (dict) – Dictionary of parameters
- Returns:
returns the API response
- Return type:
dict