Skip to content

Commit

Permalink
fixed bug in PCA
Browse files Browse the repository at this point in the history
  • Loading branch information
paulzierep committed Mar 29, 2023
1 parent 589a298 commit 4daebb5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion DM.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 4daebb5

Please sign in to comment.