From 2e842a1d1ffd41543de09f2f9bf16e3f1c87ad3e Mon Sep 17 00:00:00 2001 From: Alex Moreo Date: Fri, 11 Jun 2021 10:59:35 +0200 Subject: [PATCH] change in pcalr --- quapy/classification/methods.py | 1 + 1 file changed, 1 insertion(+) diff --git a/quapy/classification/methods.py b/quapy/classification/methods.py index dfbd86f..bf1d8d6 100644 --- a/quapy/classification/methods.py +++ b/quapy/classification/methods.py @@ -32,6 +32,7 @@ class PCALR(BaseEstimator): self.pca = TruncatedSVD(self.n_components).fit(X, y) self.classes_ = self.learner.classes_ return self + def predict(self, X): # X = self.transform(X)