Browse code

change to 2 workers

Nick authored on 25/11/2022 03:46:47
Showing 1 changed files

... ...
@@ -62,7 +62,7 @@ Collects and checks necessary parameters required for cross-validation by
62 62
 \examples{
63 63
 
64 64
   CrossValParams() # Default is 100 permutations and 5 folds of each.
65
-  snow <- SnowParam(workers = 4, RNGseed = 999)
65
+  snow <- SnowParam(workers = 2, RNGseed = 999)
66 66
   CrossValParams("Leave-k-Out", leave = 2, parallelParams = snow)
67 67
   # Fully reproducible Leave-2-out cross-validation on 4 cores,
68 68
   # even if feature selection or classifier use random sampling.