Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
52177972
Commit
52177972
authored
Jan 26, 2017
by
ProtD
Committed by
Guolin Ke
Jan 26, 2017
Browse files
typo fix (#265)
parent
da59fd22
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/objective/binary_objective.hpp
src/objective/binary_objective.hpp
+1
-1
No files found.
src/objective/binary_objective.hpp
View file @
52177972
...
@@ -35,7 +35,7 @@ public:
...
@@ -35,7 +35,7 @@ public:
++
cnt_negative
;
++
cnt_negative
;
}
}
}
}
Log
::
Info
(
"Number of postive: %d, number of negative: %d"
,
cnt_positive
,
cnt_negative
);
Log
::
Info
(
"Number of pos
i
tive: %d, number of negative: %d"
,
cnt_positive
,
cnt_negative
);
// cannot continue if all sample are same class
// cannot continue if all sample are same class
if
(
cnt_positive
==
0
||
cnt_negative
==
0
)
{
if
(
cnt_positive
==
0
||
cnt_negative
==
0
)
{
Log
::
Fatal
(
"Training data only contains one class"
);
Log
::
Fatal
(
"Training data only contains one class"
);
...
...
Write
Preview
Markdown
is supported
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