@Test(expected = KiePMMLException.class) public void evaluate() { kiePMMLRegressionModelWithSources.evaluate("KB", Collections.EMPTY_MAP); }
@Override public Object evaluate(final Object knowledgeBase, Map<String, Object> requestData) { throw new KiePMMLException("KiePMMLRegressionModelWithSources. is not meant to be used for actual evaluation"); }
KiePMMLRegressionModelWithSources extends KiePMMLRegressionModel implements HasSourcesMap { @Override public Object evaluate(final Object knowledgeBase, Map<String, Object> requestData) { throw new KiePMMLException("KiePMMLRegressionModelWithSources. is not meant to be used for actual evaluation"); } }
KiePMMLRegressionModelWithSources extends KiePMMLRegressionModel implements HasSourcesMap { @Override public Object evaluate(final Object knowledgeBase, Map<String, Object> requestData) { throw new KiePMMLException("KiePMMLRegressionModelWithSources. is not meant to be used for actual evaluation"); } KiePMMLRegressionModelWithSources(String modelName, String kmodulePackageName, Map<String, String> sourcesMap); }
KiePMMLRegressionModelWithSources extends KiePMMLRegressionModel implements HasSourcesMap { @Override public Object evaluate(final Object knowledgeBase, Map<String, Object> requestData) { throw new KiePMMLException("KiePMMLRegressionModelWithSources. is not meant to be used for actual evaluation"); } KiePMMLRegressionModelWithSources(String modelName, String kmodulePackageName, Map<String, String> sourcesMap); @Override Object evaluate(final Object knowledgeBase, Map<String, Object> requestData); @Override Map<String, Object> getOutputFieldsMap(); @Override Map<String, String> getSourcesMap(); @Override void addSourceMap(String key, String value); @Override String getKModulePackageName(); }
KiePMMLRegressionModelWithSources extends KiePMMLRegressionModel implements HasSourcesMap { @Override public Object evaluate(final Object knowledgeBase, Map<String, Object> requestData) { throw new KiePMMLException("KiePMMLRegressionModelWithSources. is not meant to be used for actual evaluation"); } KiePMMLRegressionModelWithSources(String modelName, String kmodulePackageName, Map<String, String> sourcesMap); @Override Object evaluate(final Object knowledgeBase, Map<String, Object> requestData); @Override Map<String, Object> getOutputFieldsMap(); @Override Map<String, String> getSourcesMap(); @Override void addSourceMap(String key, String value); @Override String getKModulePackageName();  }