testing sh file

This commit is contained in:
Maciej Tyczynski 2023-04-17 21:50:09 +02:00
parent c735228e0a
commit 71269c976c

View File

@ -2,7 +2,7 @@
wget -O wine.csv https://huggingface.co/datasets/mstz/wine/raw/main/Wine_Quality_Data.csv wget -O wine.csv https://huggingface.co/datasets/mstz/wine/raw/main/Wine_Quality_Data.csv
num_rows=$(($(wc -l < wine.csv) - 1)) num_rows=$(($(wc -l < wine.csv) - 1))
echo "num_rows=$num_rows"
CUTOFF=${1:-num_rows} CUTOFF=${1:-num_rows}
train_size=$((CUTOFF * 80 / 100)) train_size=$((CUTOFF * 80 / 100))