Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

column_bucketized

Construct a Bucketized Column


Description

Construct a bucketized column, representing discretized dense input. Buckets include the left boundary, and exclude the right boundary.

Usage

column_bucketized(source_column, boundaries)

Arguments

source_column

A one-dimensional dense column, as generated by column_numeric().

boundaries

A sorted list or list of floats specifying the boundaries.

Value

A bucketized column.

Raises

  • ValueError: If source_column is not a numeric column, or if it is not one-dimensional.

  • ValueError: If boundaries is not a sorted list or list.

See Also


tfestimators

Interface to 'TensorFlow' Estimators

v1.9.1
Apache License 2.0
Authors
JJ Allaire [aut], Yuan Tang [aut] (<https://orcid.org/0000-0001-5243-233X>), Kevin Ushey [aut], Kevin Kuo [aut, cre] (<https://orcid.org/0000-0001-7803-7901>), Daniel Falbel [ctb, cph], RStudio [cph, fnd], Google Inc. [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.