Join egghead, unlock knowledge.

Want more egghead?

This lesson is for members. Join us? Get access to all 3,000+ tutorials + a community with expert developers around the world.

Unlock This Lesson
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    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.