KiePMMLMiningModel extends KiePMMLModel implements HasNestedModels { public boolean isScorable() { return scorable; } protected  KiePMMLMiningModel(String name, List<KiePMMLExtension> extensions); static Builder builder(String name, List<KiePMMLExtension> extensions, MINING_FUNCTION miningFunction); @Override Object evaluate(final Object knowledgeBase, final Map<String, Object> requestData); @Override List<KiePMMLModel> getNestedModels(); String getAlgorithmName(); boolean isScorable(); KiePMMLSegmentation getSegmentation(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); static final PMML_MODEL PMML_MODEL_TYPE; }
@Test public void isScorable() { assertTrue(KIE_PMML_MINING_MODEL.isScorable()); KIE_PMML_MINING_MODEL = BUILDER.withScorable(false).build(); assertFalse(KIE_PMML_MINING_MODEL.isScorable()); }