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

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

src/a/z/AZOrange-HEAD/doc/openExampleScripts/getAccParamOpt.py   AZOrange(Download)
def getAccParamOpt(trainData, AZOrangeLearner, paramList):
 
    # Parameter optimization and accuracy assessment
    evaluator = getUnbiasedAccuracy.UnbiasedAccuracyGetter(data = trainData, learner = AZOrangeLearner, paramList = paramList, nExtFolds = 5, nInnerFolds = 5)
 

src/a/z/AZOrange-HEAD/tests/source/AZorngGetAccWOptParam.py   AZOrange(Download)
    def test_Classification3CVal(self):
        """Testing Classification problem with 3 class values"""
        learner = AZorngRF.RFLearner()
        paramList = ["nActVars"]
        evaluator = getUnbiasedAccuracy.UnbiasedAccuracyGetter(data = self.irisData, learner = learner, paramList = paramList, nExtFolds = 3, nInnerFolds = 3)
    def test_Classification2CVal(self):
        """Testing Classification problem with 2 class values"""
        learner = AZorngRF.RFLearner()
        paramList = ["nActVars"]
        evaluator = getUnbiasedAccuracy.UnbiasedAccuracyGetter(data = self.iris2Data, learner = learner, paramList = paramList, nExtFolds = 3, nInnerFolds = 3)
    def test_RegressionRMSE(self):
        """Testing Regression RMSE problem"""
        learner = AZorngRF.RFLearner()
        paramList = ["nActVars"]
        evaluator = getUnbiasedAccuracy.UnbiasedAccuracyGetter(data = self.irisContData, learner = learner, paramList = paramList ,nExtFolds = 3, nInnerFolds = 3)
    def test_RegressionR2(self):
        """Testing Regression R2 problem"""
        learner = AZorngRF.RFLearner()
        paramList = ["nActVars"]
        evaluator = getUnbiasedAccuracy.UnbiasedAccuracyGetter(data = self.irisContData, learner = learner, paramList = paramList ,nExtFolds = 3, nInnerFolds = 3)

src/a/z/AZOrange-HEAD/orange/OrangeWidgets/Evaluate/OWAZTestOptLearners.py   AZOrange(Download)
            #for x in (self.data,l.learner, paramList, self.nOuterFolds,self.nInnerFolds):
            #    print x
            l.evaluator = getUnbiasedAccuracy.UnbiasedAccuracyGetter(data = self.data, learner = l.learner, paramList = paramList, nExtFolds = self.nOuterFolds, nInnerFolds = self.nInnerFolds)
            l.results = l.evaluator.getAcc()
            pb.advance()