Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Carlos-Francisco Méndez-Cruz
/
laigen-supervised-learning
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
2020-02-20 03:19:43 -0600
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
27a4d9bc51568568a009cde9801cc379ad2453ee
27a4d9bc
1 parent
790d6616
Classification Iris data set
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
iris-data-set/training-evaluation-iris-v1.py
iris-data-set/training-evaluation-iris-v1.py
View file @
27a4d9b
...
...
@@ -155,8 +155,8 @@ if __name__ == "__main__":
oFile
.
write
(
'
\n
Confidence scores:
\n
'
)
oFile
.
write
(
"{}"
.
format
(
confidence_scores
))
if
args
.
classifier
==
"SVM"
:
oFile
.
write
(
'
\n
Number of support vectors per class:
{}
\n
'
.
format
(
classifier
.
n_support_
))
oFile
.
write
(
'
\n
Support vectors:
{}
\n
'
.
format
(
classifier
.
support_vectors_
))
oFile
.
write
(
'
Number of support vectors per class:
\n
{}
\n
'
.
format
(
classifier
.
n_support_
))
oFile
.
write
(
'
Support vectors:
\n
{}
\n
'
.
format
(
classifier
.
support_vectors_
))
print
(
" Saving evaluation report done!"
)
...
...
Please
register
or
login
to post a comment