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
2019-04-09 12:19:51 -0500
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0e536293753bf77bdc191d9730222dcd264eb676
0e536293
1 parent
c9bf2722
Iris dataset for automatic clasification
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
clasificacion-automatica/iris-dataset/trainingEvaluation_Iris_v1.py
clasificacion-automatica/iris-dataset/trainingEvaluation_Iris_v1.py
View file @
0e53629
...
...
@@ -163,6 +163,8 @@ if __name__ == "__main__":
oFile
.
write
(
str
(
confusion_matrix
(
trueEvaluationClasses
,
y_pred
))
+
'
\n
'
)
oFile
.
write
(
'Classification report:
\n
'
)
oFile
.
write
(
classification_report
(
trueEvaluationClasses
,
y_pred
)
+
'
\n
'
)
if
options
.
classifier
==
"MLPClassifier"
:
oFile
.
write
(
""
.
format
(
classifier
.
coefs_
))
print
(
" Saving test report done!"
)
print
(
"Training and test done in:
%
fs"
%
(
time
()
-
t0
))
...
...
Please
register
or
login
to post a comment