indexable
- sklearn.utils.indexable(*iterables)
Make arrays indexable for cross-validation.
Checks consistent length, passes through None, and ensures that everything can be indexed by converting sparse matrices to csr and converting non-iterable objects to arrays.
- Parameters:
- *iterables : {lists, dataframes, ndarrays, sparse matrices}
List of objects to ensure sliceability.
- Returns: