Module datarush.analytics
Class PMMLClusteringModel.Builder
java.lang.Object
com.pervasive.datarush.analytics.cluster.PMMLClusteringModel.Builder
- Enclosing class:
- PMMLClusteringModel
Builder for
PMMLClusteringModel instances.-
Method Summary
Modifier and TypeMethodDescriptionalgorithmName(String algorithmName) Returns a builder that buildsPMMLClusteringModelinstances with the provided algorithm name and other parameters set to the previously provided values.build()Verifies the previously set values and builds aPMMLClusteringModelinstance based on these values.clusteringFields(ClusteringField[] clusteringFields) Returns a builder that buildsPMMLClusteringModelinstances with the provided clustering fields and other parameters set to the previously provided values.isScorable(boolean isScorable) Returns a builder that buildsPMMLClusteringModelinstances with the scorable flag set to the provided value and other parameters set to the previously provided values.missingValueWeights(MissingValueWeights missingValueWeights) Returns a builder that buildsPMMLClusteringModelinstances with the provided missing value weights and other parameters set to the previously provided values.Returns a builder that buildsPMMLClusteringModelinstances with the provided model name and other parameters set to the previously provided values.version(PMMLVersion version) Returns a builder that buildsPMMLClusteringModelinstances with the provided PMML version and other parameters set to the previously provided values.
-
Method Details
-
modelName
Returns a builder that buildsPMMLClusteringModelinstances with the provided model name and other parameters set to the previously provided values.- Parameters:
modelName- the name of the model- Returns:
PMMLClusteringModel.Builder
-
algorithmName
Returns a builder that buildsPMMLClusteringModelinstances with the provided algorithm name and other parameters set to the previously provided values.- Parameters:
algorithmName- the name of the algorithm used to compute the model- Returns:
PMMLClusteringModel.Builder
-
isScorable
Returns a builder that buildsPMMLClusteringModelinstances with the scorable flag set to the provided value and other parameters set to the previously provided values.- Parameters:
isScorable- true if the model can be used for scoring, false otherwise- Returns:
PMMLClusteringModel.Builder
-
clusteringFields
Returns a builder that buildsPMMLClusteringModelinstances with the provided clustering fields and other parameters set to the previously provided values.- Parameters:
clusteringFields- theClusteringFields of the model- Returns:
PMMLClusteringModel.Builder
-
missingValueWeights
Returns a builder that buildsPMMLClusteringModelinstances with the provided missing value weights and other parameters set to the previously provided values.- Parameters:
missingValueWeights- theMissingValueWeightss of the model- Returns:
PMMLClusteringModel.Builder
-
version
Returns a builder that buildsPMMLClusteringModelinstances with the provided PMML version and other parameters set to the previously provided values.- Parameters:
version- thePMMLVersionof the model- Returns:
PMMLClusteringModel.Builder
-
build
Verifies the previously set values and builds aPMMLClusteringModelinstance based on these values.- Returns:
PMMLClusteringModel
-