Guest User

Untitled

a guest
Apr 24th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. [TRAIN,TEST] = crossvalind('LeaveMOut',N,M), where M is an integer,
  2. returns logical index vectors for cross-validation of N observations by
  3. randomly selecting M of the observations to hold out for the evaluation
  4. set. M defaults to 1 when omitted. Using LeaveMOut cross-validation
  5. within a loop does not guarantee disjointed evaluation sets. Use K-fold
  6. instead.
Add Comment
Please, Sign In to add comment