-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
第五章分类决策树代码问题 #60
Comments
也发现了这个问题 |
This is Nicholas. I've received your mail.
|
Thank you. Your email is received and will be handled as soon as possible.Best Regards.This is an automatic reply,confirming that your e-mail was received.Thank you.
|
您好,我已经收到您的邮件,稍后我将尽快给你回复。
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
第五章,在分类决策树的
train()
函数里这里把当前最大特征那一行给drop掉了,导致下面通过index索引特征时会出现错误
建议可以直接把DTree类中的
predict()
函数的参数改成Dataframe格式,这样不再需要通过当先特征的下标来索引,而是直接通过特征来索引The text was updated successfully, but these errors were encountered: