adapt.utils.check_arrays

adapt.utils.check_arrays(X, y, **kwargs)[source]

Check arrays and reshape 1D array in 2D array of shape (-1, 1). Check if the length of X match the length of y.

Parameters
Xnumpy array

Input data.

ynumpy array

Output data.

Returns
X, y