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

Why semi-svm 'nu' is 0? #3

Open
Wangjyddddddd opened this issue Mar 30, 2023 · 2 comments
Open

Why semi-svm 'nu' is 0? #3

Wangjyddddddd opened this issue Mar 30, 2023 · 2 comments

Comments

@Wangjyddddddd
Copy link

%% One-class SVM

% OCC - SIFT
[SVMModel1, score1, acc1_max, boundary1] = trainSVM(SIFT_trainOCC, labels_trainOCCNum, SIFT_test, labels_testNum, 0.04, 1);

% OCC - SURF
[SVMModel2, score2, acc2_max, boundary2] = trainSVM(SURF_trainOCC, labels_trainOCCNum, SURF_test, labels_testNum, 0.04, 1);

% Semi-supervised - SIFT
[SVMModel3, score3, acc3_max, boundary3] = trainSVM(SIFT_trainSemi, labels_trainSemiNum, SIFT_test, labels_testNum, 0, 0);

% Semi-supervised - SURF
[SVMModel4, score4, acc4_max, boundary4] = trainSVM(SURF_trainSemi, labels_trainSemiNum, SURF_test, labels_testNum, 0, 0);

So why one-class svm 'nu' can gei 0.04, but semi-svm 'nu' is 0? Can I try other numbers in 0 to 1 of nu for semi?

@boortel
Copy link
Owner

boortel commented Mar 30, 2023

Hello, nu = 0 by semi-supervised experiment might be some typo - feel free to experiment with other values as well. You can also try the more up-to-date Python implementation referred in the ReadMe, this one is not maintained any more.

You can also share your experimental results there and feel free to ask further.

@Wangjyddddddd
Copy link
Author

Thanks a lot :)

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

2 participants