Skip to content

Commit e4bc9b0

Browse files
committed
Reproduce model using bigrams
1 parent 0d46eb4 commit e4bc9b0

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

dvc.lock

+8-8
Original file line numberDiff line numberDiff line change
@@ -35,21 +35,21 @@ stages:
3535
size: 4158
3636
params:
3737
params.yaml:
38-
featurize.max_features: 100
39-
featurize.ngrams: 1
38+
featurize.max_features: 200
39+
featurize.ngrams: 2
4040
outs:
4141
- path: data/features
4242
hash: md5
43-
md5: f8f5cbc3188008a7542d02d63054d9d2.dir
44-
size: 1556290
43+
md5: f35d4cc2c552ac959ae602162b8543f3.dir
44+
size: 2232588
4545
nfiles: 2
4646
train:
4747
cmd: python src/train.py data/features model.pkl
4848
deps:
4949
- path: data/features
5050
hash: md5
51-
md5: f8f5cbc3188008a7542d02d63054d9d2.dir
52-
size: 1556290
51+
md5: f35d4cc2c552ac959ae602162b8543f3.dir
52+
size: 2232588
5353
nfiles: 2
5454
- path: src/train.py
5555
hash: md5
@@ -63,8 +63,8 @@ stages:
6363
outs:
6464
- path: model.pkl
6565
hash: md5
66-
md5: cfa72ff6e2575c44f78f423cada5b783
67-
size: 1855075
66+
md5: d1f6e055f7f5e2827fcfae68d9b64d4c
67+
size: 1958115
6868
evaluate:
6969
cmd: python src/evaluate.py model.pkl data/features
7070
deps:

params.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ prepare:
33
seed: 20170428
44

55
featurize:
6-
max_features: 100
7-
ngrams: 1
6+
max_features: 200
7+
ngrams: 2
88

99
train:
1010
seed: 20170428

0 commit comments

Comments
 (0)