We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37c68bb commit 21b29f1Copy full SHA for 21b29f1
modAL/models/base.py
@@ -59,6 +59,12 @@ def __init__(self,
59
if X_training is not None:
60
self._fit_to_known(bootstrap=bootstrap_init, **fit_kwargs)
61
62
+ def __getattr__(self, item):
63
+ try:
64
+ return getattr(self, item)
65
+ except AttributeError:
66
+ return getattr(self.estimator, item)
67
+
68
def _add_training_data(self, X: modALinput, y: modALinput) -> None:
69
"""
70
Adds the new data and label to the known data, but does not retrain the model.
0 commit comments