Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-17498

StringIndexer.setHandleInvalid should have another option 'new'

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0
    • Component/s: ML
    • Labels:
      None

      Description

      That will map unseen label to maximum known label +1, IndexToString would map that back to "<undef>" or NA if there is something like that in spark,

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                VinceXie Vincent
                Reporter:
                miro.balaz Miroslav Balaz
                Shepherd:
                Joseph K. Bradley
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: