From: Jérôme Benoit Date: Fri, 9 Nov 2018 08:42:52 +0000 (+0100) Subject: Add the first part of exo1 : show iris dateset. X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=9a5ce7696513532fbb847cfd713a681ea380fef2;p=TP_AA.git Add the first part of exo1 : show iris dateset. Signed-off-by: Jérôme Benoit --- 9a5ce7696513532fbb847cfd713a681ea380fef2 diff --git a/TP1/exo1/iris1.py b/TP1/exo1/iris1.py new file mode 100755 index 0000000..45578fb --- /dev/null +++ b/TP1/exo1/iris1.py @@ -0,0 +1,10 @@ +#!/usr/bin/env python3 + +from sklearn.datasets import load_iris # les données iris sont chargées +irisData=load_iris() + +print(irisData.data) +print(irisData.target) +print(irisData.target_names) +print(irisData.feature_names) +print(irisData.DESCR)