Did I find the right examples for you? yes no

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

src/s/o/solutions-HEAD/kaggle/insults/amueller/train.py   solutions(Download)
 
 
from util import load_data, load_extended_data, write_test, load_test
 
from IPython.core.debugger import Tracer
def apply_models():
    comments, labels = load_extended_data()
    comments_test = load_test("impermium_verification_set_.csv")
 
    clf1 = build_base_model()
        plt.savefig("grid_plot_%s.png" % param)
        plt.close()
    comments_test, dates_test = load_test()
    prob_pred = grid.best_estimator_.predict_proba(comments_test)
    write_test(prob_pred[:, 1])

src/k/a/kaggle_insults-HEAD/train.py   kaggle_insults(Download)
 
 
from util import load_data, load_extended_data, write_test, load_test
 
from IPython.core.debugger import Tracer
def apply_models():
    comments, labels = load_extended_data()
    comments_test = load_test("impermium_verification_set_.csv")
 
    clf1 = build_base_model()
        plt.savefig("grid_plot_%s.png" % param)
        plt.close()
    comments_test, dates_test = load_test()
    prob_pred = grid.best_estimator_.predict_proba(comments_test)
    write_test(prob_pred[:, 1])