- java.lang.Object
-
- com.pervasive.datarush.analytics.cluster.Cluster
-
- All Implemented Interfaces:
Serializable
public class Cluster extends Object implements Serializable
Corresponds to the Cluster PMML element.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCluster.BuilderBuilder forClusterinstances.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Cluster.Builderbuilder()Creates a builder that buildsClusterinstances based on defaults: no numArray, no name, no id, size set to -1.StringgetId()Get the id of thisCluster.StringgetName()Get the name of thisCluster.double[]getNumArray()Gets the numArray of thisCluster.longgetSize()Get the size of thisCluster.doublegetSumSquaresNumArray()Gets the sum of squared values of the numArray of thisCluster.
-
-
-
Method Detail
-
getNumArray
public double[] getNumArray()
Gets the numArray of thisCluster.- Returns:
- the numArray of this
Cluster
-
getSumSquaresNumArray
public double getSumSquaresNumArray()
Gets the sum of squared values of the numArray of thisCluster.- Returns:
- the sum of squared values of the numArray of this
Cluster
-
builder
public static Cluster.Builder builder()
Creates a builder that buildsClusterinstances based on defaults: no numArray, no name, no id, size set to -1.- Returns:
Cluster.Builder
-
-