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

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

src/a/z/AZOrange-HEAD/azorange/trainingMethods/AZorngConsensus.py   AZOrange(Download)
 
            trainDomain.append(ex)
            trainDomain.save(os.path.join(dirPath,"trainDomain.tab"))
 
            if type(self.classifiers).__name__ == 'list':

src/a/z/AZOrange-HEAD/tests/source/data/createTestDataSets.py   AZOrange(Download)
data.domain["Activity"].values.append("NEG")
data.domain["[O](=[C])"].name = "Level"
data.save(dataFile)
data = dataUtilities.DataTable(dataFile)
 
# With Meta
fileName = "BinClass"+"_W_metas_"
data.save(fileName + "Train.tab")
os.system("head -n "+str(int(NEX*0.8))+" "+fileName + "Train.tab > "+fileName + "Test.tab")
 
# No Meta
domain = orange.Domain(data.domain.attributes,data.domain.classVar)
data2 = dataUtilities.DataTable(domain,data)
fileName = "BinClass"+"_No_metas_"
data2.save(fileName + "Train.tab")
data2[0][6] = '?'
data2[4][0] = '?'
data2.save(fileName + "Train_missing.tab")
 
#========BinClass_No_metas_UnusedValues_Train.tab=======
for val in ["6","7","8","9"]:
    data3.domain["Attr3"].values.append(val)
data3.save("BinClass_No_metas_UnusedValues_Train.tab")