imblearn.utils.hash_X_y¶
-
imblearn.utils.hash_X_y(X, y, n_samples=1000)[source][source]¶ Compute hash of the input arrays.
Parameters: X : ndarray, shape (n_samples, n_features)
The
Xarray.y : ndarray, shape (n_samples)
Returns: X_hash: str
Hash identifier of the
Xmatrix.y_hash: str
Hash identifier of the
ymatrix.