testing sh file2

This commit is contained in:
Maciej Tyczynski 2023-04-17 21:52:24 +02:00
parent 71269c976c
commit 7b23e5c263

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" num_rows=$(expr "$num_rows" + 0)
CUTOFF=${1:-num_rows} CUTOFF=${1:-num_rows}
train_size=$((CUTOFF * 80 / 100)) train_size=$((CUTOFF * 80 / 100))