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

OneHotEncoder should support single-column input/ouput

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • ML, PySpark
    • None

    Description

      Current feature algs (QuantileDiscretizer/Binarizer/Bucketizer/StringIndexer) are designed to support both single-col & multi-col.

      And there is already some internal utils (like checkSingleVsMultiColumnParams) for this.

      For OneHotEncoder, it's reasonable to support single-col.

       

      Attachments

        Activity

          People

            huaxingao Huaxin Gao
            podongfeng Ruifeng Zheng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: