K-Nearest neighbors (KNN)
K-Nearest Neighbors (KNN) is an estimation algorithm where every point is given the average value of the 'k' closest data points.
Parameters
source(geoscience object reference)- A geoscience object reference that points to a one-dimensional continuous attribute inside a pointset or downhole-intervals object. This is your input data.
target(geoscience object reference)- A geoscience object reference that tells the task where to save the result. It must point to an attribute inside a pointset, downhole-intervals, regular-3d-grid, or regular-masked-3d-grid object.
search_neighborhood(object)- A search ellipse that the task will use to find each point's nearest neighbors.
Example
For more information, see the k-nearest-neighbor API reference.
Request
Result
Tips
- The source and target can use the same object, but they don't have to.