Changeset 1593:f888bd8a5ae2 in orange-bioinformatics for obiAssess.py


Ignore:
Timestamp:
03/07/12 10:38:49 (2 years ago)
Author:
markotoplak
Branch:
default
Message:

Added PCA transformation to obiGeneSetSig.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • obiAssess.py

    r1592 r1593  
    482482    ev0 = evect[0] #this is a row in a matrix - do a dot product 
    483483    a = numpy.dot(arr, ev0) 
    484  
    485484    return a 
    486485 
     
    489488    M = data.toNumpy("a")[0] 
    490489    XMean = numpy.mean(M, axis = 0) 
    491     print XMean.shape, M.shape 
    492490    M = M - XMean 
    493491 
     
    676674    #ass = AssessLearner()(data, matcher, gsets, rankingf=AT_loessLearner()) 
    677675    #ass = MeanLearner()(data, matcher, gsets, default=False) 
    678     ass = MedianLearner()(data, matcher, gsets) 
     676    #ass = MedianLearner()(data, matcher, gsets) 
    679677    #ass = PLSLearner()(data, matcher, gsets, classValues=choosen_cv) 
    680678    #ass = SetSigLearner()(ldata, matcher, gsets, classValues=choosen_cv, minPart=0.0) 
    681     #ass = PCALearner()(ldata, matcher, gsets, classValues=choosen_cv, minPart=0.0) 
     679    ass = PCALearner()(ldata, matcher, gsets, classValues=choosen_cv, minPart=0.0) 
    682680    #ass = GSALearner()(ldata, matcher, gsets, classValues=choosen_cv, minPart=0.0) 
    683681 
Note: See TracChangeset for help on using the changeset viewer.