public static class PMMLClusteringModel.Builder extends Object
PMMLClusteringModel
instances.Modifier and Type | Method and Description |
---|---|
PMMLClusteringModel.Builder |
algorithmName(String algorithmName)
Returns a builder that builds
PMMLClusteringModel
instances with the provided algorithm name and other parameters
set to the previously provided values. |
PMMLClusteringModel |
build()
Verifies the previously set values and builds a
PMMLClusteringModel instance based on these values. |
PMMLClusteringModel.Builder |
clusteringFields(ClusteringField[] clusteringFields)
Returns a builder that builds
PMMLClusteringModel
instances with the provided clustering fields and other parameters
set to the previously provided values. |
PMMLClusteringModel.Builder |
isScorable(boolean isScorable)
Returns a builder that builds
PMMLClusteringModel
instances with the scorable flag set to the provided value
and other parameters set to the previously provided values. |
PMMLClusteringModel.Builder |
missingValueWeights(MissingValueWeights missingValueWeights)
Returns a builder that builds
PMMLClusteringModel
instances with the provided missing value weights and other parameters
set to the previously provided values. |
PMMLClusteringModel.Builder |
modelName(String modelName)
Returns a builder that builds
PMMLClusteringModel
instances with the provided model name and other parameters
set to the previously provided values. |
PMMLClusteringModel.Builder |
version(PMMLVersion version)
Returns a builder that builds
PMMLClusteringModel
instances with the provided PMML version and other parameters
set to the previously provided values. |
public PMMLClusteringModel.Builder modelName(String modelName)
PMMLClusteringModel
instances with the provided model name and other parameters
set to the previously provided values.modelName
- the name of the modelPMMLClusteringModel.Builder
public PMMLClusteringModel.Builder algorithmName(String algorithmName)
PMMLClusteringModel
instances with the provided algorithm name and other parameters
set to the previously provided values.algorithmName
- the name of the algorithm used to compute the modelPMMLClusteringModel.Builder
public PMMLClusteringModel.Builder isScorable(boolean isScorable)
PMMLClusteringModel
instances with the scorable flag set to the provided value
and other parameters set to the previously provided values.isScorable
- true if the model can be used for scoring, false otherwisePMMLClusteringModel.Builder
public PMMLClusteringModel.Builder clusteringFields(ClusteringField[] clusteringFields)
PMMLClusteringModel
instances with the provided clustering fields and other parameters
set to the previously provided values.clusteringFields
- the ClusteringField
s of the modelPMMLClusteringModel.Builder
public PMMLClusteringModel.Builder missingValueWeights(MissingValueWeights missingValueWeights)
PMMLClusteringModel
instances with the provided missing value weights and other parameters
set to the previously provided values.missingValueWeights
- the MissingValueWeights
s of the modelPMMLClusteringModel.Builder
public PMMLClusteringModel.Builder version(PMMLVersion version)
PMMLClusteringModel
instances with the provided PMML version and other parameters
set to the previously provided values.version
- the PMMLVersion
of the modelPMMLClusteringModel.Builder
public PMMLClusteringModel build()
PMMLClusteringModel
instance based on these values.PMMLClusteringModel
Copyright © 2016 Actian Corporation. All rights reserved.