Did I find the right examples for you? yes no

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

src/k/a/Kaggle-HEAD/photo_quality_prediction/classification.py   Kaggle(Download)
    clf.fit(x_train, y_train)
 
    print 'Accuracy in training set: %f' % clf.score(x_train, y_train)
    print 'Accuracy in cv set: %f' % clf.score(x_cv, y_cv)
    return clf

src/t/e/text-as-data-HEAD/src/3 - Movie review classifier.py   text-as-data(Download)
# <codecell>
 
classifier.score(test_vectors, test_targets)
 
# <codecell>