Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError #2

Open
LizzIAN opened this issue Dec 14, 2017 · 1 comment
Open

ValueError #2

LizzIAN opened this issue Dec 14, 2017 · 1 comment

Comments

@LizzIAN
Copy link

LizzIAN commented Dec 14, 2017

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.

@wushichatong
Copy link

You can change the value of min_samples_split to 1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants