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:23:48 -0500
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5bb43a2ca5dc0f0cb5c3dd355a06644b0b530ff3
5bb43a2c
1 parent
e28ad71f
Iris dataset for automatic clasification
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
clasificacion-automatica/iris-dataset/trainingEvaluation_Iris_v1.py
clasificacion-automatica/iris-dataset/trainingEvaluation_Iris_v1.py
View file @
5bb43a2
...
...
@@ -163,6 +163,7 @@ 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
'
)
oFile
.
write
(
"Weight matrices:
\n
"
)
if
options
.
classifier
==
"MLPClassifier"
:
for
coef
in
classifier
.
coefs_
:
oFile
.
write
(
""
.
format
(
coef
))
...
...
Please
register
or
login
to post a comment