Forecast result for a given slice.
| JSON representation | 
|---|
{ "label": enum (  | 
            
| Fields | |
|---|---|
label | 
              
                 
 The anomaly detection label assigned to this slice.  | 
            
holdoutErrors | 
              
                 
 Forecast errors over the holdout interval of the time series.  | 
            
trainingErrors | 
              
                 
 Forecast errors over the training interval of the time series.  | 
            
forecastStats | 
              
                 
 Forecast analysis stats.  | 
            
history | 
              
                 
 The actual values in the  NOTE: This field is only populated if this slice is classified as an anomaly and only if   | 
            
forecast | 
              
                 
 The forecasted values in the  NOTE: This field is only populated if this slice is classified as an anomaly and only if   | 
            
detectionPointActual | 
              
                 
 The actual value at the detection time (see  NOTE: This value can be an estimate, so it should not be used as a source of truth.  | 
            
detectionPointForecast | 
              
                 
 The expected value at the detection time, which is obtained by forecasting on the historical time series.  | 
            
detectionPointForecastLowerBound | 
              
                 
 The lower bound of the expected value of the detection point based on   | 
            
detectionPointForecastUpperBound | 
              
                 
 The upper bound of the expected value of the detection point based on   | 
            
ForecastResultLabel
The output state of the slice.
| Enums | |
|---|---|
FORECAST_RESULT_LABEL_UNSPECIFIED | 
                Unknown label. | 
ANOMALY | 
                The slice was marked as an anomaly. | 
WITHIN_EXPECTED_BOUNDS | 
                The slice has the detectionPoint actual value within the expected bounds and is not an anomaly. | 
INSUFFICIENT_DATA | 
                Not enough data to classify the slice as an anomaly. | 
ForecastErrors
Forecast performance.
| JSON representation | 
|---|
{ "mdape": number, "rmd": number }  | 
              
| Fields | |
|---|---|
mdape | 
                
                   
 MDAPE observed over the forecast interval, the median version of MAPE  | 
              
rmd | 
                
                   
 RMD observed over the forecast interval.  | 
              
ForecastStats
Forecast analysis stats.
| JSON representation | 
|---|
{ "density": string, "numAnomaliesInHoldout": integer }  | 
              
| Fields | |
|---|---|
density | 
                
                   
 Percentage in the [0, 100] interval with how many data points we have in the   | 
              
numAnomaliesInHoldout | 
                
                   
 Number of points that would be marked as an anomaly over holdout.  | 
              
Timeseries
A time series.
| JSON representation | 
|---|
{
  "point": [
    {
      object ( | 
              
| Fields | |
|---|---|
point[] | 
                
                   
 The points in this time series, ordered by their timestamp.  | 
              
TimeseriesPoint
A point in a time series.
| JSON representation | 
|---|
{ "time": string, "value": number }  | 
              
| Fields | |
|---|---|
time | 
                
                   
 The timestamp of this point. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples:   | 
              
value | 
                
                   
 The value for this point. It is computed by aggregating all events in the associated slice that are in the [time, time + granularity] range (see   |