Torch Log Service
Function | Description |
Function | Description |
Quickly identifies anomaly curves by filtering anomaly detection results with custom exception patterns. | |
Completes model data and performs forecasting and anomaly detection using default parameters. | |
Completes model data and conducts predictions and anomaly detection with autoregressive models. | |
Conducts accurate prediction on time series data with periodic characteristics. | |
Filters anomaly detection results based on defined anomaly patterns to quickly identify exception curves. |
Parameters | Data type | Description |
Parameters | Data type | Description |
lineName | varchar | Name of the curve. |
ts | array (double) | Time series: the time information for the current curve, arranged in ascending order. |
ds | array (double) | Actual value series: the numerical information for the current curve. The length must match the ts parameter. |
preds | array (double) | Predicted value sequence, i.e., the predicted values of the current curve. The length must match the ts parameter. |
probs | array (double) | Anomaly detection sequence, i.e., the anomaly detection results for the current curve. The length must match the ts parameter. |
nWatch | long | The number of actual values that are observed most recently in the current curve. The length must be less than the actual length of the curve, that is, less than the length of the ts parameter. |
anomalyType | long | Exception types that need to be filtered.
|
Parameters | Data type | Description |
Parameters | Data type | Description |
x | String | Column name of the time column. The format is a Unixtime timestamp; measured in seconds. |
y | String | Column name of the value column. Each value represents the corresponding data at a specific time. |
nPred | Long | Number of future data points. Value must be greater than or equal to 1. |
isSmooth | Boolean | Determines whether the original data needs to be smoothed. The value is true by default, meaning the original data will be smoothed. |
Result column | Description |
Result column | Description |
unixtime | Time column, measured in seconds. |
src | Original data. |
predict | The data that is obtained from prediction. |
upper | Upper bound of predicted data. The current confidence level is fixed at 0.85. |
lower | Lower bound of predicted data. The current confidence level is fixed at 0.85. |
anomaly_prob | The probability that this data point is an anomaly point. |
Parameters | Data type | Description |
Parameters | Data type | Description |
x | String | Column name of the time column. The format is a Unixtime timestamp; measured in seconds. |
y | String | Column name of the value column. Each value represents the corresponding data at a specific time. |
p | Long | The order of the autoregressive model. The value range is 2 to 8. |
nPred | Long | Number of future data points. The value range is 1 to 5*p. |
isSmooth | Boolean | Determines whether the original data needs to be smoothed. The value is true by default, meaning the original data will be smoothed. |
Result column | Description |
Result column | Description |
unixtime | Time column, measured in seconds. |
src | Original data. |
predict | The data that is obtained from prediction. |
upper | Upper bound of predicted data. The current confidence level is fixed at 0.85. |
lower | Lower bound of predicted data. The current confidence level is fixed at 0.85. |
anomaly_prob | The probability that this data point is an anomaly point. |
Parameters | Data type | Description |
Parameters | Data type | Description |
x | String | Column name of the time column. The format is a Unixtime timestamp; measured in seconds. |
y | String | Column name of the value column. Each value represents the corresponding data at a specific time. |
p | Long | The order of the autoregressive model. The value range is 2 to 8. |
d | Long | The order of the differenced model. The value range is 1 to 3. |
q | Long | The order of the moving average model. The value range is 2 to 8. |
nPred | Long | Number of future data points. The value range is 1 to 5*p. |
isSmooth | Boolean | Determines whether the original data needs to be smoothed. The value is true by default, meaning the original data will be smoothed. |
Result column | Description |
Result column | Description |
unixtime | Time column, measured in seconds. |
src | Original data. |
predict | The data that is obtained from prediction. |
upper | Upper bound of predicted data. The current confidence level is fixed at 0.85. |
lower | Lower bound of predicted data. The current confidence level is fixed at 0.85. |
anomaly_prob | The probability that this data point is an anomaly point. |
Parameters | Data type | Description |
Parameters | Data type | Description |
x | String | Column name of the time column. The format is a Unixtime timestamp; measured in seconds. |
y | String | Column name of the value column. Each value represents the corresponding data at a specific time. |
nPred | Long | Number of future data points. The value range is 1–500. |
algotype | String | Prediction algorithm types; options include:
|
processType | String | Data preprocessing types. Optional values include:
|
Result field | Description |
Result field | Description |
unixtime | Time column, measured in seconds. |
src | Original data. |
predict | The data that is obtained from prediction. |