[ Web Proxy ]
URL:
Viewing: https://dataframes.bigquery.dev/reference/api/bigframes.ml.model_selection.html [Back]  [Original]

bigframes.ml.model_selection — bigframes documentation
Back to top
Search the docs ...:

bigframes.ml.model_selection#

Functions for test/train split and model tuning. This module is styled after scikit-learns model_selection module: https://scikit-learn.org/stable/modules/classes.html#module-sklearn.model_selection.

Functions

cross_validate(estimator,X[,y,cv])

Evaluate metric(s) by cross-validation and also record fit/score times.

train_test_split(*arrays[,test_size,...])

Splits dataframes or series into random train and test subsets.

Classes

KFold([n_splits,random_state])

K-Fold cross-validator.


Web Proxy Viewer  |  New URL  |  Original Page