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 04:16:05 -0600
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
cac00d39e701652eef5ab596828ad8d2092827d2
cac00d39
1 parent
37299a4b
Classification transcription factor structural domain sentences
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
text-dom-dataset/training-crossvalidation-testing-dom-v1.py
text-dom-dataset/training-crossvalidation-testing-dom-v1.py
View file @
cac00d3
...
...
@@ -311,7 +311,7 @@ if __name__ == "__main__":
if
args
.
classifier
==
"SVM"
:
if
args
.
kernel
==
"linear"
:
oFile
.
write
(
'
\n
Weights assigned to the features:
\n
'
)
oFile
.
write
(
"{}
\n
"
.
format
(
myClassifier
.
coef_
))
oFile
.
write
(
"{}
\n
"
.
format
(
myClassifier
.
best_estimator_
.
coef_
))
oFile
.
write
(
'Confidence scores:
\n
'
)
oFile
.
write
(
"{}
\n
"
.
format
(
confidence_scores
))
oFile
.
write
(
'Number of support vectors per class:
\n
{}
\n
'
.
format
(
myClassifier
.
n_support_
))
...
...
Please
register
or
login
to post a comment