Clone
Lance Leverich <lance.leverich@gmail.com>
committed
on 09 Feb 18
Kie pmml (#1758)
* DROOLS-2243 Make PMML visible in execution server

* DROOLS-2243 Fixed an error that was preventing the drools-pmml tests… Show more
Kie pmml (#1758)

* DROOLS-2243 Make PMML visible in execution server

* DROOLS-2243 Fixed an error that was preventing the drools-pmml tests from passing

* DROOLS-2243

Changed the package name for the JAXB generated classes. This will remove an error that occurs in droolsjbpm-integration, which was due to the generated classes in kie-pmml being the same as those that are generated by drools-pmml.

* Add tests for PMML scorecards

testSimpleScorecard - evaluate multiple PMML data requests using scorecard with simple predicates

testScorecardWithCompoundPredicate - evaluate multiple PMML data requests using scorecard with compound predicates

testScorecardWithSimpleSetPredicate - evaluate multiple PMML data requests using scorecard with simple set predicates

testScorecardWithSimpleSetPredicateWithSpaceValue - same as above but set contains value with space

testScorecardWithComplexPartialScore - evaluate multiple PMML data requests using scorecard with complex partial score

* Add tests for PMML descision trees

Add tests for various types of scorecards evaluation strategies:

- noTrueChildStrategy, which defines what to do in situations where scoring cannot reach a leaf node

-- returnNullPrediction strategy - testReturnNullNoTrueChildPredictionStrategy()

-- returnLastPrediction strategy - testReturnLastNoTrueChildPredictionStrategy()

- missingValueStrategy, which defines a strategy for dealing with missing values:

-- lastPrediction strategy - testLastPredictionMissingValueStrategy()

-- nullPrediction strategy - testNullPredictionMissingValueStrategy()

-- defaultChild strategy - testDefaultChildMissingValueStrategy()

-- weightedConfidence - testWeightedConfidenceMissingValueStrategy()

Show less

master + 11 more