Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Franck Dary
macaon
Commits
58bfc681
Commit
58bfc681
authored
Aug 11, 2020
by
Franck Dary
Browse files
Improved print
parent
eb211b77
Changes
1
Hide whitespace changes
Inline
Side-by-side
trainer/src/MacaonTrain.cpp
View file @
58bfc681
...
...
@@ -259,7 +259,7 @@ int MacaonTrain::main()
for
(
auto
&
score
:
devScores
)
{
if
(
computeDevScore
)
toAdd
=
fmt
::
format
(
"{}({}{}),"
,
score
.
second
,
util
::
shrink
(
fmt
::
format
(
"{}"
,
std
::
abs
(
score
.
first
)),
7
),
score
.
first
>=
0
?
"%"
:
""
);
toAdd
=
fmt
::
format
(
"{}({}{}),"
,
score
.
second
,
util
::
shrink
(
fmt
::
format
(
"{
:.2f
}"
,
std
::
abs
(
score
.
first
)),
7
),
score
.
first
>=
0
?
"%"
:
""
);
else
toAdd
=
fmt
::
format
(
"{}({}),"
,
score
.
second
,
util
::
shrink
(
fmt
::
format
(
"{}"
,
100.0
*
score
.
first
),
7
));
devScoreMean
+=
score
.
first
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment