Support for negative examples in one-class added#74
Support for negative examples in one-class added#74ondracek-lukas wants to merge 1 commit intocjlin1:masterfrom
Conversation
* learning now uses both positive and negaive examples * array y should contain +1s for positive examples and -1s for negative * based on the "One-class classification" thesis written by door David Martinus Johannes TAX
|
What's the reference of one-class svm with negative samples?
|
It is described in Section 2.2 of the thesis: |
|
Your modification doesn't solve their opt problem. See solve_one_class() in svm.cpp: The init sol is under the assumption of e^Talpha = a positive constant. Theirs is an extension of SVDD so you should check the SVDD code in libsvmtools Lukáš Ondráček writes:
|
|
I am sorry for my poor knowledge of SVMs,
What does the e vector mean? Why should y be non-negative here, Maybe you have meant y instead of e;
Which part of code do you mean? In the thesis, |
(http://prlab.tudelft.nl/content/one-class-classification-1)