(self,
estimator: BaseEstimator,
query_strategy: Callable,
on_transformed: bool = False,
force_all_finite: bool = True,
**fit_kwargs
)
| 41 | """ |
| 42 | |
| 43 | def __init__(self, |
| 44 | estimator: BaseEstimator, |
| 45 | query_strategy: Callable, |
| 46 | on_transformed: bool = False, |
| 47 | force_all_finite: bool = True, |
| 48 | **fit_kwargs |
| 49 | ) -> None: |
| 50 | assert callable(query_strategy), 'query_strategy must be callable' |
| 51 | |
| 52 | self.estimator = estimator |
| 53 | self.query_strategy = query_strategy |
| 54 | self.on_transformed = on_transformed |
| 55 | |
| 56 | assert isinstance(force_all_finite, |
| 57 | bool), 'force_all_finite must be a bool' |
| 58 | self.force_all_finite = force_all_finite |
| 59 | |
| 60 | def transform_without_estimating(self, X: modALinput) -> Union[np.ndarray, sp.csr_matrix]: |
| 61 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected