Class KiePMMLClassificationTable.Builder
java.lang.Object
org.kie.pmml.commons.model.abstracts.AbstractKiePMMLComponent.Builder<T>
org.kie.pmml.models.regression.model.AbstractKiePMMLTable.Builder<KiePMMLClassificationTable>
org.kie.pmml.models.regression.model.KiePMMLClassificationTable.Builder
- Enclosing class:
- KiePMMLClassificationTable
public static class KiePMMLClassificationTable.Builder
extends AbstractKiePMMLTable.Builder<KiePMMLClassificationTable>
-
Field Summary
Fields inherited from class org.kie.pmml.commons.model.abstracts.AbstractKiePMMLComponent.Builder
toBuild -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionwithCategoryTableMap(Map<String, KiePMMLRegressionTable> categoryTableMap) withIsBinary(Boolean isBinary) withOpType(OP_TYPE opType) withProbabilityMapFunction(SerializableFunction<LinkedHashMap<String, Double>, LinkedHashMap<String, Double>> probabilityMapFunction) withRegressionNormalizationMethod(REGRESSION_NORMALIZATION_METHOD regressionNormalizationMethod) Methods inherited from class org.kie.pmml.models.regression.model.AbstractKiePMMLTable.Builder
withCategoricalFunctionMap, withIntercept, withNumericFunctionMap, withPredictorTermsFunctionMap, withResultUpdater, withTargetCategory, withTargetFieldMethods inherited from class org.kie.pmml.commons.model.abstracts.AbstractKiePMMLComponent.Builder
build, withParentId
-
Constructor Details
-
Builder
-
-
Method Details
-
withRegressionNormalizationMethod
public KiePMMLClassificationTable.Builder withRegressionNormalizationMethod(REGRESSION_NORMALIZATION_METHOD regressionNormalizationMethod) -
withOpType
-
withCategoryTableMap
public KiePMMLClassificationTable.Builder withCategoryTableMap(Map<String, KiePMMLRegressionTable> categoryTableMap) - Parameters:
categoryTableMap- Keep in mind that insertion order matters, so provide an ordered map- Returns:
-
withProbabilityMapFunction
public KiePMMLClassificationTable.Builder withProbabilityMapFunction(SerializableFunction<LinkedHashMap<String, Double>, LinkedHashMap<String, Double>> probabilityMapFunction) - Parameters:
probabilityMapFunction- Keep in mind that insertion order matters, so provide an ordered map inside theSerializableFunction- Returns:
-
withIsBinary
-