X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=R%2FcompareTo.R;h=0eb517cf558e8bc78b7874d47b436a8851e13eef;hb=refs%2Fheads%2Fmain;hp=28cb711d3e07bb287068e375c8ea86888fc26dec;hpb=7733758e823f6e783f965f5c7f7f80a1d4e5df3a;p=agghoo.git diff --git a/R/compareTo.R b/R/compareTo.R index 28cb711..0eb517c 100644 --- a/R/compareTo.R +++ b/R/compareTo.R @@ -78,8 +78,6 @@ CVvoting_core <- function(data, target, task, gmodel, params, loss, CV) { #' Run and eval the standard cross-validation procedure. #' Parameters are rather explicit except "floss", which corresponds to the #' "final" loss function, applied to compute the error on testing dataset. -#' -#' @export standardCV_run <- function( dataTrain, dataTest, targetTrain, targetTest, floss, verbose, ... ) { @@ -104,8 +102,6 @@ standardCV_run <- function( #' Run and eval the voting cross-validation procedure. #' Parameters are rather explicit except "floss", which corresponds to the #' "final" loss function, applied to compute the error on testing dataset. -#' -#' @export CVvoting_run <- function( dataTrain, dataTest, targetTrain, targetTest, floss, verbose, ... ) { @@ -130,8 +126,6 @@ CVvoting_run <- function( #' Run and eval the agghoo procedure. #' Parameters are rather explicit except "floss", which corresponds to the #' "final" loss function, applied to compute the error on testing dataset. -#' -#' @export agghoo_run <- function( dataTrain, dataTest, targetTrain, targetTest, floss, verbose, ... ) { @@ -209,7 +203,6 @@ compareTo <- function( compareMulti <- function( data, target, method_s, N=100, nc=NA, floss=NULL, verbose=TRUE, ... ) { - require(parallel) if (is.na(nc)) nc <- parallel::detectCores()