Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Inari
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
orestis.malaspin
Inari
Commits
6342a87c
Verified
Commit
6342a87c
authored
5 years ago
by
Théo Pirkl
Browse files
Options
Downloads
Patches
Plain Diff
Measures fine tuning
parent
1e3ad4b4
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
projet/resources/measures/faogeneve-1m1c.csv
+4
-4
4 additions, 4 deletions
projet/resources/measures/faogeneve-1m1c.csv
projet/resources/measures/toimg.py
+7
-7
7 additions, 7 deletions
projet/resources/measures/toimg.py
with
11 additions
and
11 deletions
projet/resources/measures/faogeneve-1m1c.csv
+
4
−
4
View file @
6342a87c
...
...
@@ -511,10 +511,10 @@
510,940
511,940
512,941
513,
0
514,
0
515,
0
516,
0
513,
942
514,
943
515,
945
516,
945
517,950
518,950
519,950
...
...
This diff is collapsed.
Click to expand it.
projet/resources/measures/to
sv
g.py
→
projet/resources/measures/to
im
g.py
+
7
−
7
View file @
6342a87c
...
...
@@ -6,16 +6,19 @@ import matplotlib.pyplot as plt
import
numpy
as
np
if
__name__
==
'
__main__
'
:
results
=
[]
plt
.
xlabel
(
"
Temps [s]
"
)
plt
.
ylabel
(
"
Documents téléchargés [0-1000]
"
)
plt
.
gcf
().
subplots_adjust
(
bottom
=
0.15
)
plt
.
xticks
(
np
.
arange
(
0
,
1000
,
50
),
rotation
=
70
)
plt
.
yticks
(
np
.
arange
(
0
,
1000
,
50
))
args
=
sys
.
argv
args
.
pop
(
0
)
plt
.
title
(
input
(
"
Titre ?
"
))
for
arg
in
args
:
results
=
[]
with
open
(
arg
)
as
csvfile
:
reader
=
csv
.
reader
(
csvfile
)
# change contents to floats
for
row
in
reader
:
# each row is a list
...
...
@@ -24,10 +27,7 @@ if __name__ == '__main__':
x
=
results
[:,
0
]
y
=
results
[:,
1
]
plt
.
plot
(
x
,
y
,
label
=
input
(
"
Titre pour données {} ?
"
.
format
(
arg
)))
plt
.
xticks
(
np
.
arange
(
0
,
max
(
x
),
10
),
rotation
=
70
)
plt
.
yticks
(
np
.
arange
(
0
,
max
(
y
)
+
50
,
50
))
plt
.
plot
(
x
,
y
)
plt
.
title
(
"
Performances du module FAOGeneve - NScrap
"
)
plt
.
savefig
(
os
.
path
.
splitext
(
sys
.
argv
[
1
])[
0
]
+
"
.svg
"
)
plt
.
legend
()
plt
.
savefig
(
"
output.pdf
"
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment