Module datarush.analytics
Class PMMLClusteringModel.Builder
- java.lang.Object
- 
- com.pervasive.datarush.analytics.cluster.PMMLClusteringModel.Builder
 
- 
- Enclosing class:
- PMMLClusteringModel
 
 public static class PMMLClusteringModel.Builder extends Object Builder forPMMLClusteringModelinstances.
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description PMMLClusteringModel.BuilderalgorithmName(String algorithmName)Returns a builder that buildsPMMLClusteringModelinstances with the provided algorithm name and other parameters set to the previously provided values.PMMLClusteringModelbuild()Verifies the previously set values and builds aPMMLClusteringModelinstance based on these values.PMMLClusteringModel.BuilderclusteringFields(ClusteringField[] clusteringFields)Returns a builder that buildsPMMLClusteringModelinstances with the provided clustering fields and other parameters set to the previously provided values.PMMLClusteringModel.BuilderisScorable(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.PMMLClusteringModel.BuildermissingValueWeights(MissingValueWeights missingValueWeights)Returns a builder that buildsPMMLClusteringModelinstances with the provided missing value weights and other parameters set to the previously provided values.PMMLClusteringModel.BuildermodelName(String modelName)Returns a builder that buildsPMMLClusteringModelinstances with the provided model name and other parameters set to the previously provided values.PMMLClusteringModel.Builderversion(PMMLVersion version)Returns a builder that buildsPMMLClusteringModelinstances with the provided PMML version and other parameters set to the previously provided values.
 
- 
- 
- 
Method Detail- 
modelNamepublic PMMLClusteringModel.Builder modelName(String 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
 
 - 
algorithmNamepublic PMMLClusteringModel.Builder algorithmName(String 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
 
 - 
isScorablepublic PMMLClusteringModel.Builder 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.- Parameters:
- isScorable- true if the model can be used for scoring, false otherwise
- Returns:
- PMMLClusteringModel.Builder
 
 - 
clusteringFieldspublic PMMLClusteringModel.Builder clusteringFields(ClusteringField[] clusteringFields) Returns a builder that buildsPMMLClusteringModelinstances with the provided clustering fields and other parameters set to the previously provided values.- Parameters:
- clusteringFields- the- ClusteringFields of the model
- Returns:
- PMMLClusteringModel.Builder
 
 - 
missingValueWeightspublic PMMLClusteringModel.Builder missingValueWeights(MissingValueWeights missingValueWeights) Returns a builder that buildsPMMLClusteringModelinstances with the provided missing value weights and other parameters set to the previously provided values.- Parameters:
- missingValueWeights- the- MissingValueWeightss of the model
- Returns:
- PMMLClusteringModel.Builder
 
 - 
versionpublic PMMLClusteringModel.Builder version(PMMLVersion version) Returns a builder that buildsPMMLClusteringModelinstances with the provided PMML version and other parameters set to the previously provided values.- Parameters:
- version- the- PMMLVersionof the model
- Returns:
- PMMLClusteringModel.Builder
 
 - 
buildpublic PMMLClusteringModel build() Verifies the previously set values and builds aPMMLClusteringModelinstance based on these values.- Returns:
- PMMLClusteringModel
 
 
- 
 
-