Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • ML
    • None

    Description

      `Binarizer` takes a column of continuous features and output a column with binary features, where nonzeros (or values below a threshold) become 1 in the output.

      val binarizer = new Binarizer()
        .setInputCol("numVisits")
        .setOutputCol("visited")
      

      The output column should be marked as binary. We need to discuss whether we should process multiple columns or a vector column.

      Attachments

        Issue Links

          Activity

            People

              viirya L. C. Hsieh
              mengxr Xiangrui Meng
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: