Commit 487bd835 authored by Guolin Ke's avatar Guolin Ke Committed by GitHub
Browse files

fix bug for save binary for non-filename dataset

parent e4dde71f
...@@ -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;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment