testing sh file4
This commit is contained in:
parent
9be7a963c9
commit
2ec06fc63d
@ -1,10 +1,8 @@
|
||||
#!/bin/bash
|
||||
export LC_ALL=C
|
||||
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=$(expr "$num_rows" + 0)
|
||||
CUTOFF=${1:-num_rows}
|
||||
|
||||
CUTOFF=${1:-$num_rows}
|
||||
|
||||
train_size=$((CUTOFF * 80 / 100))
|
||||
test_size=$((CUTOFF * 10 / 100))
|
||||
|
Loading…
Reference in New Issue
Block a user