Skip to content

A small question about OCSVM #39

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

Open
QiaoJohnny opened this issue Mar 1, 2025 · 0 comments
Open

A small question about OCSVM #39

QiaoJohnny opened this issue Mar 1, 2025 · 0 comments

Comments

@QiaoJohnny
Copy link

@nomewang ,thank you very much for sharing your code! However, I have a small question about the code.
In the code, The definition of OCSVM says that
self.detect_fuser = linear_model.SGDOneClassSVM(random_state=42, nu=args.ocsvm_nu, max_iter=args.ocsvm_maxiter)
self.seg_fuser = linear_model.SGDOneClassSVM(random_state=42, nu=args.ocsvm_nu, max_iter=args.ocsvm_maxiter)
However, in the paper says that "For DLF, we use two linear OCSVMs with SGD optimizers, the learning rate is set as 1×10−4 and train 1000 steps for each class."
So I wanna know how to set training rate in this code about OCSVM. Can you answer the question about it?
Thank you a lot again!

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