Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bolsonaro
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Luc Giffon
bolsonaro
Commits
628fba24
Commit
628fba24
authored
5 years ago
by
Charly Lamothe
Browse files
Options
Downloads
Patches
Plain Diff
Fix missing title in stage1 loss figure (still on the left; TODO: center the title).
parent
e9d1cefa
No related branches found
No related tags found
1 merge request
!9
Resolve "Experiment pipeline"
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
code/bolsonaro/visualization/plotter.py
+1
-1
1 addition, 1 deletion
code/bolsonaro/visualization/plotter.py
code/compute_results.py
+1
-1
1 addition, 1 deletion
code/compute_results.py
results/california_housing/stage1/losses.png
+0
-0
0 additions, 0 deletions
results/california_housing/stage1/losses.png
with
2 additions
and
2 deletions
code/bolsonaro/visualization/plotter.py
+
1
−
1
View file @
628fba24
...
...
@@ -96,7 +96,7 @@ class Plotter(object):
axes
[
0
].
set_xlabel
(
xlabel
)
axes
[
1
].
set_xlabel
(
xlabel
)
axes
[
0
].
set_ylabel
(
ylabel
)
plt
.
sup
title
(
title
)
axes
[
1
].
set_
title
(
title
)
handles
,
labels
=
axes
[
0
].
get_legend_handles_labels
()
legend
=
axes
[
0
].
legend
(
handles
,
labels
,
loc
=
'
upper center
'
,
bbox_to_anchor
=
(
1.1
,
-
0.15
))
fig
.
savefig
(
file_path
,
dpi
=
fig
.
dpi
,
bbox_extra_artists
=
(
legend
,),
bbox_inches
=
'
tight
'
)
...
...
This diff is collapsed.
Click to expand it.
code/compute_results.py
+
1
−
1
View file @
628fba24
...
...
@@ -192,7 +192,7 @@ if __name__ == "__main__":
x_value
=
with_params_extracted_forest_sizes
,
xlabel
=
'
Number of trees extracted
'
,
ylabel
=
'
MSE
'
,
# TODO: hardcoded
title
=
'
Loss values of {}
using best and default hyperparameters
'
.
format
(
args
.
dataset_name
)
title
=
'
Loss values of {}
\n
using best and default hyperparameters
'
.
format
(
args
.
dataset_name
)
)
else
:
raise
ValueError
(
'
This stage number is not supported yet, but it will be!
'
)
...
...
This diff is collapsed.
Click to expand it.
results/california_housing/stage1/losses.png
+
0
−
0
View replaced file @
e9d1cefa
View file @
628fba24
70.1 KiB
|
W:
|
H:
91.6 KiB
|
W:
|
H:
2-up
Swipe
Onion skin
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