Go ProSign in

This Lesson is for Members

Subscribe today and get access to all lessons! Plus direct HD download for offline use, enhances transcripts, member comment forums, and iTunes "podcast" RSS feed. Level up your skills now!

Unlock This Lesson

Already subscribed? Sign In

Use Support Vector Machines To Find Complex Decision Boundaries with Scikit-learn

We’ll continue with the iris dataset to implement support vector machines, which can be used to find more complex boundaries for classification or regression problems.

More about Support Vector Machines can be found at scikit-learn.

There are several types of kernel function that can be used with SVMs. Scikit-learn supports these kernels:


-polynomial ('poly')

-rbf (radial basis function)


Custom kernels are also supported. Rbf is the default kernel type.

A good overview of kernels can be found here, or at the scikit-learn page.

You must be a Member to view code