This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
NewerOlder