wording
This commit is contained in:
parent
263f7fa69d
commit
78813d8f78
@ -31,7 +31,7 @@
|
||||
#' @export
|
||||
xgb.importance <- function(feature_names = NULL, filename_dump = NULL){
|
||||
if (!class(feature_names) %in% c("character", "NULL")) {
|
||||
stop("feature_names: Has to be a vector of character or NULL if model dump already contain feature name. See help to see where to get it.")
|
||||
stop("feature_names: Has to be a vector of character or NULL if the model dump already contains feature name. Look at this function documentation to see where to get feature names.")
|
||||
}
|
||||
if (class(filename_dump) != "character" & file.exists(filename_dump)) {
|
||||
stop("filename_dump: Has to be a path to the model dump file.")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user