java.lang.Object
com.pervasive.datarush.analytics.cluster.Cluster
- All Implemented Interfaces:
Serializable
Corresponds to the Cluster PMML element.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Cluster.Builderbuilder()Creates a builder that buildsClusterinstances based on defaults: no numArray, no name, no id, size set to -1.getId()Get the id of thisCluster.getName()Get the name of thisCluster.double[]Gets the numArray of thisCluster.longgetSize()Get the size of thisCluster.doubleGets the sum of squared values of the numArray of thisCluster.
-
Method Details
-
getNumArray
public double[] getNumArray()Gets the numArray of thisCluster.- Returns:
- the numArray of this
Cluster
-
getName
Get the name of thisCluster.- Returns:
- the name of this
Cluster
-
getId
Get the id of thisCluster.- Returns:
- the id of this
Cluster
-
getSize
public long getSize()Get the size of thisCluster.- Returns:
- the size 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
Creates a builder that buildsClusterinstances based on defaults: no numArray, no name, no id, size set to -1.- Returns:
Cluster.Builder
-