简体   繁体   中英

Can I set the contamination value in One Class SVM?

I was wondering in Isolation Forrest, Elliptic Envelope and Local Outlier Factor (LOF) you can set the contamination value. Is it possible to do the same for Support Vector Margin?

Thank you

The contamination value as defined in Scikit-learn document:

The amount of contamination of the data set, ie the proportion of outliers in the data set. Used when fitting to define the threshold on the scores of the samples.

Considering this definition, yes there exist such a mechanism in SVM, or more precisely in soft margin SVM. In Soft margin SVM, you have a parameter C which controls the amount of misclassification that the model can tolerate in finding a desired hyperplane.

You can read more here: https://stats.stackexchange.com/a/159051/237773

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM