Ejemplo n.º 1
0
def test(xTest, yTest, wTest):
    testResults = gboost.predict_proba(xTest)[:,1]
    testClassifications = i.formatOutputs([testResults])[0]    
    return i.testScore(yTest, wTest, testClassifications)
Ejemplo n.º 2
0
def test(xTest, yTest, wTest):
    testResults = forest.predict_proba(xTest)[:,1]
    testClassifications = i.formatOutputs([testResults])[0]
    return i.testScore(yTest, wTest, testClassifications)