Changeset 1597:574fe4f8d1d3 in orange-bioinformatics for obiAssess.py


Ignore:
Timestamp:
03/09/12 21:06:10 (2 years ago)
Author:
markotoplak
Branch:
default
rebase_source:
ea5f635c5c3e412b91d382e6f24161e8775e0786
Message:

Added GSA to obiGeneSetSig.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • obiAssess.py

    r1595 r1597  
    660660    data = Orange.data.Table("iris") 
    661661    gsets = obiGeneSets.collections({ 
    662         "ALL": ['sepal length', 'sepal width', 'petal length', 'petal width'], 
     662        #"ALL": ['sepal length', 'sepal width', 'petal length', 'petal width'], 
    663663        "f3": ['sepal length', 'sepal width', 'petal length'], 
    664664        "l3": ['sepal width', 'petal length', 'petal width'], 
     
    673673    choosen_cv = ["Iris-setosa", "Iris-versicolor"] 
    674674    #ass = AssessLearner()(data, matcher, gsets, rankingf=AT_loessLearner()) 
     675    #ass = AssessLearner()(data, matcher, gsets, minPart=0.0) 
    675676    #ass = MeanLearner()(data, matcher, gsets, default=False) 
    676677    #ass = MedianLearner()(data, matcher, gsets) 
    677     ass = PLSLearner()(data, matcher, gsets, classValues=choosen_cv, minPart=0.0) 
     678    #ass = PLSLearner()(data, matcher, gsets, classValues=choosen_cv, minPart=0.0) 
    678679    #ass = SetSigLearner()(ldata, matcher, gsets, classValues=choosen_cv, minPart=0.0) 
    679680    #ass = PCALearner()(ldata, matcher, gsets, classValues=choosen_cv, minPart=0.0) 
    680     #ass = GSALearner()(ldata, matcher, gsets, classValues=choosen_cv, minPart=0.0) 
     681    ass = GSALearner()(ldata, matcher, gsets, classValues=choosen_cv, minPart=0.0) 
    681682 
    682683    ar = defaultdict(list) 
Note: See TracChangeset for help on using the changeset viewer.