
isregression(y, regression = FALSE)
regression
is TRUE, the function returns always TRUE,
if you want an estimation leave this FALSEregression
was TRUE, otherwise FALSE
rde_loocv
, rde_tcm
, estnoise
## some examples
y_cl <- c(-1, 1, 1, -1, 1) # label vector for classification problem
y_reg <- runif(5) # label vector for regression problem
isregression(y_cl) # FALSE!
isregression(y_cl, regression = TRUE) # Always TRUE!
isregression(y_reg) # TRUE!
Run the code above in your browser using DataLab