Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bioNLP-UNAM
/
useless
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Carlos-Francisco Méndez-Cruz
2018-04-03 20:24:42 -0500
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c72f697b399ab033febb83534d8bb74137fdc11c
c72f697b
1 parent
420cbe71
Final version binClass for papers
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
4 deletions
filter_papers.py
filter_papers.py
View file @
c72f697
...
...
@@ -32,11 +32,8 @@ parser.add_argument("--out", help="Path to the output directory "
parser
.
add_argument
(
"--svcmodel"
,
help
=
"Path to custom pretrained svc model"
"(default='./model_binClass/svm_model.paper.pkl')"
,
default
=
"model_binClass/svm_model.paper.pkl"
)
parser
.
add_argument
(
"--split"
,
default
=
False
,
action
=
"store_true"
,
action
=
"store_true"
,
dest
=
"split"
,
help
=
"Automatic split training/test of input data "
)
# CMC: parser.add_argument("--split", default=False,
# action="store_true", dest="split",
# help="Automatic split training/test of input data ")
args
=
parser
.
parse_args
()
labels
=
{
0
:
'useless'
,
1
:
'useful'
}
...
...
Please
register
or
login
to post a comment