Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
RHPAM-1875 Fixes for JSON marshalling/unmarshalling of PMML (#2258)

  1. … 2 more files in changeset.
RHDM-766 / DROOLS-3404 (#2202)

* DROOLS-3404 Finish removing 'declare' statements from generated rules

@Ignored tests in guided scorecards that don't work due to empty field names

RHDM-766 Implementing REST API/kie-server support for PMML

Requested updates

Made requested change to the PMML4Compiler

* Added back in tests that had been @Ignored

Added back tests that had been @Ignored. This required updating the

Helper so that it produced scorecard models that had valid output field

definitions.

    • -22
    • +2
    ./dataDefinition/rootDataField.drlt
  1. … 45 more files in changeset.
DROOLS-2592 PMML - Fix race conditions caused by corner cases of used "after" and "before" operators (#2070)

* DROOLS-2592 Fix scorecards reason code update race condition

* DROOLS-2592 Fix possible race conditions in PMML rule templates

  1. … 1 more file in changeset.
DROOLS-2592 PMML - Fix race conditions caused by corner cases of used "after" and "before" operators (#2067)

* DROOLS-2592 Fix scorecards reason code update race condition

* DROOLS-2592 Fix possible race conditions in PMML rule templates

  1. … 1 more file in changeset.
DROOLS-2884 Guided Score Card build fails (#2034)

* Fixed issue that prevented build/compile when the guided scorecard referenced a type without a fully qualified name

* Updated tests to include testing for external types referenced without fully qualified names

    • -11
    • +0
    ./dataDefinition/outputBinding.drlt
  1. … 4 more files in changeset.
DROOLS-2243_7_5_x - Backport to get kie-pmml visibility for the execu… (#1718)

* DROOLS-2243_7_5_x - Backport to get kie-pmml visibility for the execution server

* Updates to bring KIE-PMML changes into line with latest version

  1. … 86 more files in changeset.
RHDM-317 Drools engine does not compile PMML SimpleSetPredicate correctly (#1779)

* Added methods to PMML4Helper class, to use the PredicateRuleProducer to get correct form of the SimpleSetPredicate

* Changed scorecard_compiler.drl to call PMML4Helper method to get the correct string for SimpleSetPredicate

* Removed the @Ignore on the testScorecardWithSimpleSetPredicateWithSpaceValue in ScorecardTest

* Cleaned up/removed System.out statements

  1. … 4 more files in changeset.
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()

  1. … 85 more files in changeset.
RHDM-243 Rule engine freezes when evaluating multiple PMML scorecards (master) (#1690)

* Added new unit test for scorecards - This also provides an example of how to use PMML with rule units

* Updated test_scorecard.pmml so that it provides reason codes for occupations other than SKYDIVER and ASTRONAUT

* Removed some System.out.println() calls

    • -2
    • +1
    ./validation/valuesOnDomainRestriction.drlt
  1. … 3 more files in changeset.
RHDM-243 Rule engine freezes when evaluating multiple PMML scorecards (master) (#1689)

* Added new unit test for scorecards - This also provides an example of how to use PMML with rule units

* Updated test_scorecard.pmml so that it provides reason codes for occupations other than SKYDIVER and ASTRONAUT

* Removed some System.out.println() calls

    • -2
    • +1
    ./validation/valuesOnDomainRestriction.drlt
  1. … 3 more files in changeset.
PMML Update with Rule Units (#1684)

* Begin changeover to using RuleUnit mechanism

* Begin changeover to using RuleUnit mechanism

* PMML using RuleUnit mechanism for managing the invocation of rules, especially with regards to the mining model

* Changes made in anticipation of merging/rebasing master

* Fixed missing import statement

* new test for accumulate

* Catching up

* Several fixes including...

* Updated DefaultAgenda with MarkP's fix for determining when an agenda has finished

* Updates to the DecisionTreeTest to start making use of the rule unit's

* Updates to rule templates to fix problems caused by dialect "mvel" issue and work around for dynamic salience issue

* Updates to fix more of the tests

* Fixed code that provides dump of generated resources

* Fixed scorecard tests

* Removed duplicate test case from RuleUnitTest

* Improving tree model

* Updated to add the ability to retrieve a FactHandle, from a CursoredDataSource, based on an object

* More attempts to get DecisionTree tests fully functioning

* Updates for mining model

* Updates in an effort to make mining model tests pass

* KIE-PMML using RuleUnits

Rule generation now takes into account the rule units and data sources

Compatibility with drools-pmml is maintained via the use of versioning in the PMMLCompiler.

The PMMLCompiler is selected via property in the kie.conf file.

(cherry picked from commit 133890cbdcdcc0dd9ea4f3a775fcae81aabdb1c2)

    • -35
    • +13
    ./dataDefinition/inputFromEP.drlt
    • -6
    • +7
    ./validation/intervalsOnDomainRestriction.drlt
    • -0
    • +37
    ./validation/valuesNoRestriction.drlt
    • -9
    • +9
    ./validation/valuesOnDomainRestriction.drlt
    • -4
    • +6
    ./validation/valuesOnDomainRestrictionInvalid.drlt
    • -8
    • +9
    ./validation/valuesOnDomainRestrictionMissing.drlt
  1. … 70 more files in changeset.
PMML Update with Rule Units (#1684)

* Begin changeover to using RuleUnit mechanism

* Begin changeover to using RuleUnit mechanism

* PMML using RuleUnit mechanism for managing the invocation of rules, especially with regards to the mining model

* Changes made in anticipation of merging/rebasing master

* Fixed missing import statement

* new test for accumulate

* Catching up

* Several fixes including...

* Updated DefaultAgenda with MarkP's fix for determining when an agenda has finished

* Updates to the DecisionTreeTest to start making use of the rule unit's

* Updates to rule templates to fix problems caused by dialect "mvel" issue and work around for dynamic salience issue

* Updates to fix more of the tests

* Fixed code that provides dump of generated resources

* Fixed scorecard tests

* Removed duplicate test case from RuleUnitTest

* Improving tree model

* Updated to add the ability to retrieve a FactHandle, from a CursoredDataSource, based on an object

* More attempts to get DecisionTree tests fully functioning

* Updates for mining model

* Updates in an effort to make mining model tests pass

* KIE-PMML using RuleUnits

Rule generation now takes into account the rule units and data sources

Compatibility with drools-pmml is maintained via the use of versioning in the PMMLCompiler.

The PMMLCompiler is selected via property in the kie.conf file.

    • -35
    • +13
    ./dataDefinition/inputFromEP.drlt
    • -6
    • +7
    ./validation/intervalsOnDomainRestriction.drlt
    • -0
    • +37
    ./validation/valuesNoRestriction.drlt
    • -9
    • +9
    ./validation/valuesOnDomainRestriction.drlt
    • -4
    • +6
    ./validation/valuesOnDomainRestrictionInvalid.drlt
    • -8
    • +9
    ./validation/valuesOnDomainRestrictionMissing.drlt
  1. … 70 more files in changeset.
avoid split packages in new kie-pmml module (#1637)

    • -0
    • +0
    ./manipulation/propagateMissingValues.drlt
  1. … 553 more files in changeset.