You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some work has been started on sklearn to interface estimators that are fully written using only typical array functions with array libraries that implement the Array API, see scikit-learn/scikit-learn#22554
In this effort, the default data validation function sklearn.utils.validation.check_array has been adapted to all array libraries that implement the array API.
Some work has been started on
sklearn
to interface estimators that are fully written using only typical array functions with array libraries that implement the Array API, see scikit-learn/scikit-learn#22554In this effort, the default data validation function
sklearn.utils.validation.check_array
has been adapted to all array libraries that implement the array API.For the plugin system we're considering at scikit-learn/scikit-learn#24497 along with our plugin at https://github.com/soda-inria/sklearn-numba-dpex I've found that it could be interesting to re-use
sklearn.utils.validation.check_array
onusm_ndarray
inputs with sklearn validation rules and it might also prevent unnecessary data copies.I've found that currently a
usm_ndarray
will fail thecheck_array
for those two reasons:dpctl.tensor.isfinite
to be implemented.__array_namespace__
attribute ofusm_ndarray
array to returndpctl.tensor
rather thanNone
In the meantime it's possible to work around those two missing features with:
The text was updated successfully, but these errors were encountered: