SVM: Weighted samples

Plot decision function of a weighted dataset, where the size of points is proportional to its weight. The sample weighting rescales the C parameter, which means

2017-01-15 04:27:13
SVM with custom kernel

Simple usage of Support Vector Machines to classify a sample. It will plot the decision surface and the support vectors.

2017-01-15 04:27:05
SVM: Separating hyperplane for unbalanced classes

Find the optimal separating hyperplane using an SVC for classes that are unbalanced. We first find the separating plane with a plain

2017-01-15 04:27:13
One-class SVM with non-linear kernel

An example using a one-class SVM for novelty detection.

2017-01-15 04:24:49
SVM: Maximum margin separating hyperplane

Plot the maximum margin separating hyperplane within a two-class separable dataset using a Support Vector Machine classifier with linear kernel.

2017-01-15 04:27:12
SVM-Anova

This example shows how to perform univariate feature selection before running a SVC (support vector classifier) to improve the classification

2017-01-15 04:27:05
Plot different SVM classifiers in the iris dataset

Comparison of different linear SVM classifiers on a 2D projection of the iris dataset. We only consider the first 2 features of this dataset:

2017-01-15 04:24:58
SVM-Kernels

Three different types of SVM-Kernels are displayed below. The polynomial and RBF are especially useful when the data-points are not linearly separable.

2017-01-15 04:27:06
Non-linear SVM

Perform binary classification using non-linear SVC with RBF kernel. The target to predict is a XOR of the inputs. The color map illustrates the decision function learned

2017-01-15 04:24:48
SVM Margins Example

The plots below illustrate the effect the parameter C has on the separation line. A large value of C basically tells our model that we do not have

2017-01-15 04:27:05