Hi Leonid,
> > Are you trying to combine these libraries into one Java application,
> or two different Java applications
>
> I need to combine them in one application.
>
You should always try combining "latest evaluator version" with the
"latest converter version" first
I'm doing my best to ensure that this principle works. For example,
every time when I do a new JPMML-Model version, I propagate it to the
end of both evaluator and converter branches in two-three days max.
Forgot to mention it earlier, but the
'org.jpmml:pmml-evaluator-extension' module was merged into the main
`org.jpmml:pmml-evaluator` module during the JPMML-Evaluator 1.5.X ->
1.6.X upgrade. So, you should be deleting the standalone
'org.jpmml:pmml-evaluator-extension:1.5.15' module from your
application classpath.
Eff me, this stuff should be documented somewhere.
>
> I've tried several other 1.7.* versions, and got the same error.
> So it appears like a SHA1 mismatch error. Version 1.6 is downloaded correctly
>
When making JPMML library releases, then both Apache Maven and the
initial upload repository (Sonatype OSS) run a comprehensive set of
checks to ensure that uploaded files are correct.
What's happening here is something different.
During the JPMML-SkLearn 1.6.X -> 1.7.X upgrade the project was modularized.
In 1.6.X, there is a single module with 'org.jpmml:jpmml-sklearn'
coordinates (note the letter "j" in the beginning of the artifactId).
In 1.7.X, there are multiple modules; the main module (provides
Scikit-Learn and SkLearn2PMML package compatibility) is now called
'org.jpmml:pmml-sklearn' (note that there is no "j" prefix in the
beginning of the artifactId!). If you want to add support for 3rd
party Python packages, you must include additional
'org.jpmml:pmml-sklearn-<package>' dependencies.
For example, if you want to support XGBoost-via-SkLearn uploads, then
you would also need to add the 'org.jpmml:pmml-sklearn-xgboost'
dependency to your application classpath.
The SkLearn2PMML package provides an example how to include everything:
https://github.com/jpmml/sklearn2pmml/blob/0.90.2/pom.xml#L35-L106
TLDR: In your SBT configuration, replace
"org.jpmml:jpmml-sklearn:1.6.30" with "org.jpmml:pmml-sklearn:1.7.22"
(plus whatever extensions your application may need), and everything
should build and run nicely.
Villu