public static class KmeansEvaluator.ClusterTuple extends Tuple
MapWriter.EntryWriter
EOF, EXCEPTION, fieldLabels, fieldNames, fields
Constructor and Description |
---|
ClusterTuple(Map fields,
List<org.apache.commons.math3.ml.clustering.CentroidCluster<KmeansEvaluator.ClusterPoint>> clusters,
List<String> columnLabels) |
ClusterTuple(Map fields,
List<org.apache.commons.math3.ml.clustering.CentroidCluster<KmeansEvaluator.ClusterPoint>> clusters,
List<String> columnLabels,
Matrix membershipMatrix) |
Modifier and Type | Method and Description |
---|---|
List<org.apache.commons.math3.ml.clustering.CentroidCluster<KmeansEvaluator.ClusterPoint>> |
getClusters() |
List<String> |
getColumnLabels() |
Matrix |
getMembershipMatrix() |
clone, get, getBool, getBools, getDate, getDates, getDouble, getDoubles, getException, getLong, getLongs, getMap, getMaps, getMetrics, getString, getStrings, merge, put, remove, setMaps, setMetrics, writeMap
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr
public ClusterTuple(Map fields, List<org.apache.commons.math3.ml.clustering.CentroidCluster<KmeansEvaluator.ClusterPoint>> clusters, List<String> columnLabels)
public Matrix getMembershipMatrix()
public List<org.apache.commons.math3.ml.clustering.CentroidCluster<KmeansEvaluator.ClusterPoint>> getClusters()
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.