K
- The type of the input keysV
- The type of the input values
public class ClusterMembershipMapper<K,V>
extends MapReduceBase
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 |
---|
ClusterMembershipMapper() |
Modifier and Type | Method and Description |
---|---|
void |
configure(JobConf jobConf) |
void |
map(K key, V value, <any> output, Reporter reporter) |
Copyright © 2017, 2018 Oracle and/or its affiliates. All Rights Reserved.