Commits

Aleš Erjavec  committed 6935f94

Orange.projection.pca.Pca -> Orange.projection.linear.PCA

  • Participants
  • Parent commits 3b33933

Comments (0)

Files changed (1)

File obiDifscale.py

 
 
 def signed_PCA(data):
-    pca = Orange.projection.pca.Pca(data, standardize=False, max_components=1)
+    pca = Orange.projection.linear.PCA(data, standardize=False, max_components=1)
     classifier = lambda X: [x[0].value for x in pca(X)]
     predictions = classifier(data)
     classes = [ex.getclass().value for ex in data]