| [ Web Proxy ] |
| Viewing: https://dataframes.bigquery.dev/reference/api/bigframes.ml.preprocessing.KBinsDiscretizer.html | [Back] [Original] |
Section Navigation
Bin continuous data into intervals.
n_bins (int, default 5) The number of bins to produce. Raises ValueError if n_bins < 2.
strategy ({'uniform', 'quantile'}, default='quantile') Strategy used to define the widths of the bins. uniform: All bins in each feature have identical widths. quantile: All bins in each feature have the same number of points.
Fit the estimator.
X (bigframes.dataframe.DataFrame or bigframes.series.Series or pandas.core.frame.DataFrame or pandas.core.series.Series) The Dataframe or Series with training data.
y (default None) Ignored.
Fitted scaler.
Discretize the data.
X (bigframes.dataframe.DataFrame or bigframes.series.Series or pandas.core.frame.DataFrame or pandas.core.series.Series) The DataFrame or Series to be transformed.
Transformed result.
Copyright 2019, Google.
Created using Sphinx 8.1.3.
Built with the PyData Sphinx Theme 0.19.0.
| Web Proxy Viewer | New URL | Original Page |