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

4.3-4.4 预剪枝问题 #12

Open
byraid218 opened this issue Oct 18, 2024 · 0 comments
Open

4.3-4.4 预剪枝问题 #12

byraid218 opened this issue Oct 18, 2024 · 0 comments

Comments

@byraid218
Copy link

这里实现的预剪枝,似乎是在决策树建成之后才进行的。书中定义的预剪枝应该是需要在建树的时候剪枝,能够加快建树的效率。如果过建成之后再剪枝的话,结果是一样的,但是效率会降低。改的话,直接把预剪枝的判断移到建树的地方就行了。

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

1 participant