|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mahout.clustering.streaming.tools.IOUtils
public class IOUtils
Method Summary | |
---|---|
static Iterable<Centroid> |
getCentroidsFromCentroidWritableIterable(Iterable<CentroidWritable> dirIterable)
Converts CentroidWritable values in a sequence file into Centroids lazily. |
static Iterable<Centroid> |
getCentroidsFromClusterWritableIterable(Iterable<ClusterWritable> dirIterable)
Converts CentroidWritable values in a sequence file into Centroids lazily. |
static Iterable<Vector> |
getVectorsFromVectorWritableIterable(Iterable<VectorWritable> dirIterable)
Converts VectorWritable values in a sequence file into Vectors lazily. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Iterable<Centroid> getCentroidsFromCentroidWritableIterable(Iterable<CentroidWritable> dirIterable)
dirIterable
- the source iterable (comes from a SequenceFileDirIterable).
public static Iterable<Centroid> getCentroidsFromClusterWritableIterable(Iterable<ClusterWritable> dirIterable)
dirIterable
- the source iterable (comes from a SequenceFileDirIterable).
public static Iterable<Vector> getVectorsFromVectorWritableIterable(Iterable<VectorWritable> dirIterable)
dirIterable
- the source iterable (comes from a SequenceFileDirIterable).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |