minor tweaks
This commit is contained in:
parent
5904588f86
commit
c735228e0a
@ -1,8 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
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))
|
||||||
|
|
||||||
|
|
||||||
CUTOFF=${1:-num_rows}
|
CUTOFF=${1:-num_rows}
|
||||||
|
|
||||||
train_size=$((CUTOFF * 80 / 100))
|
train_size=$((CUTOFF * 80 / 100))
|
||||||
|
58912
zad1.ipynb
58912
zad1.ipynb
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user