claesenm / optunity

optimization routines for hyperparameter tuning
http://www.optunity.net
Other
416 stars 78 forks source link

Leave-one-out cross-validation #84

Open santeldm opened 7 years ago

santeldm commented 7 years ago

I am using the R interface to optunity. Does it support LOO cross-validation? I would expect to be able to call cv.setup() with num_folds = (number of rows in data matrix), but whenever I set num_folds to more than 50% of the number of rows, I get the following error:

Error in newdata[, object$scaled, drop = FALSE] : (subscript) logical subscript too long