sklearn.utils.resample()
sklearn.utils.resample
-
sklearn.utils.resample(*arrays, **options)
[source] -
Resample arrays or sparse matrices in a consistent way
The default strategy implements one step of the bootstrapping procedure.
Parameters: *arrays : sequence of indexable data-structures
Indexable data-structures can be arrays, lists, dataframes or scipy sparse matrices with consistent first dimension.
replace : boolean, True