-
Notifications
You must be signed in to change notification settings - Fork 43
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
Invalid lambda deserialization at org.shaded.jpmml.evaluator.OutputFilters.$deserializeLambda$ #26
Comments
This is the code location: Maybe this whole Anyway, it's extremely strange, that this deserialization error happens with some model types (eg |
@vruusmann appreciate your swift response. We will investigate and will post findings. |
@vruusmann Thanks for fixing this issue, appreciate your help. |
@Ibrahim2008 The current version uses these lambda-based output filters by default; if they break your application, then simply replace them with custom manually-created ones: EvaluatorBuilder evaluatorBuilder = new ModelEvaluatorBuilder(pmml)
setOutputFilter(new OutputFilter(){
@Override
public boolean test(org.dmg.pmml.OutputField outputField){
// Do whatever is appropriate
}
});
Evaluator evaluator = evaluatorBuilder.build(); |
Hi There,
I have been using this library in my project. I am getting following error when i run K-means clustering algorithm(or any other clustering algorithms) on hadoop data lake.
It works fine on the standalone machine, but only fails on data lake when run in yarn cluster mode. Interesting point to mention that logistic regression, xgBoost ,decision Tree classification algorithms works fine on both standalone and yarn-cluster.
I am pasting error stack trace down below, snippet of program and pom-xml file content.
Note that it throws java.lang.IllegalArgumentException: Invalid lambda deserialization
at org.shaded.jpmml.evaluator.OutputFilters.$deserializeLambda$OutputFilters.java
Error:
My Program is:
My Pom file looks like this:
Appreciate your help in resolving this issue.
Thanks in advance.
Regards,
Ibrahim.
The text was updated successfully, but these errors were encountered: