-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
[R] Drop support for text inputs. #11026
base: master
Are you sure you want to change the base?
Conversation
R-package/R/xgb.DMatrix.R
Outdated
#' @param data Data from which to create a DMatrix, which can then be used for fitting models or | ||
#' for getting predictions out of a fitted model. | ||
#' | ||
#' Supported input types are as follows:\itemize{ | ||
#' \item `matrix` objects, with types `numeric`, `integer`, or `logical`. | ||
#' \item `data.frame` objects, with columns of types `numeric`, `integer`, `logical`, or `factor`. | ||
#' \item `data.frame` objects, with columns of types `numeric`, `integer`, `logical`, or `factor`} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like we have a mixture of markdown ("-" for bullet points) and roxygen ("\itemize" for list and "\item" for each point).
Should ideally use only one format for a given function doc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will convert them
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
#' Instead, the format must be specified following the URI format, so the input to `data` should be passed | ||
#' like this: `"file.csv?format=csv"` (or `"file.csv?format=csv&label_column=0"` if the first column | ||
#' corresponds to the labels). | ||
#' These are **not** supported by the `xgb.QuantileDMatrix`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#' These are **not** supported by the `xgb.QuantileDMatrix`. | |
#' These are **not** supported by `xgb.QuantileDMatrix`. |
Related: #9472
Most changes are related to the document since we still need the URI API for binary input.