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

PMML 4.2 compatible #25

Closed
mrshanth opened this issue Feb 9, 2017 · 4 comments
Closed

PMML 4.2 compatible #25

mrshanth opened this issue Feb 9, 2017 · 4 comments

Comments

@mrshanth
Copy link

mrshanth commented Feb 9, 2017

The following link which had the PMML 4.2 compatible version, provided in the Google groups is not available anymore:
https://github.com/jpmml/sklearn2pmml.git@8304e7466c9138a081aa09ca1a3af5c74c8df150

I tried installing the older version of sklearn2pmml from local directory. I tried versions which were committed before Aug 2016, but installation is not proper. PMMLPipeline is not available.

from sklearn2pmml import P 
pkg_resources platform

The other versions also have the same issue. Kindly, suggest a solution.

@vruusmann
Copy link
Member

vruusmann commented Feb 9, 2017

Commit identifiers got updated in early February 2017 when tagging all sklearn2pmml release versions. So, let's talk in terms of release versions (see https://github.com/jpmml/sklearn2pmml/releases), not commit identifiers, from now on.

To produce PMML 4.2, you must use a sklearn2pmml release version that includes JPMML-SkLearn version 1.0-SNAPSHOT dependency. The last one to do so is version 0.9.7:
https://github.com/jpmml/sklearn2pmml/releases/tag/0.9.7

You should be able to get it like this:

pip install --user git+https://github.com/jpmml/sklearn2pmml.git@0.9.7

@vruusmann
Copy link
Member

vruusmann commented Feb 9, 2017

PMMLPipeline is not available.

Python class sklearn2pmml.PMMLPipeline was introduced in sklearn2pmml version 0.14.0.

If you're using a legacy version of sklearn2pmml package (such as 0.9.7), then you must consult the corresponding README.md file for usage instructions.

@mrshanth
Copy link
Author

mrshanth commented Feb 9, 2017

Thanks.

@liaicheng
Copy link

which release for PMML 4.2 is the lastest?

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