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
5fbfa00b
Unverified
Commit
5fbfa00b
authored
Oct 28, 2021
by
Nikita Titov
Committed by
GitHub
Oct 28, 2021
Browse files
Add some warnings when loading dataset from binary file (#4724)
parent
585b86a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/io/dataset_loader.cpp
src/io/dataset_loader.cpp
+6
-0
No files found.
src/io/dataset_loader.cpp
View file @
5fbfa00b
...
@@ -850,6 +850,12 @@ void DatasetLoader::CheckDataset(const Dataset* dataset, bool is_load_from_binar
...
@@ -850,6 +850,12 @@ void DatasetLoader::CheckDataset(const Dataset* dataset, bool is_load_from_binar
if
(
config_
.
ignore_column
!=
""
)
{
if
(
config_
.
ignore_column
!=
""
)
{
Log
::
Warning
(
"Config ignore_column works only in case of loading data directly from text file. It will be ignored when loading from binary file."
);
Log
::
Warning
(
"Config ignore_column works only in case of loading data directly from text file. It will be ignored when loading from binary file."
);
}
}
if
(
config_
.
two_round
)
{
Log
::
Warning
(
"Config two_round works only in case of loading data directly from text file. It will be ignored when loading from binary file."
);
}
if
(
config_
.
header
)
{
Log
::
Warning
(
"Config header works only in case of loading data directly from text file. It will be ignored when loading from binary file."
);
}
}
}
}
}
...
...
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