This commit is contained in:
Natalia Szymczyk 2023-04-21 00:01:26 +02:00
parent 751bb02f7e
commit 5215d1d959

View File

@ -2,7 +2,7 @@ curl -o liver.data 'https://archive.ics.uci.edu/ml/machine-learning-databases/00
sort -R liver.data > liver.data.shuf
# Check if the CUTOFF variable is set
if [ -z "$CUTOFF" ]; then
if [ "$CUTOFF" == '0' ]; then
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