leave-one-out implemented