Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added LGBM_DatasetCreateFromFile #164

Open
wants to merge 10 commits into
base: all-params
Choose a base branch
from

Conversation

kainkad
Copy link
Contributor

@kainkad kainkad commented Oct 18, 2024

No description provided.

@kainkad kainkad changed the base branch from master to all-params October 18, 2024 09:40
test/ffi/datasets.jl Outdated Show resolved Hide resolved
write(f, sample_data)
end

# Define dataset parameters as strings
Copy link
Contributor Author

@kainkad kainkad Oct 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's some unclear behaviour for the ignore_column parameter. According to the docs it can be specified for the text files just like the header (which works) and the other params in this test: https://lightgbm.readthedocs.io/en/v3.3.5/Parameters.html#ignore_column. Despite mentioning "text files", only CSV, TSV, and LibSVM (zero-based) are supported (https://github.com/microsoft/LightGBM/blob/master/src/io/parser.cpp#L264-L266) and the sample_data seems to be a valid example and other params do work with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant