spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BenFradet <...@git.apache.org>
Subject [GitHub] spark pull request: [SPARK-11963][DOC] Add docs for QuantileDiscre...
Date Thu, 03 Dec 2015 15:09:25 GMT
Github user BenFradet commented on a diff in the pull request:

    https://github.com/apache/spark/pull/9962#discussion_r46562444
  
    --- Diff: docs/ml-features.md ---
    @@ -1705,6 +1705,71 @@ print(output.select("features", "clicked").first())
     </div>
     </div>
     
    +## QuantileDiscretizer
    +
    +`QuantileDiscretizer` takes a column with continuous features and outputs a column with
binned
    +categorical features.
    +The bin ranges are chosen by taking a sample of the data and dividing it into roughly
equal parts.
    +The lower and upper bin bounds will be `-Infinity` and `+Infinity`, covering all real
values.
    +This attempts to find numBuckets partitions based on a sample of the given input data,
but it may
    +find fewer depending on the data sample values.
    +
    +Note that the result may different every time you run it, since the sample strategy behind
it is
    --- End diff --
    
    "may be different" or "may differ" but not "may different"


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


Mime
View raw message