scikit-survival icon indicating copy to clipboard operation
scikit-survival copied to clipboard

raise ValueError during leave one out cross validation

Open hellorp1990 opened this issue 2 years ago • 0 comments

Hi,

I am having an error during leave one out cross-validation (raise ValueError("Need a minimum of two samples")). I commented out the two 'if' comments but still it resulted in an error.

During leave-one-out cross-validation testing there will be one sample only, so how can I do that or is it possible with the current settings of this repo?

Thank you in advance.

hellorp1990 avatar Oct 11 '22 18:10 hellorp1990