Learn practical skills, build real-world projects, and advance your career

alt


Support Vector Machines with Python

Welcome to the Support Vector Machines with Python Lecture Notebook! Remember to refer to the video lecture for the full background information on the code here!

Import Libraries

import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
%matplotlib inline

Get the Data

We'll use the built in breast cancer dataset from Scikit Learn. We can get with the load function:

from sklearn.datasets import load_breast_cancer
cancer = load_breast_cancer()