testing sh file
This commit is contained in:
parent
c735228e0a
commit
71269c976c
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user