Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Carlos-Francisco Méndez-Cruz
/
deep-learning-workshop
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
2019-04-29 10:44:43 -0500
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bf8f56360538f5ab5c5652d0c54cc68a24e2d7d4
bf8f5636
1 parent
4514acfe
Deep Learning Workshop
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
data-sets/get-hga-training-test.py
data-sets/get-hga-training-test.py
View file @
bf8f563
...
...
@@ -57,6 +57,7 @@ if __name__ == "__main__":
# Read file with sequences
with
open
(
os
.
path
.
join
(
args
.
inputPath
,
args
.
inputFile
),
mode
=
"r"
,
encoding
=
"utf-8"
)
as
tabfile
:
df
=
pd
.
read_csv
(
tabfile
,
delimiter
=
'
\t
'
)
print
(
"df: {}"
.
format
(
df
))
sequences
=
df
[
'sequence'
]
labels
=
df
[
'label'
]
# One-hot-encoding of sequences
...
...
Please
register
or
login
to post a comment