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:16:54 -0500
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
342164dd0d26614737c02f7df2ea3cd9748dfe1f
342164dd
1 parent
63b71f1c
Training, crossvalidation and testing binding thrombin dataset
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
clasificacion-automatica/binding-thrombin-dataset/training-crossvalidation-testing-binding-thrombin.py
clasificacion-automatica/binding-thrombin-dataset/training-crossvalidation-testing-binding-thrombin.py
View file @
342164d
...
...
@@ -230,13 +230,13 @@ if __name__ == "__main__":
print
(
" Done!"
)
print
(
"Training..."
)
c
lassifier
.
fit
(
X_train
,
y_train
)
myC
lassifier
.
fit
(
X_train
,
y_train
)
print
(
" Done!"
)
print
(
"Testing (prediction in new data)..."
)
if
args
.
reduction
is
not
None
:
X_test
=
reduc
.
transform
(
X_test
)
y_pred
=
c
lassifier
.
predict
(
X_test
)
y_pred
=
myC
lassifier
.
predict
(
X_test
)
print
(
" Done!"
)
print
(
"Saving report..."
)
...
...
Please
register
or
login
to post a comment