Closed kuanghan closed 1 year ago
0.028890975887470915
vs.0.02889097588747802
The difference is in ~13th -- 14th decimal place, which indicates some "external" numerical stability issue. Could be caused by MacOS, could be caused by OpenJDK or its versions.
The official GitHub Actions CI build runs on GNU/Linux, with JDK versions 8, 11 and 17: https://github.com/jpmml/jpmml-sklearn/blob/master/.github/workflows/maven.yml
Maybe it would be good to add more alternative builds there, such as Windows and MacOS.
But then again, you're not supposed to build the JPMML-SkLearn command-line application from source checkout for everyday use. There's a perfectly good collection of pre-built applications available under the "Releases" section: https://github.com/jpmml/jpmml-sklearn/releases
In the meantime, you can disable Apache Maven unit tests like this:
$ mvn -Dmaven.test.skip=true clean install
Thank you so much for the fast reply! I will check out the pre-built JAR files.
Hi, I cloned this repo and attempted to install, but ran into the following test error:
Here are some info about my system:
Can anyone help me with this? I'm not that familiar with java at all (I mostly use Python) but I'd like to use this to serialize scikit-learn preprocessing pipelines. Thanks!