Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Ngan Thi Dong
multitask_transfer
Commits
c7c056a1
Commit
c7c056a1
authored
Jul 20, 2021
by
Ngan Thi Dong
Browse files
update denovo novel
parent
fb095fa9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
denovo_novel.py
denovo_novel.py
+1
-1
No files found.
denovo_novel.py
View file @
c7c056a1
...
...
@@ -19,7 +19,7 @@ def eval_fold(args, res_queue, train_rate, iSet, vseq_dict, hseq_dict):
writer_path
=
args
.
data_dir
+
'denovo_trainrate_'
+
str
(
train_rate
)
+
'_'
+
str
(
iSet
)
+
'_res.csv'
writer
=
open
(
writer_path
,
'w'
)
for
test_rate
in
[
1
,
2
,
5
,
10
]:
for
iTest
in
range
(
1
):
for
iTest
in
range
(
1
0
):
neg_test_path
=
args
.
neg_test_path
.
replace
(
'.csv'
,
'_'
.
join
([
''
,
str
(
test_rate
),
str
(
iTest
)])
+
'.csv'
)
neg_test_features
=
get_denovo_feature
(
neg_test_path
,
vseq_dict
,
hseq_dict
)
print
(
'finish loading neg train features'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment