1. biolab
  2. Untitled project
  3. orange-bioinformatics

Commits

Aleš Erjavec  committed 6935f94

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

  • Participants
  • Parent commits 3b33933
  • Branches default

Comments (0)

Files changed (1)

File obiDifscale.py

View file
  • Ignore whitespace
 
 
 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]