Closed robin-su closed 6 years ago
The skip
value of StringIndexer#handleInvalid
param is not supported, because it doesn't make sense from the model evaluation perspective (the model evaluator should consume a data record, and return a void
result?).
The workaround is to specify error
as param value, and implement the skip logic manually:
try {
evaluator.evaluate(arguments);
} catch(InvalidResultException ire){
// Skip data record
}
I am using spark2.1.1 and jpmml 1.2.12 in execution, reporting the following error: