Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[DROOLS-5436] Moved/renamed kie-pmml-new to kie-pmml-trusty (#2959)

    • -50
    • +0
    ./resources/KiePMMLRegressionTableClassification1.java
    • -141
    • +0
    ./resources/KiePMMLRegressionTableRegression1.java
    • -26
    • +0
    ./resources/LinearRegressionSample.xml
    • -49
    • +0
    ./resources/test_regression_clax.pmml
  1. … 884 more files in changeset.
Drools 5258 - Use kjar artifact for PMML evaluation (#2910)

* [DROOLS-4859] Fixing generic models archetype

* [DROOLS-4859] Implemented model-drools archetype

* [DROOLS-4859] Created scorecard stub module

* [DROOLS-5261] Move shared code/classes to common modules/packages

* [DROOLS-4589] Begin implementation of AST factories

* [DROOLS-4589] Basic working status. No expression implemented

* [DROOLS-5270] Refactored AST factories to avoid duplication between tree model and scorecard model

* [DROOLS-5270] Fixed as per PR suggestin

* [DROOLS-4589] Minor fix

* [DROOLS-4589] Minor fix

* [DROOLS-4589] Add Release status

* [DROOLS-4589] Refactored DATA_TYPE to avoid reflection. Implemented PrimitiveBoxedUtils as support

* [DROOLS-4589] Implemented KiePMMLScorecardModelCharacteristicASTFactoryTest. Implemented missing tests. Refactoring some common classes

* [DROOLS-4589] Cleanup

* [DROOLS-4589] Fixed as per PR suggestions

* [DROOLS-4589] Move drools evaluation inside model itself

* [DROOLS-5239] Simple scorecard test

* [DROOLS-4589] Fixing usage of Attribute partialScore inside generated rules

* [DROOLS-5239] Fix simple scorecard test

* [DROOLS-4589] Fixing OutputField (only for predictedValue feature)

* [DROOLS-5239] Use target fields for tests

* [DROOLS-5239] Add test for simple scorecard with categorical variables

* [DROOLS-5239] Add simple scorecard test with mixed variables

* [DROOLS-5239] Add test for compound predicates in scorecards

* [DROOLS-4589] Implemented reason code evaluation

* [DROOLS-4589] Fixed evaluation with compound predicates. Fixed reasoncode population

* [DROOLS-5239] Add tests for nested compound predicates in scorecards

* [DROOLS-5239] Add basic test for evaluation of partial score

* [DROOLS-4589] Fixed CompoundNestedPredicate. Update version

* [DROOLS-4589] Ignoring BasicComplexPartialScoreTest since it is using ComplexPartialScore -> Expression (not implemented in this iteration)

* [DROOLS-5239] Add test for nested complex partial score

* [DROOLS-4589] Minor refactoring. Add unit tests.

* [DROOLS-4589] Fixing as per PR suggestions

* [DROOLS-4589] Replaced String with OPERATOR inside KiePMMLOperatorValue

* [DROOLS-4589] Replaced String with BOOLEAN_OPERATOR inside KiePMMLFieldOperatorValue

* [DROOLS-5258] Add Readme.md

* [DROOLS-5258] Removed PackageDescr from KiePMMLDroolsModel. Changed way of KieSession instantiation for Drools model evaluation. Changed package name for generated RegressionModels. Fixed all tests.

* [DROOLS-5258] Code-generating KiePMMLScorecardModel inside KiePMMLScorecardModelFactory.getKiePMMLScorecardModel. All tests running. Working status with kjar not verified

* [DROOLS-5258] Fixing scoremodel code-generation. Code-generating KiePMMLModelFactories.

* [DROOLS-5258] Fixing scoremodel code-generation. Code-generating KiePMMLModelFactories.

* [DROOLS-5258] Fix package assembling when invoked at runtime. Propagating original kiebase to avoid retrieval of new container.

* [DROOLS-5258] Removing usage of GAV for session retrieval. Using only propagated kiebase

* [DROOLS-5258] Removing releaseId from signatures.

* [DROOLS-5258] Removing releaseId from signatures.

* [DROOLS-5258] Implemented KnowledgeBaseUtils.

* [DROOLS-5258] Implemented KnowledgeBaseUtils.

* [DROOLS-5258] Add private constructor to KnowledgeBaseUtils.

* [DROOLS-5258] Fixed getKModulePackageName to avoid "NPE" (null package") if class has not already been loaded.

* [DROOLS-5258] Revert modifications

* [DROOLS-5258] Fixed as per PR suggestion

* [DROOLS-5258] Replaced Class.byName with classloader.loadClass to found the generated classes regardless of projec-internal or local-repository kjar.

* [DROOLS-5258] Fixed as per PR suggestion

* [DROOLS-5258] Fixed as per PR suggestion

* [DROOLS-5258] Fixed as per PR suggestion

Co-authored-by: Jiri Petrlik <jiripetrlik@gmail.com>

  1. … 113 more files in changeset.
Drools 4589 - Refactor of Scorecards (#2870)

* [DROOLS-4859] Fixing generic models archetype

* [DROOLS-4859] Implemented model-drools archetype

* [DROOLS-4859] Created scorecard stub module

* [DROOLS-5261] Move shared code/classes to common modules/packages

* [DROOLS-4589] Begin implementation of AST factories

* [DROOLS-4589] Basic working status. No expression implemented

* [DROOLS-5270] Refactored AST factories to avoid duplication between tree model and scorecard model

* [DROOLS-5270] Fixed as per PR suggestin

* [DROOLS-4589] Minor fix

* [DROOLS-4589] Minor fix

* [DROOLS-4589] Add Release status

* [DROOLS-4589] Refactored DATA_TYPE to avoid reflection. Implemented PrimitiveBoxedUtils as support

* [DROOLS-4589] Implemented KiePMMLScorecardModelCharacteristicASTFactoryTest. Implemented missing tests. Refactoring some common classes

* [DROOLS-4589] Cleanup

* [DROOLS-4589] Fixed as per PR suggestions

* [DROOLS-4589] Move drools evaluation inside model itself

* [DROOLS-5239] Simple scorecard test

* [DROOLS-4589] Fixing usage of Attribute partialScore inside generated rules

* [DROOLS-5239] Fix simple scorecard test

* [DROOLS-4589] Fixing OutputField (only for predictedValue feature)

* [DROOLS-5239] Use target fields for tests

* [DROOLS-5239] Add test for simple scorecard with categorical variables

* [DROOLS-5239] Add simple scorecard test with mixed variables

* [DROOLS-5239] Add test for compound predicates in scorecards

* [DROOLS-4589] Implemented reason code evaluation

* [DROOLS-4589] Fixed evaluation with compound predicates. Fixed reasoncode population

* [DROOLS-5239] Add tests for nested compound predicates in scorecards

* [DROOLS-5239] Add basic test for evaluation of partial score

* [DROOLS-4589] Fixed CompoundNestedPredicate. Update version

* [DROOLS-4589] Ignoring BasicComplexPartialScoreTest since it is using ComplexPartialScore -> Expression (not implemented in this iteration)

* [DROOLS-5239] Add test for nested complex partial score

* [DROOLS-4589] Minor refactoring. Add unit tests.

* [DROOLS-4589] Fixing as per PR suggestions

* [DROOLS-4589] Replaced String with OPERATOR inside KiePMMLOperatorValue

* [DROOLS-4589] Replaced String with BOOLEAN_OPERATOR inside KiePMMLFieldOperatorValue

Co-authored-by: Jiri Petrlik <jiripetrlik@gmail.com>

  1. … 82 more files in changeset.
Drools 3339 - Regression model - codegeneration version (#2808)

* [DROOLS-4933] Scheleton implementation.

* [DROOLS-4933] Add UMLs

* [DROOLS-4933] Refactor module layout to include KiePMMLRuntime implementation

* [DROOLS-4933] Refactoring

* [DROOLS_4933] Begin Regression model runtime implementation

* [DROOLS-4933] Implemented regression model test

* [DROOLS-4933] Add models

* [DROOLS-4933] Add PMML compiler test

* [DROOLS-4933] Implemented compiler and assembler, with tests

* [DROOLS-4933] Switched version. Moved ResourceHelper to kie-test-util package

* [DROOLS-4933] Implemented integration test module. Full roundtrip test for linear regression

* [DROOLS-4933] Implementing full roundtrip test with full kie integration - test not working

* [DROOLS-4933] Implementing PMMLWeaverService. Fixing integration test setup

* [DROOLS-4933] Begin implementation of drools-based Tree model

* [DROOLS-4933] Fixing old KieBaseTest

* [DROOLS-4933] Begin implementation of Tree model with tests

* [DROOLS-4933] Keep going with implementation of Tree model and tests

* [DROOLS-4933] Renaming previous implementation to kie-pmml-legacy. Updating dependant modules to reflect that

* [DROOLS-4933] Fixing linear regression roundtrip test. Implementing finder

* [DROOLS-4933] Commenting execution logic from Tree model. Begin model test implementation

* [DROOLS-4933] Done TreeModelImplementationProviderTest stub. Add True/False predicates.

* [DROOLS-4933] First TreeModel (drools) iteration done with empty rule

* [DROOLS-4933] TreeModel (drools) iteration done with golfing model example test

* [DROOLS-4933] Refactored builders. Begin MiningModel implementation

* [DROOLS-4933] Keep working on MiningModel implementation

* [DROOLS-4933] Begin kie-pmml-mining model

* [DROOLS-4933] Cleanup poms

* [DROOLS-4933] Created pmml-models archetype

* [DROOLS-4933] Created pmml-model-mining

* [DROOLS-4933] Refactoring

* [DROOLS-4933] Created pmml-runtime archetype

* [DROOLS-4933] Created pmml-runtime-mining

* [DROOLS-4933] Implemented library-commons module

* [DROOLS-4933] Refactored log. Keep working on mining model.

* [DROOLS-4933] Fixing archetypes' poms

* [DROOLS-4933] Add Tree model overall implementation strategy description

* [DROOLS-4933] Refactored log. Updated implementation.md

* [DROOLS-4933] First implmentation of KiePMMLDescrFactory

* [DROOLS-4933] Refactoring - reorganizing modules

* [DROOLS-4933] Fixed refactoring - Tree runtime broken

* [DROOLS-4933] Keep refactoring - moved models

* [DROOLS-4933] Adapting archetype. Not completely working

* [DROOLS-4933] Renamed kie-pmml to kie-pmml-refactoring

* [DROOLS-4933] Restored kie-pmml-legacy to kie-pmml

* [DROOLS-4933] Create PMML refactoring skeleton

* [DROOLS-4933] Add test utility methods. Fixed pom

* [DROOLS-3339] Begin refactoring of regression model with new architecture

* [DROOLS-4933] Add tests to kie-test-util

* [DROOLS-4933] Add assertions to tests inside kie-test-util

* [DROOLS-3339] Begin Regression model implementation

* [DROOLS-3339] Add tests to IsRegressionModel. Make KiePMMLRegressionModel constructor protected

* [DROOLS-3339] Add some fixes as per sonar suggestion

* [DROOLS-4933] Format

* [DROOLS-4933] Moving kie-pmml-api to kie-pmml-commons

* [DROOLS-4933] Renamed kie-pmml-refactoring to kie-pmml-new

* [WIP] Renamed modules

* [WIP] Keep renaming/refactoring

* [DROOLS-3339] Begin test implementation

* [DROOLS-3339] Merge refactoring

* [DROOLS-3339] Merge refactoring

* [DROOLS-3339] Begin integrationg of tests from previous implementation. Refactoring predictors.

* [DROOLS-3339] Reorganizing resources in integration test. Fixing broken pmmls

* [DROOLS-3339] Fixed regression. Begin fixing classification. Add outputfields

* [DROOLS-3339] Fixed classification and add some whole-model test. Start increasing unittesting

* [DROOLS-3339] Updated name refactoring

* [DROOLS-3339] Changed log level.

* [DROOLS-3339] Sync with base pr

* [DROOLS-3339] Update version

* [DROOLS-3339] Merging master

* [DROOLS-3339] Fixing merge with master

* [DROOLS-3339] Fixing merge with master

* [DROOLS-3339] Fixing merge with master

* [DROOLS-3339] Fix merge with master

* [DROOLS-3339] Fix merge with master

* [DROOLS-3339] Fixing merge with master

* Example of simple test for whole model

* [DROOLS-3339] Implementing factories unit tests

* [DROOLS-3339] Changed outputfield - target field to Optional

* [DROOLS-3339] Add tests

* [DROOLS-3339] Refactoring kie-pmml-models-regression-api -> kie-pmml-models-regression-model

* Parameterize and polish NumericVariablesLinearRegressionTest

* [DROOLS-3339] Keep testing

* Change package name for PMML regression tests

* [DROOLS-3339] Fixing/refactoring ClassificationModelEvaluator. Implemented tests

* [DROOLS-5099] PMML tests for regression with numeric inputs

* [DROOLS-3339] Done ClassificationModelEvaluator tests

* [DROOLS-3339] Refactored RegressionModelEvaluator; add tests

* [DROOLS-3339] Implemented PMMLRegressionModelUtilsTest

* [DROOLS-3339] Implemented PMMLRegressionModelExecutorTest

* [DROOLS-3339] Implemented Predictors tests

* [DROOLS-3339] Implement PMMLRegressionModelExecutorTest

* [DROOLS-3339] Fixing Sonar remarks

* [DROOLS-3339] Fixing Sonar remarks

* [DROOLS-3339] Removed "Optional" properties from model

* [DROOLS-5099] Tests for logistic regression

* [DROOLS-5099] Test also probabilities in logistic regression

* [DROOLS-3339] Simplify abstract hierarchy. Removing "Serializable" interfaces

* [DROOLS-3339] Simplify abstract hierarchy. Removing "Serializable" interfaces

* [DROOLS-3339] Fixed as per PR suggestions

* [DROOLS-5099] Test for normalization methods in regression

* [DROOLS-5099] WIP: Test logistic regression normalization methods

* [DROOLS-5099] Finish test for logistic regression normalization methods

* [DROOLS-5099] Improve PMML loading

* [DROOLS-3339] Generating RegressionTable source

* [DROOLS-3339] Compiling generated classes. Returned new instance of generated model

* [DROOLS-3339] Test working

* [DROOLS-3339] Fixing ClassificationTableTemplate - add missing import

* [DROOLS-3339] Begin benchmark implementation

* [DROOLS-3339] Updated codegen benchmark

* [DROOLS-3339] Refactoring inner compiler

* [DROOLS-3339] Refactoring inner compiler

* [DROOLS-3339] Keep working on Benchmarks

* [DROOLS-3339] Fix broken tests

* [DROOLS-3339] Fix benchmarks

* [DROOLS-3339] Fix import

* [DROOLS-3339] Fix benchmark

* [DROOLS-3339] Rename test classes. Minor fix inside Classification table generation. Remove stream from templates

* [DROOLS-3339] Fix benchmark. Fix model tests

* [DROOLS-3339] Fix as per PR suggestion

* [DROOLS-3339] Fix as per PR suggestion

* [DROOLS-3339] Missing bits. Completely remove use of optionals in factories

Co-authored-by: Jiri Petrlik <jiripetrlik@gmail.com>

    • -0
    • +50
    ./resources/KiePMMLRegressionTableClassification1.java
    • -0
    • +141
    ./resources/KiePMMLRegressionTableRegression1.java
    • -0
    • +26
    ./resources/LinearRegressionSample.xml
    • -0
    • +32
    ./resources/test_regression.pmml
    • -0
    • +49
    ./resources/test_regression_clax.pmml
  1. … 107 more files in changeset.