kie-pmml-models-drools-scorecard

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)

    • -66
    • +0
    ./kie-pmml-models-drools-scorecard-compiler/pom.xml
    • -2
    • +0
    ./kie-pmml-models-drools-scorecard-compiler/src/main/resources/META-INF/services/org.kie.pmml.compiler.api.provider.ModelImplementationProvider
    • -112
    • +0
    ./kie-pmml-models-drools-scorecard-compiler/src/test/resources/ScorecardSample.pmml
    • -58
    • +0
    ./kie-pmml-models-drools-scorecard-evaluator/pom.xml
    • -2
    • +0
    ./kie-pmml-models-drools-scorecard-evaluator/src/main/resources/META-INF/services/org.kie.pmml.evaluator.core.executor.PMMLModelEvaluator
  1. … 879 more files in changeset.
Drools 5372 - Implement PMML coexistence (#2948)

* [Drools-5373] Refactored PMMLAssembler - implemented two delegates PMMLCompilerService and PMMLLoaderService

* [DROOLS-5372] Implement dynamic ResourceType switch inside PMMLAssemblerService(s)

* [DROOLS-5372] Using PMMLConstants for system property retrieval/setting

* [DROOLS-5372] Implementing AbstractDMNKiePMMLInvocationEvaluator and DMNKiePMMLNewInvocationEvaluator. Refactored DMNKiePMMLInvocationEvaluator. Implement switch between them inside AbstractPMMLInvocationEvaluator

* [DROOLS-5372] Fixing bug with nested node containing only a True predicate. Add test

* [DROOLS-5372] Working on DMN-PMML implementation

* [DROOLS-5423] Declaring glassfish jaxb-runtime dependency for JDK >= 11 to maintain compiler functionality in such environments

* [DROOLS-5372] Add specific message for missing PMML result. Working on tests (currently broken when run together)

* [DROOLS-5258] Working with tests. Currently broken if DMNTreePMMLTest and DMNTreePMMLNewImplTest run concurrently.

LOT of System.out.println to remove

* [DROOLS-5372] Working with tests. Currently broken if DMNTreePMMLTest and DMNTreePMMLNewImplTest run concurrently.

LOT of System.out.println to remove

* [DROOLS-5372] Implemented reset workaround

* [DROOLS-5372] Fixed DMN-PMML tests

* [DROOLS-5372] Replaced ContextClassLoader.loadClass(...) with Class.forName(...)

* [DROOLS-5372] Add kie-pmml-new to drools build

* [DROOLS-5372] Excluding dependencies from org.kie:kie-test-util due to ban-duplicated-classes enforcer rule fired on FDB

* [DROOLS-5372] Excluding dependencies due to ban-duplicated-classes enforcer rule fired on FDB

* [DROOLS-5372] Fixed as per PR suggestion

* [DROOLS-5372] Fixed as per PR suggestion

* [DROOLS-5372] Revert empty spaces/formatting modification

    • -0
    • +10
    ./kie-pmml-models-drools-scorecard-compiler/pom.xml
    • -0
    • +10
    ./kie-pmml-models-drools-scorecard-evaluator/pom.xml
    • -0
    • +10
    ./kie-pmml-models-drools-scorecard-tests/pom.xml
  1. … 47 more files in changeset.
updated to 7.39.1-SNAPSHOT

    • -1
    • +1
    ./kie-pmml-models-drools-scorecard-compiler/pom.xml
    • -1
    • +1
    ./kie-pmml-models-drools-scorecard-evaluator/pom.xml
    • -1
    • +1
    ./kie-pmml-models-drools-scorecard-model/pom.xml
    • -1
    • +1
    ./kie-pmml-models-drools-scorecard-tests/pom.xml
  1. … 113 more files in changeset.
upgraded to next SNAPSHOT version

    • -1
    • +1
    ./kie-pmml-models-drools-scorecard-compiler/pom.xml
    • -1
    • +1
    ./kie-pmml-models-drools-scorecard-evaluator/pom.xml
    • -1
    • +1
    ./kie-pmml-models-drools-scorecard-model/pom.xml
    • -1
    • +1
    ./kie-pmml-models-drools-scorecard-tests/pom.xml
  1. … 113 more files in changeset.
[DROOLS-5381] Implemented code-generation for TreeModel (#2930)

* [DROOLS-5381] Implemented code-generation for TreeModel. Put common code in KiePMMLDroolsModelFactoryUtils. Implemented tests

* [DROOLS-5381] Fixed as per PR request

* [DROOLS-5381] Fixed as per PR suggestion

  1. … 9 more files in changeset.
Drools 5360 - Avoid direct invocation of PMMLModelExecutor.evaluate (#2918)

* [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

* [DROOLS-5360] Renaming PMMLModelExecutor -> PMMLModelEvaluator for consistency

* [DROOLS-5360] Keep renaming

* [DROOLS-5360] Refactored Scorecard tests

* [DROOLS-5360] Refactored Tree tests

* [DROOLS-5360] Refactored integration tests to avoid direct call to "private" KiePMMLModelEvaluator API

* [DROOLS-5360] Fixed as per PR suggestion

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

    • -0
    • +2
    ./kie-pmml-models-drools-scorecard-evaluator/src/main/resources/META-INF/services/org.kie.pmml.evaluator.core.executor.PMMLModelEvaluator
    • -0
    • +5
    ./kie-pmml-models-drools-scorecard-tests/pom.xml
    • -50
    • +0
    ./kie-pmml-models-drools-scorecard-tests/src/test/resources/BasicComplexPartialScore.pmml
    • -60
    • +0
    ./kie-pmml-models-drools-scorecard-tests/src/test/resources/CompoundNestedPredicateScorecard.pmml
    • -75
    • +0
    ./kie-pmml-models-drools-scorecard-tests/src/test/resources/CompoundPredicateScorecard.pmml
    • -59
    • +0
    ./kie-pmml-models-drools-scorecard-tests/src/test/resources/NestedComplexPartialScore.pmml
    • -38
    • +0
    ./kie-pmml-models-drools-scorecard-tests/src/test/resources/SimpleScorecard.pmml
  1. … 93 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>

    • -0
    • +4
    ./kie-pmml-models-drools-scorecard-compiler/pom.xml
    • -0
    • +2
    ./kie-pmml-models-drools-scorecard-compiler/src/main/resources/META-INF/services/org.kie.pmml.compiler.api.provider.ModelImplementationProvider
    • -2
    • +0
    ./kie-pmml-models-drools-scorecard-compiler/src/main/resources/META-INF/services/org.kie.pmml.library.api.implementations.ModelImplementationProvider
    • -0
    • +2
    ./kie-pmml-models-drools-scorecard-evaluator/src/main/resources/META-INF/services/org.kie.pmml.evaluator.core.executor.PMMLModelExecutor
    • -0
    • +33
    ./kie-pmml-models-drools-scorecard-model/src/main/resources/KiePMMLScorecardModelTemplate.tmpl
  1. … 101 more files in changeset.
upgraded to 7.39.0-SNAPSHOT

    • -1
    • +1
    ./kie-pmml-models-drools-scorecard-compiler/pom.xml
    • -1
    • +1
    ./kie-pmml-models-drools-scorecard-evaluator/pom.xml
    • -1
    • +1
    ./kie-pmml-models-drools-scorecard-model/pom.xml
    • -1
    • +1
    ./kie-pmml-models-drools-scorecard-tests/pom.xml
  1. … 114 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>

    • -0
    • +52
    ./kie-pmml-models-drools-scorecard-compiler/pom.xml
    • -0
    • +2
    ./kie-pmml-models-drools-scorecard-compiler/src/main/resources/META-INF/services/org.kie.pmml.library.api.implementations.ModelImplementationProvider
    • -0
    • +112
    ./kie-pmml-models-drools-scorecard-compiler/src/test/resources/ScorecardSample.pmml
    • -0
    • +48
    ./kie-pmml-models-drools-scorecard-evaluator/pom.xml
    • -0
    • +2
    ./kie-pmml-models-drools-scorecard-evaluator/src/main/resources/META-INF/services/org.kie.pmml.runtime.core.executor.PMMLModelExecutor
  1. … 68 more files in changeset.