Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

license clarification for pmml files #6165

Open
tkobayas opened this issue Nov 20, 2024 · 4 comments
Open

license clarification for pmml files #6165

tkobayas opened this issue Nov 20, 2024 · 4 comments

Comments

@tkobayas
Copy link
Contributor

tkobayas commented Nov 20, 2024

$ grep -r -i -I copyright | grep -v ASF  | grep -v Apache | grep -v APACHE | grep -v pre-rebase.sample | grep -v CsvLineParser.java | grep -v drools-docs | grep -v JavaLexer.g4 | grep -v JavaParser.g4 | grep -v mvel.jj | grep -v -E '^LICENSE:' | grep -v -E '^NOTICE:'
kie-dmn/kie-dmn-pmml-tests-parent/kie-dmn-pmml-tests/src/test/resources/org/kie/dmn/pmml/test_naive_bayes.pmml: <Header copyright="Copyright (c) 2020 jovyan" description="NaiveBayes Model">
kie-dmn/kie-dmn-ruleset2dmn-parent/kie-dmn-ruleset2dmn/src/test/resources/Churn Rules from SPSS Modeler.xml:  <Header copyright="(C) Copyright IBM Corp. 1994, 2021">
kie-dmn/kie-dmn-ruleset2dmn-parent/kie-dmn-ruleset2dmn/src/test/resources/adult.pmml:    <Header copyright="Copyright IBM Corp, exported to PMML by Nyoka (c) 2022 Software AG" description="Default description">
kie-dmn/kie-dmn-ruleset2dmn-parent/kie-dmn-ruleset2dmn/src/test/resources/churn.pmml:    <Header copyright="Copyright IBM Corp, exported to PMML by Nyoka (c) 2022 Software AG" description="Default description">
kie-dmn/kie-dmn-ruleset2dmn-parent/kie-dmn-ruleset2dmn/src/test/resources/iris.pmml:    <Header copyright="Copyright IBM Corp, exported to PMML by Nyoka (c) 2022 Software AG" description="Default description">
kie-dmn/kie-dmn-ruleset2dmn-parent/kie-dmn-ruleset2dmn/src/test/resources/miniloan.pmml:    <Header copyright="Copyright IBM Corp, exported to PMML by Nyoka (c) 2022 Software AG" description="Default description">
kie-dmn/kie-dmn-ruleset2dmn-parent/kie-dmn-ruleset2dmn/src/test/resources/toto.pmml:    <Header copyright="Copyright IBM Corp, exported to PMML by Nyoka (c) 2022 Software AG" description="Default description">
kie-dmn/kie-dmn-ruleset2dmn-parent/kie-dmn-ruleset2dmn/src/test/resources/wifi.pmml:    <Header copyright="Copyright IBM Corp, exported to PMML by Nyoka (c) 2022 Software AG" description="Default description">
kie-maven-plugin/src/it/kie-maven-plugin-test-kjar-12/src/main/resources/singleiriskmeansclustering/SingleIrisKMeansClustering.pmml:  <Header copyright="KNIME">
kie-maven-plugin/src/test/resources/unit/pmml/resources/singleiriskmeansclustering/SingleIrisKMeansClustering.pmml:  <Header copyright="KNIME">
kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/MultipleTargetsFieldSample.pmml:  <Header copyright="DMG.org"/>
kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/NoModelNameNoSegmentIdNoSegmentTargetFieldSample.pmml:  <Header copyright="KNIME">
kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/NoModelNameNoSegmentIdSample.pmml:  <Header copyright="KNIME">
kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/NoModelNameSample.pmml:  <Header copyright="DMG.org"/>
kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/NoOutputFieldTargetNameSample.pmml:  <Header copyright="www.dmg.org" description="A very small binary tree model to show structure."/>
kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/NoTargetFieldSample.pmml:  <Header copyright="www.dmg.org" description="A very small binary tree model to show structure."/>
kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/OneMiningTargetFieldSample.pmml:  <Header copyright="www.dmg.org" description="A very small binary tree model to show structure."/>
kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-commons/src/test/resources/TreeSample.pmml:  <Header copyright="www.dmg.org" description="A very small binary tree model to show structure."/>
kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-core/src/test/resources/LinearRegressionSample.pmml:    <Header copyright="DMG.org"/>
kie-pmml-trusty/kie-pmml-compiler/kie-pmml-compiler-core/src/test/resources/LinearRegressionSample.xml:  <Header copyright="DMG.org"/>
kie-pmml-trusty/kie-pmml-models/kie-pmml-models-clustering/kie-pmml-models-clustering-compiler/src/test/resources/SingleIrisKMeansClustering.pmml:  <Header copyright="KNIME">
kie-pmml-trusty/kie-pmml-models/kie-pmml-models-clustering/kie-pmml-models-clustering-tests/src/main/resources/clusterwithtransformations/ClusterWithTransformations.pmml:  <Header copyright="KNIME">
kie-pmml-trusty/kie-pmml-models/kie-pmml-models-clustering/kie-pmml-models-clustering-tests/src/main/resources/singleiriskmeansclustering/SingleIrisKMeansClustering.pmml:  <Header copyright="KNIME">
kie-pmml-trusty/kie-pmml-models/kie-pmml-models-clustering/kie-pmml-models-clustering-tests/src/main/resources/singleiriskmeansclustering/SingleIrisKMeansClustering_id.pmml:  <Header copyright="KNIME">
kie-pmml-trusty/kie-pmml-models/kie-pmml-models-drools/kie-pmml-models-drools-tree/kie-pmml-models-drools-tree-compiler/src/test/resources/TreeSample.pmml:  <Header copyright="www.dmg.org" description="A very small binary tree model to show structure."/>
kie-pmml-trusty/kie-pmml-models/kie-pmml-models-drools/kie-pmml-models-drools-tree/kie-pmml-models-drools-tree-evaluator/src/test/resources/TreeSample.pmml:  <Header copyright="www.dmg.org" description="A very small binary tree model to show structure."/>
kie-pmml-trusty/kie-pmml-models/kie-pmml-models-mining/kie-pmml-models-mining-compiler/src/test/resources/MiningModel_Mixed.pmml:  <Header copyright="KNIME">
kie-pmml-trusty/kie-pmml-models/kie-pmml-models-mining/kie-pmml-models-mining-compiler/src/test/resources/MiningModel_NoSegmentId.pmml:  <Header copyright="KNIME">
kie-pmml-trusty/kie-pmml-models/kie-pmml-models-mining/kie-pmml-models-mining-compiler/src/test/resources/MiningModel_Regression.pmml:  <Header copyright="KNIME">
kie-pmml-trusty/kie-pmml-models/kie-pmml-models-mining/kie-pmml-models-mining-compiler/src/test/resources/MiningModel_Scorecard.pmml:  <Header copyright="KNIME">
kie-pmml-trusty/kie-pmml-models/kie-pmml-models-mining/kie-pmml-models-mining-compiler/src/test/resources/MiningModel_SegmentId.pmml:  <Header copyright="KNIME">
kie-pmml-trusty/kie-pmml-models/kie-pmml-models-mining/kie-pmml-models-mining-compiler/src/test/resources/MiningModel_TreeModel.pmml:  <Header copyright="KNIME">
kie-pmml-trusty/kie-pmml-models/kie-pmml-models-mining/kie-pmml-models-mining-tests/src/main/resources/mixedmining/MiningModel_Mixed.pmml:  <Header copyright="KNIME">
kie-pmml-trusty/kie-pmml-models/kie-pmml-models-mining/kie-pmml-models-mining-tests/src/main/resources/multiplemining/MultipleMining.pmml:  <Header copyright="KNIME">
kie-pmml-trusty/kie-pmml-models/kie-pmml-models-mining/kie-pmml-models-mining-tests/src/main/resources/predicatesmining/MiningModel_Predicates.pmml:  <Header copyright="KNIME">
kie-pmml-trusty/kie-pmml-models/kie-pmml-models-mining/kie-pmml-models-mining-tests/src/main/resources/randomforestclassifiermining/RandomForestClassifier.pmml:  <Header copyright="Copyright (c) 2018 Software AG" description="Default Description">
kie-pmml-trusty/kie-pmml-models/kie-pmml-models-regression/kie-pmml-models-regression-compiler/src/test/resources/LinearRegressionSample.pmml:  <Header copyright="DMG.org"/>
kie-pmml-trusty/kie-pmml-models/kie-pmml-models-regression/kie-pmml-models-regression-tests/src/main/resources/linearregressionsamplewithtransformations/LinearRegressionSampleWithTransformations.pmml:  <Header copyright="DMG.org"/>
kie-pmml-trusty/kie-pmml-models/kie-pmml-models-tests/src/test/resources/MiningModel_Mixed.pmml:    <Header copyright="KNIME">
kie-pmml-trusty/kie-pmml-models/kie-pmml-models-tree/kie-pmml-models-tree-compiler/src/test/resources/TreeSample.pmml:  <Header copyright="www.dmg.org" description="A very small binary tree model to show structure."/>
kie-pmml-trusty/kie-pmml-models/kie-pmml-models-tree/kie-pmml-models-tree-compiler/src/test/resources/TreeSimplified.pmml:  <Header copyright="www.dmg.org" description="A very small binary tree model to show structure."/>

@baldimir @gitgabrio Could you kindly confirm if these pmml files are valid to have Apache License? They have a word copyright so they were probably generated by tools or taken from some web sites.

I guess checking all those files wouldn't be quick, so for 10.0.x, I'll file a PR to remove those files and disable tests as a temporal workaround.

@gitgabrio
Copy link
Contributor

Thanks @tkobayas
I'll take a look

@gitgabrio
Copy link
Contributor

@tkobayas @baldimir @porcelli

Those files have been taken from official PMML site, here.
They are meant to be publicly available, but I could not find any mention to any kind of license.

@porcelli
Copy link
Contributor

I found this https://dmg.org/documents/dmg-pmml-license-2017.pdf

Unfortunately it's not clear if it applies to examples =/

@tkobayas
Copy link
Contributor Author

Sent an email to DMG to confirm the license CC'ing you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants