spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiangrui Meng (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-5893) Add Bucketizer
Date Wed, 18 Feb 2015 19:29:11 GMT
Xiangrui Meng created SPARK-5893:
------------------------------------

             Summary: Add Bucketizer
                 Key: SPARK-5893
                 URL: https://issues.apache.org/jira/browse/SPARK-5893
             Project: Spark
          Issue Type: Sub-task
          Components: ML
            Reporter: Xiangrui Meng


`Bucketizer` maps a column of continuous features to a column of feature buckets, where the
buckets are specified by users.

{code}
val bucketizer = new Bucketizer()
  .setInputCol("age")
  .setBuckets(Array(10, 20, 30, 40, 50))
  .setOutputCol("ageBuckets")
{code}

The output feature names should be automatically generated. We need to discuss the behavior
if a value falls out the specified bucket range.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message