predict-facial-attractiveness icon indicating copy to clipboard operation
predict-facial-attractiveness copied to clipboard

ValueError

Open LizzIAN opened this issue 7 years ago • 1 comments

File "D:\Study\Anaconda\envs\opencv\lib\site-packages\sklearn\tree\tree.py", line 194, in fit % self.min_samples_split) ValueError: min_samples_split must be an integer greater than 1 or a float in (0.0, 1.0]; got the integer 1

I am totally a tyro , the error above I can resolve, please help! I will appreciate it so much, thank you.

LizzIAN avatar Dec 14 '17 08:12 LizzIAN

You can change the value of min_samples_split to 1.0

wushichatong avatar Feb 07 '18 08:02 wushichatong