Skip to content

Commit c4c53e9

Browse files
committed
Add geo_results.actual_point and geo_results.typical_point
1 parent 4ca0cc0 commit c4c53e9

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

specification/ml/_types/Anomaly.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ export class Anomaly {
3535
field_name?: string
3636
function?: string
3737
function_description?: string
38+
/**
39+
* If the detector function is `lat_long`, this object contains comma delimited strings for the latitude and longitude of the actual and typical values.
40+
*/
41+
geo_results?: GeoResults
3842
influencers?: Influence[]
3943
initial_record_score: double
4044
is_interim: boolean
@@ -72,6 +76,7 @@ export class Influence {
7276
influencer_field_values: string[]
7377
}
7478

79+
<<<<<<< HEAD
7580
export class AnomalyExplanation {
7681
/**
7782
* Impact from the duration and magnitude of the detected anomaly relative to the historical average.
@@ -114,3 +119,15 @@ export class AnomalyExplanation {
114119
*/
115120
upper_confidence_bound?: double
116121
}
122+
=======
123+
export class GeoResults {
124+
/**
125+
* The actual value for the bucket formatted as a `geo_point`.
126+
*/
127+
actual_point: string
128+
/**
129+
* The typical value for the bucket formatted as a `geo_point`.
130+
*/
131+
typical_point: string
132+
}
133+
>>>>>>> 20a1baf91 (Add geo_results.actual_point and geo_results.typical_point)

0 commit comments

Comments
 (0)