Skip to content
Snippets Groups Projects
Commit 5ff8b6fa authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Revert "Merge branch 'supervised' into 'master'"

This reverts merge request !36
parent bd57d13a
No related branches found
No related tags found
1 merge request!37Revert "For some reason, the class information is not passed in the sample wrapper"
Pipeline #42331 failed
......@@ -163,7 +163,7 @@ class SampleWrapper(BaseWrapper, TransformerMixin):
X = SampleBatch(samples)
self.estimator = self.estimator.fit(X, y=y, **kwargs)
self.estimator = self.estimator.fit(X, **kwargs)
copy_learned_attributes(self.estimator, self)
return self
......
......@@ -40,7 +40,7 @@ transformer.
... print(f"Transforming {len(X)} samples ...")
... return np.array(X) + np.array(sample_specific_offsets)
...
... def fit(self, X, y=None):
... def fit(self, X):
... print("Fit was called!")
... return self
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment