-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[R-package] allow use of
categorical_features
in Dataset when raw d…
…ata does not have column names (fixes #4374) (#5184) * check for number of columns if data is matrixx for categorical indices check * check for error when using a greater index than the number of columns * apply suggestion Co-authored-by: James Lamb <jaylamb20@gmail.com> * revert whitespace change * check if is filename instead of matrix Co-authored-by: James Lamb <jaylamb20@gmail.com>
- Loading branch information
Showing
2 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters