Skip to content

Instantly share code, notes, and snippets.

View ggauravr's full-sized avatar

Gaurav Ramesh ggauravr

  • OpenTable
  • San Francisco
View GitHub Profile
@ggauravr
ggauravr / iris_plot.py
Last active December 27, 2015 03:48
this code demonstrates and describes basic visualization(2 out of four features) of the Iris Dataset, provided in the sklearn package.
from matplotlib import pyplot as plt
from sklearn.datasets import load_iris
import numpy as np
# load the dataset to be used
iris = load_iris()
# get the 150*4 features into varibale features
features = iris.data