-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
The time_limit keyword is not used in the fit
dwave-scikit-learn-plugin/dwave/plugins/sklearn/transformers.py
Lines 222 to 230 in 7db7d03
| def fit( | |
| self, | |
| X: npt.ArrayLike, | |
| y: npt.ArrayLike, | |
| *, | |
| alpha: typing.Optional[float] = None, | |
| num_features: typing.Optional[int] = None, | |
| time_limit: typing.Optional[float] = None, | |
| ) -> SelectFromQuadraticModel: |
The variable time_limit is not passed to the solver, instead, an internal variable is passed.
dwave-scikit-learn-plugin/dwave/plugins/sklearn/transformers.py
Lines 296 to 297 in 7db7d03
| sampleset = sampler.sample_cqm(cqm, time_limit=self.time_limit, | |
| label=f"{self.__module__}.{type(self).__qualname__}") |
Metadata
Metadata
Assignees
Labels
No labels