Default values for nu and tol in OneClassSVM
See original GitHub issueI think the default value for nu
in the OneClassSVM
should be 0.1 and not 0.5. As nu
roughly corresponds to the fraction of outliers, it makes more sense to set it to a lower value.
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (7 by maintainers)
Top Results From Across the Web
sklearn.svm.OneClassSVM
Changed in version 0.22: The default value of gamma changed from 'auto' to 'scale'. coef0float, default=0.0. Independent term in kernel function. It is...
Read more >Unstable behavior of OneClassSVM by changing 'nu'
In the example above, I'm using my dataset to identify outliers. After making slight changes to the nu parameter, there is a huge...
Read more >One-Class SVM node Expert
If you choose Simple, all parameters are set with the default values as shown below. If you select Expert, you can specify custom...
Read more >pyod.models.ocsvm - pyod 1.0.7 documentation
Parameters ---------- kernel : string, optional (default='rbf') Specifies the kernel type to be used in the algorithm. It must be one of 'linear',...
Read more >8.26.1.6. sklearn.svm.OneClassSVM - GitHub Pages
Unsupervised Outliers Detection. Estimate the support of a high-dimensional distribution. The implementation is based on libsvm. Parameters :.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
libsvm indeed has
Maybe they just wanted to have it consistent between the three classes, which is indeed not a good reason.
Relevant statement from http://users.cecs.anu.edu.au/~williams/papers/P132.pdf:
From the discussion in the paper it looks like 0.1 would indeed make more sense if we want to be consistent with the other estimators.
I let this issue open since it could make sense to change the default values of
OneClassSVM
. I closed the associated PR since we need more investigation regarding the stability of the algorithm with a smallernu
default value.