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-28 05:08:13 -0500
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
76002c74ae51c9f4faadbf9b9e64ec6fa3fbe2b4
76002c74
1 parent
18a1544a
Training, crossvalidation and testing dataset
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletions
clasificacion-automatica/binding-thrombin-dataset/imb-training-testing-binding-thrombin.py
clasificacion-automatica/binding-thrombin-dataset/imb-training-testing-binding-thrombin.py
View file @
76002c7
...
...
@@ -217,7 +217,6 @@ if __name__ == "__main__":
oFile
.
write
(
'********** EVALUATION REPORT **********
\n
'
)
oFile
.
write
(
'Classifier: {}
\n
'
.
format
(
args
.
classifier
))
oFile
.
write
(
'Kernel: {}
\n
'
.
format
(
args
.
kernel
))
oFile
.
write
(
'Training score: {}
\n
'
.
format
(
myClassifier
.
score
()))
oFile
.
write
(
'Accuracy: {}
\n
'
.
format
(
accuracy_score
(
y_test
,
y_pred
)))
oFile
.
write
(
'Precision: {}
\n
'
.
format
(
precision_score
(
y_test
,
y_pred
,
average
=
'weighted'
)))
oFile
.
write
(
'Recall: {}
\n
'
.
format
(
recall_score
(
y_test
,
y_pred
,
average
=
'weighted'
)))
...
...
Please
register
or
login
to post a comment