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

    • -35
    • +49
    ./pmml/pmml_4_2/PMML4Compiler.java
  1. … 301 more files in changeset.
changes in license header closes #586

    • -1
    • +1
    ./pmml/pmml_4_2/PMML4AbstractField.java
    • -1
    • +1
    ./pmml/pmml_4_2/PMMLGeneratorUtils.java
  1. … 5161 more files in changeset.
[DROOLS-834] comment out generated rules printing in pmml

Add missing ASL licenses

* fixed failing tests caused by aditional text in

some .drl files

* drools-templates module is still missing some headers

in .drl files, becuase of bug in the parser. These will

be fixed by additional PR

  1. … 2514 more files in changeset.
rename target folder in pmml to targets

(cherry picked from commit 117f78c3b1f53798651d5616e6c68932237d8283)

  1. … 12 more files in changeset.
rename target folder in pmml to targets

  1. … 12 more files in changeset.
Merge pull request #341 from mikedev9000/null-pointer-exception-fix

[DROOLS-511] Added null check for the pkg before trying to get the rule.

  1. … 3 more files in changeset.
[BZ-1104022][PMML] Support group and other attributes in generated rules

  1. … 126 more files in changeset.
[PMML] Naive Bayes : support continuous distributions

  1. … 9 more files in changeset.
BZ1104022 - Allow definition of ruleflow-group in scorecard

  1. … 3 more files in changeset.
[PMML] Upgrade to version 4.2

  1. … 8 more files in changeset.
[PMML] Fix bugs, configure input and output adapter beans

  1. … 6 more files in changeset.
Upgrade PMML to version 4.2.1 (cherry picked from commit 43dff4901e2d4d5cf56931d72bd5c239714ebc09)

    • -113
    • +0
    ./pmml/pmml_4_1/ModelMarker.java
    • -1
    • +1
    ./pmml/pmml_4_2/PMML4AbstractField.java
    • -22
    • +0
    ./pmml/pmml_4_1/PMML4AbstractField.java
    • -14
    • +14
    ./pmml/pmml_4_2/PMML4Compiler.java
    • -574
    • +0
    ./pmml/pmml_4_1/PMML4Compiler.java
    • -1089
    • +0
    ./pmml/pmml_4_1/PMML4Helper.java
    • -2
    • +2
    ./pmml/pmml_4_2/PMMLGeneratorUtils.java
    • -257
    • +0
    ./pmml/pmml_4_1/PMMLGeneratorUtils.java
  1. … 404 more files in changeset.
[DROOLS-535] Fix platform dependencies (cherry picked from commit 634260ab7834f9a3a629cff5540ba91f681dd342)

  1. … 19 more files in changeset.
[DROOLS-535] Fix platform dependencies

  1. … 19 more files in changeset.
[PMML] Prevent conflicts between different i/o beans

  1. … 1 more file in changeset.
[PMML] Follow java conventions for all uppercase property names

  1. … 1 more file in changeset.
Fix FindBugs warnings: DM_DEFAULT_ENCODING

  1. … 46 more files in changeset.
[DROOLS-116] [PMML] Cleanup PMML Compiler (cherry picked from commit 6b3ecc2d6c3a1efdf9ee092296001a7ada6dab95)

    • -25
    • +45
    ./pmml/pmml_4_1/PMML4Compiler.java
    • -15
    • +21
    ./pmml/pmml_4_1/PMML4Helper.java
  1. … 4 more files in changeset.
[DROOLS-433] [PMML] Separate packages for model and user beans

  1. … 64 more files in changeset.
[drools-scorecard, drools-pmml] Merge Scorecards and PMML

    • -10
    • +17
    ./pmml/pmml_4_1/PMML4Compiler.java
    • -54
    • +93
    ./pmml/pmml_4_1/PMML4Helper.java
    • -0
    • +31
    ./pmml/pmml_4_1/extensions/AggregationStrategy.java
    • -0
    • +27
    ./pmml/pmml_4_1/extensions/PMMLExtensionNames.java
    • -0
    • +8
    ./pmml/pmml_4_1/extensions/PMMLIOAdapterMode.java
  1. … 48 more files in changeset.
[PMML 6.x] Add Naive Bayes Model

  1. … 21 more files in changeset.
[DROOLS-116] Support PMML files as resources

    • -0
    • +105
    ./pmml/pmml_4_1/ModelMarker.java
    • -0
    • +22
    ./pmml/pmml_4_1/PMML4AbstractField.java
    • -0
    • +525
    ./pmml/pmml_4_1/PMML4Compiler.java
    • -0
    • +29
    ./pmml/pmml_4_1/PMML4Field.java
    • -0
    • +1037
    ./pmml/pmml_4_1/PMML4Helper.java
    • -0
    • +22
    ./pmml/pmml_4_1/PMMLError.java
    • -0
    • +257
    ./pmml/pmml_4_1/PMMLGeneratorUtils.java
    • -0
    • +24
    ./pmml/pmml_4_1/PMMLWarning.java
    • -0
    • +35
    ./pmml_4_0/PMML4Compiler.java
  1. … 185 more files in changeset.