nichepca.utils.to_numpy

Contents

nichepca.utils.to_numpy#

nichepca.utils.to_numpy(X)#

Convert input to numpy array.

Parameters:

X (ndarray | spmatrix | Tensor) – Input data.

Returns:

np.ndarray Numpy array.