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
487bd835
Commit
487bd835
authored
Dec 31, 2016
by
Guolin Ke
Committed by
GitHub
Dec 31, 2016
Browse files
fix bug for save binary for non-filename dataset
parent
e4dde71f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/io/dataset.cpp
src/io/dataset.cpp
+1
-0
No files found.
src/io/dataset.cpp
View file @
487bd835
...
@@ -17,6 +17,7 @@ namespace LightGBM {
...
@@ -17,6 +17,7 @@ namespace LightGBM {
const
char
*
Dataset
::
binary_file_token
=
"______LightGBM_Binary_File_Token______
\n
"
;
const
char
*
Dataset
::
binary_file_token
=
"______LightGBM_Binary_File_Token______
\n
"
;
Dataset
::
Dataset
()
{
Dataset
::
Dataset
()
{
data_filename_
=
"noname"
;
num_data_
=
0
;
num_data_
=
0
;
}
}
...
...
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