diff --git a/DM.py b/DM.py index 4802e4e..98ed1c9 100755 --- a/DM.py +++ b/DM.py @@ -165,7 +165,6 @@ def pca(self, ratio=0.99): pca = PCA(n_components=n_comp) pca.fit(self.X_train) - self.X = pca.transform(self.X) X_train = pca.transform(self.X_train) X_test = pca.transform(self.X_test)