You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: specification/ml/_types/Anomaly.ts
+68-13Lines changed: 68 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -47,23 +47,78 @@ export class Anomaly {
47
47
}
48
48
49
49
exportclassAnomalyCause{
50
-
actual: double[]
51
-
by_field_name: Name
52
-
by_field_value: string
53
-
correlated_by_field_value: string
54
-
field_name: Field
55
-
function: string
56
-
function_description: string
57
-
influencers: Influence[]
58
-
over_field_name: Name
59
-
over_field_value: string
60
-
partition_field_name: string
61
-
partition_field_value: string
50
+
actual?: double[]
51
+
by_field_name?: Name
52
+
by_field_value?: string
53
+
correlated_by_field_value?: string
54
+
field_name?: Field
55
+
function?: string
56
+
function_description?: string
57
+
geo_results?: GeoResults
58
+
influencers?: Influence[]
59
+
over_field_name?: Name
60
+
over_field_value?: string
61
+
partition_field_name?: string
62
+
partition_field_value?: string
62
63
probability: double
63
-
typical: double[]
64
+
typical?: double[]
64
65
}
65
66
66
67
exportclassInfluence{
67
68
influencer_field_name: string
68
69
influencer_field_values: string[]
69
70
}
71
+
72
+
exportclassGeoResults{
73
+
/**
74
+
* The actual value for the bucket formatted as a `geo_point`.
75
+
*/
76
+
actual_point?: string
77
+
/**
78
+
* The typical value for the bucket formatted as a `geo_point`.
79
+
*/
80
+
typical_point?: string
81
+
}
82
+
83
+
exportclassAnomalyExplanation{
84
+
/**
85
+
* Impact from the duration and magnitude of the detected anomaly relative to the historical average.
86
+
*/
87
+
anomaly_characteristics_impact?: integer
88
+
/**
89
+
* Length of the detected anomaly in the number of buckets.
90
+
*/
91
+
anomaly_length?: integer
92
+
/**
93
+
* Type of the detected anomaly: `spike` or `dip`.
94
+
*/
95
+
anomaly_type?: string
96
+
/**
97
+
* Indicates reduction of anomaly score for the bucket with large confidence intervals. If a bucket has large confidence intervals, the score is reduced.
98
+
*/
99
+
high_variance_penalty?: boolean
100
+
/**
101
+
* If the bucket contains fewer samples than expected, the score is reduced.
102
+
*/
103
+
incomplete_bucket_penalty?: boolean
104
+
/**
105
+
* Lower bound of the 95% confidence interval.
106
+
*/
107
+
lower_confidence_bound?: double
108
+
/**
109
+
* Impact of the deviation between actual and typical values in the past 12 buckets.
110
+
*/
111
+
multi_bucket_impact?: integer
112
+
/**
113
+
* Impact of the deviation between actual and typical values in the current bucket.
0 commit comments