Problem with data split

I used caret for splitting my data and got this warning :

Warning message:
Too little data to stratify. Unstratified resampling will be used.

I did not see this warning when I split a smaller number of data points.

What caret function are you using? What's the distribution of the variable you're using to split? Wonder if there's only a small number of unique values.

It's a lot easier to help with a reproducible example.

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.