(self,
estimator: BaseEstimator,
query_strategy: Callable = uncertainty_sampling,
X_training: Optional[modALinput] = None,
y_training: Optional[modALinput] = None,
bootstrap_init: bool = False,
on_transformed: bool = False,
**fit_kwargs
)
| 69 | """ |
| 70 | |
| 71 | def __init__(self, |
| 72 | estimator: BaseEstimator, |
| 73 | query_strategy: Callable = uncertainty_sampling, |
| 74 | X_training: Optional[modALinput] = None, |
| 75 | y_training: Optional[modALinput] = None, |
| 76 | bootstrap_init: bool = False, |
| 77 | on_transformed: bool = False, |
| 78 | **fit_kwargs |
| 79 | ) -> None: |
| 80 | super().__init__(estimator, query_strategy, on_transformed, **fit_kwargs) |
| 81 | |
| 82 | self.X_training = X_training |
| 83 | self.y_training = y_training |
| 84 | |
| 85 | if X_training is not None: |
| 86 | self._fit_to_known(bootstrap=bootstrap_init, **fit_kwargs) |
| 87 | |
| 88 | def _add_training_data(self, X: modALinput, y: modALinput) -> None: |
| 89 | """ |
nothing calls this directly
no test coverage detected