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

Update the optimality indicators #266

Open
dongzhiming opened this issue May 31, 2023 · 0 comments
Open

Update the optimality indicators #266

dongzhiming opened this issue May 31, 2023 · 0 comments

Comments

@dongzhiming
Copy link

The optimality indicator $f_i$ of the instance $x_i$ is updated to $f^{'}_ i$ using the following formula:
$f_i^{'}=f_{i} + (\alpha_{u}^{'} - \alpha_{u}) y_{u} K(x_u,x_i) + (\alpha_l^{'} - \alpha_l ) y_{l} K(x_l,x_i)$,
as shown in formula (13) in thundersvm-full.pdf, but at line 110 of the code smo_kernel.cpp, why the contribution of the two extreme instances $x_u$ and $x_l$ to $f_i$ is in the form of difference instead of summation, and in the update_f function, the update of $f_i$ is consistent with formula (13).

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