Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.5.2
-
None
-
None
Description
I'm consistently getting "java.util.NoSuchElementException: key not found: 1.0" while trying to do a prediction on a trained model.
I use ml package - Pipeline API. The model is successfully trained, I see some stats in the output: total, findSplitsBins, findBestSplits, chooseSplits. I can even serialize it into a file and use afterwards, but the prediction is broken somehow.
Code, input data and stack trace attached.
Attachments
Attachments
Issue Links
- duplicates
-
SPARK-12375 VectorIndexer: allow unknown categories
- Resolved