Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.

  1. … 46 more files in changeset.
RHPAM-1509 Mining model modelChain mode does not compile (#2069)

* Fixed an error, in the PMML4Compiler, that was caused when instead of creating a copy of a DataField object the object was being updated

* Fixed problems in the test data...

- Models need to have a modelName attribute

- A target element, in a MiningSchema, must have a corresponding DataField defined

  1. … 6 more files in changeset.
RHPAM-1509 Mining model modelChain mode does not compile (#2068)

* Fixed an error, in the PMML4Compiler, that was caused when instead of creating a copy of a DataField object the object was being updated

* Fixed problems in the test data...

- Models need to have a modelName attribute

- A target element, in a MiningSchema, must have a corresponding DataField defined

  1. … 6 more files in changeset.
RHBA-623_7.5.x (#1840)

* interim checkin

* RHBA-623 Mining model with modelChain does not properly generate rules

* Added method to PMML4Compiler to retrieve field definitions for fields that are the result/output of an earlier sub-model

* Added methods to AbstractModel to find MiningField and OutputField entries from the model

* Updated the modelChain template so that it only attempts to create PMMLRequestData objects using the fields that are available in the controlling model

* Added a test to the MiningmodelTest for modelChain mode models

* Added the test_mining_model_modelchain.pmml file as a test model

  1. … 9 more files in changeset.
RHBA-623 (#1838)

* interim checkin

* RHBA-623 Mining model with modelChain does not properly generate rules

* Added method to PMML4Compiler to retrieve field definitions for fields that are the result/output of an earlier sub-model

* Added methods to AbstractModel to find MiningField and OutputField entries from the model

* Updated the modelChain template so that it only attempts to create PMMLRequestData objects using the fields that are available in the controlling model

* Added a test to the MiningmodelTest for modelChain mode models

* Added the test_mining_model_modelchain.pmml file as a test model

  1. … 9 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.
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.
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)

  1. … 78 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.

  1. … 78 more files in changeset.
avoid split packages in new kie-pmml module (#1637)

  1. … 567 more files in changeset.