diff --git a/script.sh b/script.sh index 8232e35..e889265 100755 --- a/script.sh +++ b/script.sh @@ -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