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

adaboost改进 #4

Open
WIZARDELF opened this issue Apr 10, 2020 · 0 comments
Open

adaboost改进 #4

WIZARDELF opened this issue Apr 10, 2020 · 0 comments

Comments

@WIZARDELF
Copy link

adaboost实现中的decision stump部分加权错误率计算并未参考课程讲义,造成必须要对U进行平抑。对加权错误率的计算不只要计算加权错误和,之后还要除以总权值之和:
屏幕快照 2020-04-09 21 04 53
这样,原程式中需删除“U /= np.sum(U)”。

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