KiePMMLMiningModel extends KiePMMLModel implements HasNestedModels { @Override public Object evaluate(final Object knowledgeBase, final Map<String, Object> requestData) { throw new KiePMMLException("KiePMMLMiningModel is not meant to be used for actual evaluation"); } 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(expected = KiePMMLException.class) public void evaluate() { KIE_PMML_MINING_MODEL.evaluate("KB", Collections.EMPTY_MAP); }