This commit is contained in:
JOLIMAITRE Matthieu 2024-04-01 17:56:35 +02:00
parent 656356fb3b
commit 0bb5ae732f
5 changed files with 96 additions and 0 deletions

16
ia/tp3/setup.sh Executable file
View file

@ -0,0 +1,16 @@
#!/bin/sh
if ! [ -d venv ]
then python3 -m venv venv
fi
if ! [ -d bin/iris ]
then
mkdir -p bin/iris
wget -O bin/iris/iris.zip https://archive.ics.uci.edu/static/public/53/iris.zip
( cd bin/iris && unzip iris.zip )
rm bin/iris/iris.zip
fi
source venv/bin/activate
python3 -m pip install --requirement=requirements.txt