Skip to content

Commit fe6bba0

Browse files
committed
fix: BaseLearner.__getattr__ removed
1 parent c2cf0ff commit fe6bba0

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

modAL/models/base.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,6 @@ def __init__(self,
5959
if X_training is not None:
6060
self._fit_to_known(bootstrap=bootstrap_init, **fit_kwargs)
6161

62-
def __getattr__(self, item):
63-
try:
64-
return getattr(self, item)
65-
except AttributeError:
66-
return getattr(self.estimator, item)
67-
6862
def _add_training_data(self, X: modALinput, y: modALinput) -> None:
6963
"""
7064
Adds the new data and label to the known data, but does not retrain the model.

0 commit comments

Comments
 (0)