Class KmeansEvaluator.ClusterTuple
- java.lang.Object
-
- org.apache.solr.client.solrj.io.Tuple
-
- org.apache.solr.client.solrj.io.eval.KmeansEvaluator.ClusterTuple
-
- All Implemented Interfaces:
Cloneable
,MapSerializable
,MapWriter
,NavigableObject
- Enclosing class:
- KmeansEvaluator
public static class KmeansEvaluator.ClusterTuple extends Tuple
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.solr.common.MapWriter
MapWriter.EntryWriter
-
-
Field Summary
-
Fields inherited from class org.apache.solr.client.solrj.io.Tuple
EOF, EXCEPTION, fieldLabels, fieldNames, fields
-
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.apache.commons.math3.ml.clustering.CentroidCluster<KmeansEvaluator.ClusterPoint>>
getClusters()
List<String>
getColumnLabels()
Matrix
getMembershipMatrix()
-
Methods inherited from class org.apache.solr.client.solrj.io.Tuple
clone, EOF, EXCEPTION, get, getBool, getBools, getDate, getDates, getDouble, getDoubles, getException, getFieldLabels, getFieldNames, getFields, getLong, getLongs, getMap, getMaps, getMetrics, getString, getStrings, merge, put, remove, setFieldLabels, setFieldNames, setMaps, setMetrics, writeMap
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.solr.common.NavigableObject
_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr
-
-
-
-
Constructor Detail
-
ClusterTuple
public ClusterTuple(Map fields, List<org.apache.commons.math3.ml.clustering.CentroidCluster<KmeansEvaluator.ClusterPoint>> clusters, List<String> columnLabels)
-
-
Method Detail
-
getMembershipMatrix
public Matrix getMembershipMatrix()
-
getClusters
public List<org.apache.commons.math3.ml.clustering.CentroidCluster<KmeansEvaluator.ClusterPoint>> getClusters()
-
-