Did I find the right examples for you? yes no

All Samples(8)  |  Call(6)  |  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()
def eval_model():
    comments, labels = load_extended_data()
 
    clf1 = build_base_model()
    clf2 = build_elasticnet_model()
def explore_features():
    comments, labels = load_extended_data()
    ft = TextFeatureTransformer()
    features, flat_words_lower, filtered_words, comments_filtered = \
            ft._preprocess(comments)

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()
def eval_model():
    comments, labels = load_extended_data()
 
    clf1 = build_base_model()
    clf2 = build_elasticnet_model()
def explore_features():
    comments, labels = load_extended_data()
    ft = TextFeatureTransformer()
    features, flat_words_lower, filtered_words, comments_filtered = \
            ft._preprocess(comments)