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

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

src/a/z/AZOrange-HEAD/azorange/AZutilities/similarityMetrics.py   AZOrange(Download)
def getTrainingSet(data):
 
    # Write the data to disk to be able to create the TrainingSet object
    fileName = os.path.join(AZOC.SCRATCHDIR, "tmpTextFile"+str(time.time())+".txt")
    #print "FileName: ",fileName

src/a/z/AZOrange-HEAD/azorange/AZutilities/miscUtilities.py   AZOrange(Download)
from datetime import datetime
from AZOrangeConfig import SCRATCHDIR
from time import strptime
import orange
import random

src/a/z/AZOrange-HEAD/tests/source/AZorngRFTest.py   AZOrange(Download)
            res1.append(str(RFsign(ex)))
 
        scratchdir = os.path.join(AZOC.SCRATCHDIR, "scratchdirTest"+str(time.time()))
        os.mkdir(scratchdir)
        modelPath = os.path.join(scratchdir,"RFModel")
        #Test the imputer for saved models
        # Save the model 
        scratchdir = os.path.join(AZOC.SCRATCHDIR, "scratchdirTest"+str(time.time()))
        os.mkdir(scratchdir)
        modelPath = os.path.join(scratchdir,"RFModel")
        #Test the imputer for saved models
        # Save the model 
        scratchdir = os.path.join(AZOC.SCRATCHDIR, "scratchdirTest"+str(time.time()))
        os.mkdir(scratchdir)
        modelPath = os.path.join(scratchdir,"RFModel")
 
        # Save the model 
        scratchdir = os.path.join(AZOC.SCRATCHDIR, "scratchdirTest"+str(time.time()))
        os.mkdir(scratchdir)
        modelPath = os.path.join(scratchdir,"RFModel.RF")
 
        # Save the model 
        scratchdir = os.path.join(AZOC.SCRATCHDIR, "scratchdirTest"+str(time.time()))
        os.mkdir(scratchdir)
        modelPath = os.path.join(scratchdir,"model.RF")

src/a/z/AZOrange-HEAD/tests/source/AZorngPLSTest.py   AZOrange(Download)
 
        # Save the model 
        scratchdir = os.path.join(AZOC.SCRATCHDIR, "scratchdir"+str(time.time()))
        os.mkdir(scratchdir)
        modelPath = os.path.join(scratchdir,"PLSModel")
        #Test the imputer for saved models
        # Save the model 
        scratchdir = os.path.join(AZOC.SCRATCHDIR, "scratchdir"+str(time.time()))
        os.mkdir(scratchdir)
        modelPath = os.path.join(scratchdir,"PLSModel")
 
        # Save the model 
        scratchdir = os.path.join(AZOC.SCRATCHDIR, "scratchdir"+str(time.time()))
        os.mkdir(scratchdir)
        modelPath = os.path.join(scratchdir,"PLSModel")

src/a/z/AZOrange-HEAD/tests/source/AZorngCvSVMTest.py   AZOrange(Download)
 
        # Save the model 
        scratchdir = os.path.join(AZOC.SCRATCHDIR, "scratchdirTest"+str(time.time()))
        os.mkdir(scratchdir)
        modelPath = os.path.join(scratchdir,"modelPriors.CvSVM")
        #Test the imputer for saved models
        # Save the model 
        scratchdir = os.path.join(AZOC.SCRATCHDIR, "scratchdirSVMtest"+str(time.time()))
        os.mkdir(scratchdir)
        modelPath = os.path.join(scratchdir,"CvSVMModel")
 
        # Save the model 
        scratchdir = os.path.join(AZOC.SCRATCHDIR, "scratchdirSVMtest"+str(time.time()))
        os.mkdir(scratchdir)
        modelPath = os.path.join(scratchdir,"CvSVMModel")
 
if __name__ == "__main__":
    scratchdir = os.path.join(AZOC.SCRATCHDIR, "scratchdirSVMtest"+str(time.time()))
    os.mkdir(scratchdir)
 

