Skip to content

Commit

Permalink
[ML] Extend lat_long documentation (elastic#111239)
Browse files Browse the repository at this point in the history
This PR adds the explanation of what "typical" means for the lat_long function.
  • Loading branch information
valeriy42 authored Jul 25, 2024
1 parent ea208d1 commit 87d9a0b
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ detects anomalies where the geographic location of a credit card transaction is
unusual for a particular customer’s credit card. An anomaly might indicate
fraud.

A "typical" value indicates a centroid of a cluster of previously observed
locations that is closest to the "actual" location at that time. For example,
there may be one centroid near the person's home that is associated with the
cluster of local grocery stores and restaurants, and another centroid near the
person's work associated with the cluster of lunch and coffee places.

IMPORTANT: The `field_name` that you supply must be a single string that
contains two comma-separated numbers of the form `latitude,longitude`, a
`geo_point` field, a `geo_shape` field that contains point values, or a
Expand Down

0 comments on commit 87d9a0b

Please sign in to comment.