Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
RHPAM-2307[7.26.x] (#2564)

* DROOLS-4467 PMML with capitalized field names does not work (#2525)

* Updated the findDataDictionaryEntry method of PMML4UnitImpl. It now

looks through the raw DataDictionary values to find the entry, if the

entry isn't found using the field name as a key to the

dataDictionaryMap.

* Changed the AbstractModel.getMiningFields method (used by all models

except the MiningModel) to use findDataDictionaryEntry instead of trying

to use the field name as key into the dataDictionaryMap.

* Added a set of unit tests to make sure that the

findDataDictionaryEntry method works as intended. This includes also

adding a PMML file that contains fields, with names that start with both

upper and lower cases.

* RHPAM-2307 Guided Scorecard can not be tested according its name (#2520)

* Fixed methods that are used to find the package with a RuleUnit, so

that the model name can be in either upper or lower case.

* Updated the unit tests in kie-pmml so that they all use the

PMML4ExecutionHelper. This allowed refactoring of other classes, to

remove duplicated methods for determining the RuleUnit class to be used.

* Updated one of the test PMML resources (in kie-pmml) so that it has a

model name that starts with a lower case letter. This should make sure

that we are testing models with both upper and lower case letters at the

start of the model name.

    • -0
    • +296
    ./pmml_4_2/single_audit_dectree.pmml
  1. … 13 more files in changeset.
RHPAM-2307 Guided Scorecard can not be tested according its name (#2520)

* Fixed methods that are used to find the package with a RuleUnit, so

that the model name can be in either upper or lower case.

* Updated the unit tests in kie-pmml so that they all use the

PMML4ExecutionHelper. This allowed refactoring of other classes, to

remove duplicated methods for determining the RuleUnit class to be used.

* Updated one of the test PMML resources (in kie-pmml) so that it has a

model name that starts with a lower case letter. This should make sure

that we are testing models with both upper and lower case letters at the

start of the model name.

  1. … 10 more files in changeset.
DROOLS-4467 PMML with capitalized field names does not work (#2525)

* Updated the findDataDictionaryEntry method of PMML4UnitImpl. It now

looks through the raw DataDictionary values to find the entry, if the

entry isn't found using the field name as a key to the

dataDictionaryMap.

* Changed the AbstractModel.getMiningFields method (used by all models

except the MiningModel) to use findDataDictionaryEntry instead of trying

to use the field name as key into the dataDictionaryMap.

* Added a set of unit tests to make sure that the

findDataDictionaryEntry method works as intended. This includes also

adding a PMML file that contains fields, with names that start with both

upper and lower cases.

    • -0
    • +296
    ./pmml_4_2/single_audit_dectree.pmml
  1. … 3 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
    • +1
    ./pmml_4_2/test_mining_model_modelchain.pmml
    • -5
    • +6
    ./pmml_4_2/test_mining_model_modelchain_regression.pmml
  1. … 5 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
    • +1
    ./pmml_4_2/test_mining_model_modelchain.pmml
    • -5
    • +6
    ./pmml_4_2/test_mining_model_modelchain_regression.pmml
  1. … 5 more files in changeset.
[BAPL-944] Test for model chain operator in mining model (#2064)

    • -0
    • +94
    ./pmml_4_2/test_mining_model_modelchain_regression.pmml
  1. … 1 more file in changeset.
[BAPL-944] Test for model chain operator in mining model (#2057)

    • -0
    • +94
    ./pmml_4_2/test_mining_model_modelchain_regression.pmml
  1. … 1 more file in changeset.
[BAPL-944] PMML test for surrogate predicate (#2056)

    • -0
    • +44
    ./pmml_4_2/test_tree_with_surrogate.pmml
  1. … 1 more file in changeset.
[BAPL-944] PMML test for surrogate predicate (#2041)

    • -0
    • +44
    ./pmml_4_2/test_tree_with_surrogate.pmml
  1. … 1 more file in changeset.
Fix PMML XSD urls in test PMML files (#2050)

    • -1
    • +1
    ./pmml_4_2/test_ann_iris_prediction.xml
  1. … 49 more files in changeset.
Fix PMML XSD urls in test PMML files (#2049)

    • -1
    • +1
    ./pmml_4_2/test_ann_iris_prediction.xml
  1. … 49 more files in changeset.
[7.11.x] [BAPL-944] Tests for mining model - sum, weighted avg., selectAll (#2047)

* [BAPL-944] Tests for sum strategy in PMML mining model

* [BAPL-944] Tests for weighted avg operator in mining model

* [BAPL-944] Tests for select all mining model operator

    • -0
    • +71
    ./pmml_4_2/test_mining_model_selectall_regression.pmml
    • -0
    • +71
    ./pmml_4_2/test_mining_model_summed_regression.pmml
    • -0
    • +71
    ./pmml_4_2/test_mining_model_weighted_avg_regression.pmml
  1. … 3 more files in changeset.
[BAPL-944] Tests for mining model - sum, weighted avg., selectAll (#2046)

* [BAPL-944] Tests for sum strategy in PMML mining model

* [BAPL-944] Tests for weighted avg operator in mining model

* [BAPL-944] Tests for select all mining model operator

    • -0
    • +71
    ./pmml_4_2/test_mining_model_selectall_regression.pmml
    • -0
    • +71
    ./pmml_4_2/test_mining_model_summed_regression.pmml
    • -0
    • +71
    ./pmml_4_2/test_mining_model_weighted_avg_regression.pmml
  1. … 3 more files in changeset.
[BAPL-944] Parameterize and fix PMML regression test (#2044)

  1. … 1 more file in changeset.
[BAPL-944] Parameterize and fix PMML regression test (#2042)

  1. … 1 more file in changeset.
[BAPL-944] Tests for selectFirst strategy in PMML mining model (#2040) (#2043)

(cherry picked from commit e142035e8e068edf857f032849db25f931ac796d)

    • -0
    • +71
    ./pmml_4_2/test_mining_model_select_first_regression.pmml
    • -0
    • +85
    ./pmml_4_2/test_mining_model_select_first_tree.pmml
  1. … 2 more files in changeset.
[BAPL-944] Tests for selectFirst strategy in PMML mining model (#2040)

    • -0
    • +71
    ./pmml_4_2/test_mining_model_select_first_regression.pmml
    • -0
    • +85
    ./pmml_4_2/test_mining_model_select_first_tree.pmml
  1. … 2 more files in changeset.
DROOLS-2875 Problem compiling PMML when multiple output fields are present (#2016)

* scorecardOutputGeneration.drlt - Updated rule names to add the target field for situations where there are

multiple output fields defined.

* regParams.drlt - Changed the insertion of RegTable objects to be insert instead of insertLogical

* Updated test files to include multiple fields tagged as output

* Fixed Miningmodel.java so that the getMiningFields method would also return any fields that were used by

sub-models. This removes a limitation that previously existed where the all fields that were in a sub-model's

mining schema had to be included in the mining models mining schema.

    • -2
    • +1
    ./pmml_4_2/test_mining_model_simple.pmml
    • -1
    • +3
    ./pmml_4_2/test_scorecard_compound_predicate.pmml
  1. … 5 more files in changeset.
RHDM-522_7.7.x Add sum mode for MiningModel (#1859)

* Added new template for generating the segmentation rules, when the multipleModelMethod is "sum"

* Added new test that uses a model with the segmentation's multipleModelMethod set to "sum"

    • -2
    • +2
    ./pmml_4_2/test_mining_model_summed.pmml
    • -0
    • +0
    ./pmml_4_2/test_mining_model_weighted_avg.pmml
    • -190
    • +0
    ./pmml_4_2/test_mining_model_avg.pmml
  1. … 4 more files in changeset.
RHDM-522 Add sum mode for MiningModel (#1858)

* Added new template for generating the segmentation rules, when the multipleModelMethod is "sum"

* Added new test that uses a model with the segmentation's multipleModelMethod set to "sum"

    • -2
    • +2
    ./pmml_4_2/test_mining_model_summed.pmml
    • -0
    • +0
    ./pmml_4_2/test_mining_model_weighted_avg.pmml
    • -190
    • +0
    ./pmml_4_2/test_mining_model_avg.pmml
  1. … 4 more files in changeset.
RHDM-515 Add weighted average mode to MiningModel (#1855)

* Added functionality to retrieve the name of a segment's target field

* Added a new class MiningSegmentWeight that is used during the application of a model (as opposed to being used during rule generation)

* Updated the MiningSegmentation to generate rules for weighted average mode

* Added template for weighted average mode rules

* Added test to MiningmodelTest for weighted average mode

* Added a test PMML model

    • -0
    • +190
    ./pmml_4_2/test_mining_model_avg.pmml
  1. … 6 more files in changeset.
RHDM-515 Add weighted average mode to MiningModel (#1854)

* Added functionality to retrieve the name of a segment's target field

* Added a new class MiningSegmentWeight that is used during the application of a model (as opposed to being used during rule generation)

* Updated the MiningSegmentation to generate rules for weighted average mode

* Added template for weighted average mode rules

* Added test to MiningmodelTest for weighted average mode

* Added a test PMML model

    • -0
    • +190
    ./pmml_4_2/test_mining_model_avg.pmml
  1. … 6 more files in changeset.
RHBA-626 Tree model does not work on models expecting numeric output (#1847) (#1852)

* Updated the process that generates the Java classes to now include a TreeNode so that the node's outcome is of the type needed

* Updated the AbstractModel so that retrieving the mining fields does not exclude any fields

* Added a method to the Treemodel to return the source for a TreeNode java class

* Added context to the name of the generated TreeNode objects, in the templates that use TreeNode

* Created an mvel template to be used in generating the TreeNode java class

    • -0
    • +93
    ./pmml_4_2/test_tree_from_wtavg.pmml
  1. … 20 more files in changeset.
RHBA-626_7.5.x Tree model does not work on models expecting numeric output (#1848)

* Updated the process that generates the Java classes to now include a TreeNode so that the node's outcome is of the type needed

* Updated the AbstractModel so that retrieving the mining fields does not exclude any fields

* Added a method to the Treemodel to return the source for a TreeNode java class

* Added context to the name of the generated TreeNode objects, in the templates that use TreeNode

* Created an mvel template to be used in generating the TreeNode java class

    • -0
    • +93
    ./pmml_4_2/test_tree_from_wtavg.pmml
  1. … 21 more files in changeset.
RHBA-626 Tree model does not work on models expecting numeric output (#1847)

* Updated the process that generates the Java classes to now include a TreeNode so that the node's outcome is of the type needed

* Updated the AbstractModel so that retrieving the mining fields does not exclude any fields

* Added a method to the Treemodel to return the source for a TreeNode java class

* Added context to the name of the generated TreeNode objects, in the templates that use TreeNode

* Created an mvel template to be used in generating the TreeNode java class

    • -0
    • +93
    ./pmml_4_2/test_tree_from_wtavg.pmml
  1. … 20 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

    • -9
    • +18
    ./pmml_4_2/test_mining_model_modelchain.pmml
    • -1
    • +85
    ./pmml_4_2/test_mining_model_selectall.pmml
  1. … 8 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

    • -9
    • +18
    ./pmml_4_2/test_mining_model_modelchain.pmml
    • -1
    • +85
    ./pmml_4_2/test_mining_model_selectall.pmml
  1. … 8 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

    • -0
    • +42
    ./pmml_4_2/test_tree_default_child_missing_value_strategy.pmml
    • -0
    • +43
    ./pmml_4_2/test_tree_last_missing_value_strategy.pmml
    • -0
    • +24
    ./pmml_4_2/test_tree_return_last_notruechild_strategy.pmml
    • -0
    • +43
    ./pmml_4_2/test_tree_return_null_missing_value_strategy.pmml
    • -0
    • +24
    ./pmml_4_2/test_tree_return_null_notruechild_strategy.pmml
    • -0
    • +45
    ./pmml_4_2/test_tree_weightedconfidence_missing_value_strategy.pmml
  1. … 81 more files in changeset.
RHDM-341 Last prediction missing value strategy does not work correctly in PMML tree models (#1792)

* Updated test data so that it reflected values that would give the desired results

* Updated TreeNode to provide a method (getWeightedConfidenceWinner) that will return a ScoreDistributionInfo object that reflects the value with the greatest weighted confidence, from the nodes that are submitted

* Updated the generated rules so that they use the new method to find the actual value and confidence information, when there are missing input values

    • -1
    • +1
    ./pmml_4_2/test_tree_weightedconfidence_missing_value_strategy.pmml
  1. … 5 more files in changeset.
RHDM-316 PMML scorecards are not able to evaluate ComplexPartialScore (#1775)

* Added new class, ComplexScore. Used to hold information that is used by the template process to create rules that will update the value of a ScoreRow.

* Added methods to PMML4Helper that create the formula that is used in calculating the partial score

* Added rule to scorecard_compiler.drl that uses the new complexPartialScore template to insert rules to update the ScoreRow

* Added new template, complexPartialScore.mvel, that creates a rule which will update ScoreRow values

* Updated the tests for complex partial scores to include more than a single complex partial score

    • -1
    • +16
    ./pmml_4_2/test_scorecard_complex_partial_score.pmml
  1. … 7 more files in changeset.