OpenSearch/docs/en/ml/functions/geo.asciidoc

24 lines
649 B
Plaintext
Raw Normal View History

[[ml-geo-functions]]
=== Geographic Functions
The {xpackml} features include the following geographic functions:
* `lat_long`
The geographic functions detect anomalies in the geographic location of the
input data.
The `field_name` that you supply must be a string of the form
`latitude,longitude`. The `latitude` and `longitude` must be in the range -180
to 180 and represent a point on the surface of the Earth.
////
[source,js]
--------------------------------------------------
{ "function" : "lat_long", "fieldName" : "transactionCoordinates", "byFieldName" : "creditCardNumber" }
--------------------------------------------------
////