Skip to content

Commit

Permalink
enable dense conversion just in case
Browse files Browse the repository at this point in the history
  • Loading branch information
gaa-cifasis committed Oct 19, 2015
1 parent 9f4b1c1 commit 48d4120
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vdiscover/Pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ def make_train_pipeline(ftype):
return Pipeline(steps=[
('selector', ItemSelector(key='dynamic')),
('dvectorizer', CountVectorizer(tokenizer=dynamic_tokenizer, ngram_range=(1,3), lowercase=False, vocabulary=event_dict)),
#('todense', DenseTransformer()),
#('cutfoff', CutoffMax(16)),
('todense', DenseTransformer()),
('cutfoff', CutoffMax(16)),
('classifier', RandomForestClassifier(n_estimators=1000, max_features=None, max_depth=100))
#('classifier', GaussianNB())

Expand Down

0 comments on commit 48d4120

Please sign in to comment.