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

StringIndexer should convert input to Strings

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4.0
    • 1.4.0
    • ML
    • None

    Description

      StringIndexer should convert non-String input types to String. That way, it can handle any basic types such as Int, Double, etc.

      It can convert any input type to strings first and store the string labels (instead of an arbitrary type). That will simplify model export/import.

      Attachments

        Issue Links

          Activity

            People

              mengxr Xiangrui Meng
              josephkb Joseph K. Bradley
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: