Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Carlos-Francisco Méndez-Cruz
/
lcg-bioinfoI-bionlp
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-09-20 05:11:35 -0500
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
cbd3cc2e75c423a7943d42f4fd9b8ded882aa28d
cbd3cc2e
1 parent
8314f408
Training, crossvalidation and testing structural domain dataset
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
clasificacion-automatica/structural-domain-dataset/training-crossvalidation-testing-dom.py
clasificacion-automatica/structural-domain-dataset/training-crossvalidation-testing-dom.py
View file @
cbd3cc2
...
...
@@ -208,12 +208,12 @@ if __name__ == "__main__":
print
(
" Done!"
)
print
(
" Number of training classes: {}"
.
format
(
len
(
y_train
)))
print
(
" Number of training class RI: {}"
.
format
(
y_train
.
count
(
'
RI
'
)))
print
(
" Number of training class RI: {}"
.
format
(
y_train
.
count
(
'
DOM
'
)))
print
(
" Number of training class OTHER: {}"
.
format
(
y_train
.
count
(
'OTHER'
)))
print
(
" Shape of training matrix: {}"
.
format
(
X_train
.
shape
))
print
(
" Number of testing classes: {}"
.
format
(
len
(
y_test
)))
print
(
" Number of testing class RI: {}"
.
format
(
y_test
.
count
(
'
RI
'
)))
print
(
" Number of testing class RI: {}"
.
format
(
y_test
.
count
(
'
DOM
'
)))
print
(
" Number of testing class OTHER: {}"
.
format
(
y_test
.
count
(
'OTHER'
)))
print
(
" Shape of testing matrix: {}"
.
format
(
X_test
.
shape
))
...
...
Please
register
or
login
to post a comment