13. Data Interoperability
Scikit-learn handles four kinds of data for X as used in fit(X, y), fit(X),
fit_transform(X) and transform(X) as well as Xt as returned by
transform(X) and fit_transform(X):
array-like objects
In
and , array-like is converted to a numpy ndarray by calling upon them. The returned of and is also a numpy ndarray or it is a sparse matrix or sparse array, see next bullet.