Clone
Lance Leverich <lance.leverich@gmail.com>
committed
on 05 Dec 17
PMML Update with both old and new version of PMML4Compiler (#1636)
* Initial check-in for updating PMML to use POJOs where possible

* PMML … Show more
PMML Update with both old and new version of PMML4Compiler (#1636)

* Initial check-in for updating PMML to use POJOs where possible

* PMML update concentrating on Score card conversion

* Checkpoint before removing most of the old insert of "declare" based items

* Clean up and add license headers

* * Moved generation of the POJO code to be "pre-processor" functionality within KieBuilderImpl

* Added Regression model to the list of models that has been transformed to use the new POJO oriented approach

 - Updated the rule generator templates

 - Created POJO classes to replace several of the "declare" classes that were being generated; particularly those that were static in their definition

* Lots of updates to get the Tree model working and testing successfully

* More work done towards getting the MiningModel operational

* Checkpoint before building pre-compiler

* Nearing the "done point"

* Started renaming test pmml model files from .xml to .pmml

* More updates to get PMML processing completely done

* More work to get segment-to-segment transfer working

* Added in license headings

* Removed code that was machine specific

* Added fix to KieBuilderImpl so that it will not crash if the PMML compiler is not on the classpath

Disabled the unit tests for drools-scorecards module. This module will need to be updated to use the new PMML

* Revert "Added fix to KieBuilderImpl so that it will not crash if the PMML compiler is not on the classpath"

This reverts commit c332d231b0e219eed3d9c40f078eb5625151c151.

* Moved the new PMML code base to a separate module kie-pmml

* Now contains old PMML (drools-pmml) and new PMML (kie-pmml) to cover the use of drools-scorecards module

NOTE: Only one of the PMML modules should be deployed on the classpath. They both contain versions of the PMML4Compiler.

The KieBuilderImpl checks the version to call code appropriate to the version that is on the classpath.

Show less

master + 17 more