leaveOneOutVec function

Leave-One-Out vector