File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040
4141# This is a temporary workaround for issues with sklearnex._device_offload._get_host_inputs
4242# passing kwargs with sycl queues with other host data will cause failures
43+ # Note: this wrapper could potentially be removed later if sklearn implements
44+ # array API support for this metric in their pairwise_distances class.
4345_mahalanobis = support_input_format (partial (pairwise_distances , metric = "mahalanobis" ))
4446
4547
Original file line number Diff line number Diff line change 2121 from daal4py .sklearn .linear_model .logistic_path import (
2222 LogisticRegressionCV as _daal4py_LogisticRegressionCV ,
2323 )
24- from onedal ._device_offload import support_input_format
2524
2625 from ...linear_model .logistic_regression import (
2726 LogisticRegression as _sklearnex_LogisticRegression ,
3433 class LogisticRegressionCV (
3534 _daal4py_LogisticRegressionCV , _sklearnex_LogisticRegression
3635 ):
37- fit = support_input_format ( _daal4py_LogisticRegressionCV .fit )
36+ fit = _daal4py_LogisticRegressionCV .fit
3837 predict_proba = _sklearnex_LogisticRegression .predict_proba
3938 predict_log_proba = _sklearnex_LogisticRegression .predict_log_proba
4039 decision_function = _sklearnex_LogisticRegression .decision_function
You can’t perform that action at this time.
0 commit comments