ium_z487186/script.sh
Natalia Szymczyk 5ec7c9ffcc fix
2023-04-20 23:30:23 +02:00

7 lines
353 B
Bash
Executable File

curl -o liver.data 'https://archive.ics.uci.edu/ml/machine-learning-databases/00225/Indian%20Liver%20Patient%20Dataset%20(ILPD).csv'
sort -R liver.data > liver.data.shuf
head -n 120 liver.data.shuf > liver.data.test
head -n 240 liver.data.shuf | tail -n 120 > liver.data.dev
tail -n +241 liver.data.shuf > liver.data.train
rm liver.data liver.data.shuf