Finish TP1 exo1
[TP_AA.git] / TP1 / exo1 / iris4.py
index 66465617c2dc63bf4f5e51471b3d7a1dea994422..ad61e2d2b6502f1a3d9e3bf3550462967e842c6e 100755 (executable)
@@ -9,9 +9,9 @@ X = irisData.data
 Y = irisData.target
 x = 0
 y = 1
-Y == 0
-X[Y == 0]
-X[Y == 0][:, x]
+print(Y == 0)
+print(X[Y == 0])
+print(X[Y == 0][:, x])
 pl.scatter(X[Y == 0][:, x], X[Y == 0][:, y],
            color="red", label=irisData.target_names[0])
 pl.scatter(X[Y == 1][:, x], X[Y == 1][:, y],