Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str ListLoad TupleLoad Num Num TupleLoad Num Num ListLoad Num Num Num Num ListLoad Num Num Num Num Num Num Num ListLoad Num Num Num Num Num Num Num Num Num Num Num Num Assign NameStore Call NameLoad ListLoad TupleLoad Str Call NameLoad keyword NameLoad TupleLoad Str Call NameLoad keyword Str keyword Num Assign NameStore Call NameLoad NameLoad NameLoad keyword Num keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Print AttributeLoad NameLoad attr Print AttributeLoad NameLoad attr Expr Str
N/A sklearn.datasets load_files sklearn.feature_extraction.text TfidfVectorizer sklearn.grid_search GridSearchCV sklearn.pipeline Pipeline sklearn.svm LinearSVC N/A data N/A load_files review_polarity/txt_sentoken N/A vect N/A TfidfVectorizer N/A X N/A N/A vect fit_transform N/A data data N/A params N/A tfidf__ngram_range tfidf__min_df tfidf__max_df svc__C N/A N/A 1 1 N/A 1 2 N/A 3 5 8 10 N/A 0.5 0.8 1.1 1.2 1.7 1.9 2.5 N/A 0.5 0.6 0.7 0.8 0.9 1 1 1.1 1.2 1.3 1.5 2 N/A clf N/A Pipeline N/A N/A tfidf N/A TfidfVectorizer sublinear_tf True N/A svc N/A LinearSVC loss squared_hinge max_iter 1000 N/A gs N/A GridSearchCV clf params verbose 2 n_jobs -1 N/A N/A N/A gs fit N/A data data N/A data target N/A N/A gs best_estimator_ N/A N/A gs best_score_ N/A 
[Parallel(n_jobs=-1)]: Done 2016 out of 2016 | elapsed: 59.5min finished
Pipeline(steps=[('tfidf', TfidfVectorizer(analyzer=u'word', binary=False, decode_error=u'strict',
        dtype=<type 'numpy.int64'>, encoding=u'utf-8', input=u'content',
        lowercase=True, max_df=1.1, max_features=None, min_df=8,
        ngram_range=(1, 2), norm=u'l2', preprocessor=None, smooth_idf=Tru...ax_iter=1000,
     multi_class='ovr', penalty='l2', random_state=None, tol=0.0001,
     verbose=0))])
0.886
