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更新权值分布时,计算错误 #23

Open
1214083397 opened this issue May 27, 2023 · 2 comments
Open

Adaboost更新权值分布时,计算错误 #23

1214083397 opened this issue May 27, 2023 · 2 comments

Comments

@1214083397
Copy link

D = np.multiply(D, np.exp(expon))
D = D / D.sum()
应该改为:
Z = np.multiply(W, np.exp(expon))
W = np.multiply(W, np.exp(expon)) / Z..sum()

@NJNUqhx
Copy link

NJNUqhx commented May 27, 2023 via email

@zhangshuo98767
Copy link

zhangshuo98767 commented May 27, 2023 via email

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

3 participants