src/a/z/AZOrange-HEAD/tests/source/AZorngCvBoost.py   AZOrange(Download)
 
        # Save the model
        scratchdir = os.path.join(AZOC.SCRATCHDIR, "scratchdir"+str(time.time()))
        os.mkdir(scratchdir)
        modelPath = os.path.join(scratchdir,"Boost.fBoost")
        #Test the imputer for saved models
        # Save the model 
        scratchdir = os.path.join(AZOC.SCRATCHDIR, "scratchdir"+str(time.time()))
        os.mkdir(scratchdir)
        modelPath = os.path.join(scratchdir,"CvBoostModel")
 
        # Save the model 
        scratchdir = os.path.join(AZOC.SCRATCHDIR, "scratchdiriTest"+str(time.time()))
        os.mkdir(scratchdir)
        modelPath = os.path.join(scratchdir,"CvBoostModel.CvBoost")

src/a/z/AZOrange-HEAD/tests/source/AZorngCvBayes.py   AZOrange(Download)
 
        # Save the model
        scratchdir = os.path.join(AZOC.SCRATCHDIR, "scratchdir"+str(time.time()))
        os.mkdir(scratchdir)
        modelPath = os.path.join(scratchdir,"Bayes.fBayes")
        #Test the imputer for saved models
        # Save the model 
        scratchdir = os.path.join(AZOC.SCRATCHDIR, "scratchdir"+str(time.time()))
        os.mkdir(scratchdir)
        modelPath = os.path.join(scratchdir,"CvBayesModel")
 
        # Save the model 
        scratchdir = os.path.join(AZOC.SCRATCHDIR, "scratchdiriTest"+str(time.time()))
        os.mkdir(scratchdir)
        modelPath = os.path.join(scratchdir,"CvBayesModel.CvBayes")

src/a/z/AZOrange-HEAD/tests/source/AZorngCvANNTest.py   AZOrange(Download)
 
        # Save the model 
        scratchdir = os.path.join(AZOC.SCRATCHDIR, "scratchdirTest"+str(time.time()))
        os.mkdir(scratchdir)
        modelPath = os.path.join(scratchdir,"modelPriors.CvANN")
 
        # Save the model
        scratchdir = os.path.join(AZOC.SCRATCHDIR, "scratchdir"+str(time.time()))
        os.mkdir(scratchdir)
        modelPath = os.path.join(scratchdir,"ann.cvann")
        #Test the imputer for saved models
        # Save the model 
        scratchdir = os.path.join(AZOC.SCRATCHDIR, "scratchdir"+str(time.time()))
        os.mkdir(scratchdir)
        modelPath = os.path.join(scratchdir,"CvANNModel")
 
        # Save the model 
        scratchdir = os.path.join(AZOC.SCRATCHDIR, "scratchdiriTest"+str(time.time()))
        os.mkdir(scratchdir)
        modelPath = os.path.join(scratchdir,"CvANNModel.CvANN")
 
        # Save the model 
        scratchdir = os.path.join(AZOC.SCRATCHDIR, "scratchdiriTest"+str(time.time()))
        os.mkdir(scratchdir)
        modelPath = os.path.join(scratchdir,"CvANNModel.CvANN")

src/a/z/AZOrange-HEAD/tests/source/AZdataUtilitiesTest.py   AZOrange(Download)
        self.assertEqual(str(SMIdata.domain),"[SMILES, MOLNAME]")
 
        scratchdir = os.path.join(AZOC.SCRATCHDIR, "scratchdirSMItest"+str(time.time()))
        os.mkdir(scratchdir)
        savedSMI=os.path.join(scratchdir,"savedSMI.tab")
 
        #Test save/load scaling values file
        scratchdir = os.path.join(AZOC.SCRATCHDIR, "scratchdirScalizerTest"+str(time.time()))
        os.mkdir(scratchdir)
        scalingFile =os.path.join(scratchdir,"scaling.att")