Computes the Local Outlier Factor (LOF) for each point in the input dataset. Local Outlier Factor is an algorithm for determining the degree to which a single record is an inlier or outlier. It is based on how close a record is to itsDocumentation Index
Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
Use this file to discover all available pages before exploring further.
k nearest neighbors vs how close those neighbors are to their k nearest
neighbors. Values substantially less than 1 imply that the record is an inlier, while values greater than 1 imply that
the record is an outlier.
ST_LocalOutlierFactor has a useSphere parameter rather than a useSpheroid parameter. This function thus uses a spherical model of the earth rather than an ellipsoidal model when calculating distance.
Signatures
Parameters
The input geometry.
The k value.
The use sphere value.
Return type
A numeric value.

