Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/a/z/AZOrange-HEAD/azorange/AZutilities/competitiveWorkflow.py   AZOrange(Download)
#Create the ML methods (learners)
MLMETHODS = {}
for ML in AZOC.MLMETHODS:
    exec("import "+AZOC.MLMETHODS[ML]["module"])
    MLMETHODS[ML] = eval(AZOC.MLMETHODS[ML]["module"]+"."+AZOC.MLMETHODS[ML]["object"])
        statistics = {}
 
        mlMethods = [ml for ml in AZOC.MLMETHODS] + ["Consensus"] 
        sortedJobs = [job for job in jobs]
        sortedJobs.sort(cmp = lambda x,y:int(x)>int(y) and 1 or -1)

src/a/z/AZOrange-HEAD/orange/OrangeWidgets/Classify/OWCombiQSAR.py   AZOrange(Download)
    def fillMLtable(self):
        self.mlTable.setRowCount(len(AZOC.MLMETHODS))
        for row,ml in enumerate(AZOC.MLMETHODS): 
            col = 0
            self.setCellText(self.mlTable, row, col, str(ml))
            self.OptimizeChBox[str(ml)] = QCheckBox()
            self.OptimizeChBox[str(ml)].setTristate(False)
            self.OptimizeChBox[str(ml)].setCheckState(int(AZOC.MLMETHODS[ml]["useByDefault"])*2)   #0-Unchecked    1-Partially checked    2-Checked
            self.mlTable.setCellWidget(row,col,self.OptimizeChBox[str(ml)])