cascading.pattern.model.clustering
Class Cluster
java.lang.Object
cascading.pattern.model.clustering.Cluster
- All Implemented Interfaces:
- Serializable
public class Cluster
- extends Object
- implements Serializable
Class Cluster represents a point in space denoted by the given collection of points
which
in turn represents a particular targetCategory
.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ordinal
protected int ordinal
targetCategory
protected String targetCategory
points
protected double[] points
Cluster
public Cluster(String targetCategory,
double... points)
Cluster
public Cluster(String targetCategory,
List<Double> points)
setOrdinal
protected void setOrdinal(int ordinal)
getTargetCategory
public String getTargetCategory()
getPoints
public double[] getPoints()
getPointsSize
public int getPointsSize()
Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.