From 9a5ce7696513532fbb847cfd713a681ea380fef2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 9 Nov 2018 09:42:52 +0100 Subject: [PATCH 1/1] Add the first part of exo1 : show iris dateset. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- TP1/exo1/iris1.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 TP1/exo1/iris1.py 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) -- 2.34.1