org.apache.mahout.clustering.fuzzykmeans
Class FuzzyKMeansReducer
java.lang.Object
org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,ClusterObservations,org.apache.hadoop.io.Text,SoftCluster>
org.apache.mahout.clustering.fuzzykmeans.FuzzyKMeansReducer
public class FuzzyKMeansReducer
- extends org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,ClusterObservations,org.apache.hadoop.io.Text,SoftCluster>
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Reducer |
org.apache.hadoop.mapreduce.Reducer.Context |
Method Summary |
protected void |
reduce(org.apache.hadoop.io.Text key,
Iterable<ClusterObservations> values,
org.apache.hadoop.mapreduce.Reducer.Context context)
|
void |
setup(Collection<SoftCluster> clusters,
org.apache.hadoop.conf.Configuration conf)
|
protected void |
setup(org.apache.hadoop.mapreduce.Reducer.Context context)
|
Methods inherited from class org.apache.hadoop.mapreduce.Reducer |
cleanup, run |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FuzzyKMeansReducer
public FuzzyKMeansReducer()
reduce
protected void reduce(org.apache.hadoop.io.Text key,
Iterable<ClusterObservations> values,
org.apache.hadoop.mapreduce.Reducer.Context context)
throws IOException,
InterruptedException
- Overrides:
reduce
in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,ClusterObservations,org.apache.hadoop.io.Text,SoftCluster>
- Throws:
IOException
InterruptedException
setup
protected void setup(org.apache.hadoop.mapreduce.Reducer.Context context)
throws IOException,
InterruptedException
- Overrides:
setup
in class org.apache.hadoop.mapreduce.Reducer<org.apache.hadoop.io.Text,ClusterObservations,org.apache.hadoop.io.Text,SoftCluster>
- Throws:
IOException
InterruptedException
setup
public void setup(Collection<SoftCluster> clusters,
org.apache.hadoop.conf.Configuration conf)
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.