See: Description
Class | Description |
---|---|
KMeansMapper<K,V> |
A subclass of
Mapper that maps each input record to its closest cluster center.Emitted key and value are a ClusterInfo instance containing the cluster information and a RecordInfo instance containing the information of the record mapped to the cluster. |
KMeansReducer |
updates a cluster center based on its members locations, determines if the cluster center converges and emits the updated cluster information.
|
KMeansSampler<K,V> |
Provides a sample containing points from an input data set.
|
PointKeyInputFormat<K,V> |
InputFormat implementation that returns each input record with spatial information as single point. |
Copyright © 2017 Oracle and/or its affiliates. All Rights Reserved.