K - The type of the input keysV - The type of the input values
public class KMeansMapper<K,V>
extends <any>
Mapper that maps each input record to its closest cluster center.ClusterInfo instance containing the cluster information and a RecordInfo instance containing the information of the record mapped to the cluster. Mapper in charge of assigning each input record to its closest cluster center.| Constructor and Description |
|---|
KMeansMapper() |
Copyright © 2017 Oracle and/or its affiliates. All Rights Reserved.