check cutoff value
This commit is contained in:
parent
93f452556f
commit
33f86d03e2
@ -20,7 +20,8 @@ if [[ "$1" == "--cutoff" ]]; then
|
||||
echo "Error: cutoff value must be a positive number"
|
||||
exit 1
|
||||
fi
|
||||
cutoff="$1"
|
||||
cutoff=$(("$1" + 1))
|
||||
echo "CUTOFF $cutoff"
|
||||
fi
|
||||
|
||||
head -n "$cutoff" train.csv > cutoff_train.csv
|
||||
|
Loading…
Reference in New Issue
Block a user