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,org.apache.solr.common.MapSerializable,org.apache.solr.common.MapWriter,org.apache.solr.common.NavigableObject,org.noggit.JSONWriter.Writable
- Enclosing class:
KmeansEvaluator
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.solr.common.MapWriter
org.apache.solr.common.MapWriter.EntryWriter -
Field Summary
Fields inherited from interface org.apache.solr.common.MapWriter
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionClusterTuple(Map<String, ?> fields, List<org.apache.commons.math3.ml.clustering.CentroidCluster<KmeansEvaluator.ClusterPoint>> clusters, List<String> columnLabels) ClusterTuple(Map<String, ?> fields, List<org.apache.commons.math3.ml.clustering.CentroidCluster<KmeansEvaluator.ClusterPoint>> clusters, List<String> columnLabels, Matrix membershipMatrix) -
Method Summary
Modifier and TypeMethodDescriptionList<org.apache.commons.math3.ml.clustering.CentroidCluster<KmeansEvaluator.ClusterPoint>> Methods inherited from class org.apache.solr.client.solrj.io.Tuple
clone, EOF, EXCEPTION, EXCEPTION, get, getBool, getBools, getDate, getDates, getDouble, getDoubles, getException, getFieldLabels, getFieldNames, getFields, getLong, getLongs, getMaps, getMetrics, getString, getStrings, merge, put, putAll, remove, setFieldLabels, setFieldNames, setMaps, setMetrics, writeMapMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.solr.common.MapWriter
jsonStr, toMap, writeMethods inherited from interface org.apache.solr.common.NavigableObject
_forEachEntry, _forEachEntry, _forEachEntry, _get, _get, _getStr, _getStr, _size
-
Constructor Details
-
ClusterTuple
-
ClusterTuple
-
-
Method Details
-
getMembershipMatrix
-
getColumnLabels
-
getClusters
public List<org.apache.commons.math3.ml.clustering.CentroidCluster<KmeansEvaluator.ClusterPoint>> getClusters()
-