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
2e821233
Commit
2e821233
authored
Jul 28, 2017
by
Qiwei Ye
Browse files
bug fix for #738
parent
bf35c961
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/application/predictor.hpp
src/application/predictor.hpp
+2
-2
No files found.
src/application/predictor.hpp
View file @
2e821233
...
...
@@ -110,12 +110,12 @@ public:
#endif
if
(
result_file
==
NULL
)
{
Log
::
Fatal
(
"Prediction results file %s
doesn't exist"
,
data
_filename
);
Log
::
Fatal
(
"Prediction results file %s
cannot be found."
,
result
_filename
);
}
auto
parser
=
std
::
unique_ptr
<
Parser
>
(
Parser
::
CreateParser
(
data_filename
,
has_header
,
boosting_
->
MaxFeatureIdx
()
+
1
,
boosting_
->
LabelIdx
()));
if
(
parser
==
nullptr
)
{
Log
::
Fatal
(
"Could not recognize the data format of data file %s"
,
data_filename
);
Log
::
Fatal
(
"Could not recognize the data format of data file %s
.
"
,
data_filename
);
}
// function for parse data
...
...
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