@Test(expected = KiePMMLException.class) public void getProbabilityMapTooManyInput() { LinkedHashMap<String, Double> resultMap = new LinkedHashMap<>(); resultMap.put(CASE_B, firstTableResult); resultMap.put(CASE_A, secondTableResult); resultMap.put("CASE_ELSE", 444.1); classificationTable.getProbabilityMap(resultMap, FIRST_ITEM_OPERATOR, SECOND_ITEM_OPERATOR); }
protected abstract LinkedHashMap<String, Double> getProbabilityMap(final LinkedHashMap<String, Double> resultMap);
KiePMMLRegressionClassificationTable extends KiePMMLRegressionTable { protected abstract LinkedHashMap<String, Double> getProbabilityMap(final LinkedHashMap<String, Double> resultMap); }
KiePMMLRegressionClassificationTable extends KiePMMLRegressionTable { protected abstract LinkedHashMap<String, Double> getProbabilityMap(final LinkedHashMap<String, Double> resultMap);  }
KiePMMLRegressionClassificationTable extends KiePMMLRegressionTable { protected abstract LinkedHashMap<String, Double> getProbabilityMap(final LinkedHashMap<String, Double> resultMap);  @Override Object evaluateRegression(Map<String, Object> input); abstract boolean isBinary(); REGRESSION_NORMALIZATION_METHOD getRegressionNormalizationMethod(); OP_TYPE getOpType(); Map<String, KiePMMLRegressionTable> getCategoryTableMap(); }
KiePMMLRegressionClassificationTable extends KiePMMLRegressionTable { protected abstract LinkedHashMap<String, Double> getProbabilityMap(final LinkedHashMap<String, Double> resultMap);  @Override Object evaluateRegression(Map<String, Object> input); abstract boolean isBinary(); REGRESSION_NORMALIZATION_METHOD getRegressionNormalizationMethod(); OP_TYPE getOpType(); Map<String, KiePMMLRegressionTable> getCategoryTableMap();  }