Skip to content

Commit

Permalink
Document timeslice method in trainControl
Browse files Browse the repository at this point in the history
  • Loading branch information
vspinu committed Nov 23, 2016
1 parent 1676efb commit 86828a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pkg/caret/R/trainControl.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
#' repeated training/test splits), \code{"none"} (only fits one model to the
#' entire training set), \code{"oob"} (only for random forest, bagged trees,
#' bagged earth, bagged flexible discriminant analysis, or conditional tree
#' forest models), \code{"adaptive_cv"}, \code{"adaptive_boot"} or
#' forest models), \code{timeslice}, \code{"adaptive_cv"}, \code{"adaptive_boot"} or
#' \code{"adaptive_LGOCV"}
#' @param number Either the number of folds or number of resampling iterations
#' @param repeats For repeated k-fold cross-validation only: the number of
Expand All @@ -62,7 +62,7 @@
#' @param search Either \code{"grid"} or \code{"random"}, describing how the
#' tuning parameter grid is determined. See details below.
#' @param initialWindow,horizon,fixedWindow,skip possible arguments to
#' \code{\link{createTimeSlices}}
#' \code{\link{createTimeSlices}} when method is \code{timeslice}.
#' @param classProbs a logical; should class probabilities be computed for
#' classification models (along with predicted values) in each resample?
#' @param summaryFunction a function to compute performance metrics across
Expand Down
4 changes: 2 additions & 2 deletions pkg/caret/man/trainControl.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 86828a9

Please sign in to comment.