Starting from:

$30

Introduction to Machine Learning 1 HW1

EE3700 Introduction to Machine Learning 1
HW1
Use Python to finish the following questions. For the Iris dataset:
1. Read in the dataset and calculate the following parameters
(1) Means of the four features (sepal length, sepal width, petal length, petal width) for
three classes, respectively.
(2) Standard deviation of the four features for three classes, respectively.
(3) Calculate the standardized features of the three classes, respectively.
2. Plot the data using as two features as (x-axis, y-axis) of the following two classes
respectively. (a) (sepal width, petal width) of setosa and veriscolor, (b) (sepal length, petal
width) of veriscolor and virginica, (c) (sepal length, petal length) of veriscolor and setosa.

x0
j = xj  µj
j
x0
j = xj  µj
j
x0
j = xj  µj
j

More products