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

StringIndexer.setHandleInvalid should have another option 'new'

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.2.0
    • ML
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: