Hello
I am taking Dr Chan's new course on Machine learning. I am trying to do a classification tree train/split with scikit learn, following along the example of the ACC stock. I am getting the following error. I think this is not due to me doing anythign wrong but rather something to do with the dataset being not optimal for this model. But I would appreciate it if you could guide me through what exactly is happening here, and what steps should I take to rectify this issue-
ValueError: The least populated class in y has only 1 member, which is too few. The minimum number of groups for any class cannot be less than 2.
Thanks