Description
Currently when handleInvalid is set to 'keep' or 'skip' this only applies to String fields. Numeric fields that are null will either cause the transformer to fail or might be null in the resulting label column.
I'm not sure what the semantics of keep might be for numeric columns with null values, but we should be able to at least support skip for these types.
--> Discussed offline: null values can be converted to NaN values for "keep"
Attachments
Issue Links
- relates to
-
SPARK-19947 RFormulaModel always throws Exception on transforming data with NULL or Unseen labels
- Resolved
- links to