Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Carlos-Francisco Méndez-Cruz
/
automatic-extraction-growth-conditions
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Estefani Gaytan Nunez
2020-02-11 13:44:35 -0600
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
606d224d74796d13661d5243f2a9dc5e69d5ad16
606d224d
1 parent
2487819c
upload
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
CRF/bin/figures/figures-report.py
CRF/figures/FigureGrid_v14.csv
CRF/figures/FigureGrid_v14.png
CRF/bin/figures/figures-report.py
View file @
606d224
...
...
@@ -68,11 +68,11 @@ if __name__ == '__main__':
for
report
in
reportFileList
:
with
open
(
os
.
path
.
join
(
options
.
inputPath
,
report
),
'r'
)
as
File
:
string
=
File
.
read
()
scores
[
report
[
7
:
1
1
]
][
'CV'
]
=
re
.
findall
(
'best
\
sCV
\
sscore
\
:(
\
d+
\
.
\
d+)'
,
string
)[
0
]
scores
[
report
[
7
:
1
2
]
.
replace
(
'_'
,
' '
)
][
'CV'
]
=
re
.
findall
(
'best
\
sCV
\
sscore
\
:(
\
d+
\
.
\
d+)'
,
string
)[
0
]
summaryScores
=
re
.
findall
(
'avg
\
s
\
/
\
stotal
\
s+(
\
d+
\
.
\
d+)
\
s+(
\
d+
\
.
\
d+)
\
s+(
\
d+
\
.
\
d+)'
,
string
)[
0
]
scores
[
report
[
7
:
1
1
]
][
'precision'
]
=
summaryScores
[
0
]
scores
[
report
[
7
:
1
1
]
][
'recall'
]
=
summaryScores
[
1
]
scores
[
report
[
7
:
1
1
]
][
'f1-score'
]
=
summaryScores
[
2
]
scores
[
report
[
7
:
1
2
]
.
replace
(
'_'
,
' '
)
][
'precision'
]
=
summaryScores
[
0
]
scores
[
report
[
7
:
1
2
]
.
replace
(
'_'
,
' '
)
][
'recall'
]
=
summaryScores
[
1
]
scores
[
report
[
7
:
1
2
]
.
replace
(
'_'
,
' '
)
][
'f1-score'
]
=
summaryScores
[
2
]
print
(
DF
(
scores
)
.
T
)
scoresTable
=
DF
(
scores
)
.
T
...
...
CRF/figures/FigureGrid_v14.csv
0 → 100644
View file @
606d224
Run1 Run10 Run11 Run12 Run13 Run14 Run15 Run16 Run2 Run3 Run4 Run5 Run6 Run7 Run8 Run9
CV 0.8166537086281624 0.8426343854107191 0.8200149039218473 0.8369330476694216 0.8308032444965605 0.8497587132907273 0.8354648872990671 0.856091701330711 0.8209562028933415 0.8200873889763314 0.8172882049457899 0.830775030715119 0.8434032566660784 0.836408383376389 0.843848676674025 0.8189566663670631
f1-score 0.806 0.805 0.802 0.816 0.815 0.821 0.817 0.813 0.806 0.813 0.804 0.817 0.815 0.821 0.818 0.812
precision 0.848 0.911 0.907 0.919 0.919 0.864 0.857 0.905 0.907 0.898 0.846 0.859 0.919 0.860 0.914 0.843
recall 0.773 0.746 0.742 0.752 0.754 0.789 0.785 0.756 0.748 0.764 0.771 0.783 0.754 0.789 0.760 0.787
CRF/figures/FigureGrid_v14.png
0 → 100644
View file @
606d224
121 KB
Please
register
or
login
to post a comment