2022-03-27 21:47:41 +02:00
|
|
|
kaggle datasets download -d shree1992/housedata
|
|
|
|
unzip -o housedata.zip
|
|
|
|
|
|
|
|
wc -l data.csv
|
|
|
|
|
|
|
|
head -n -1 data.csv | shuf > data.csv.shuf
|
|
|
|
|
|
|
|
head -n 460 data.csv.shuf > data.csv.test
|
|
|
|
head -n 920 data.csv.shuf | tail -n 460 > data.csv.dev
|
|
|
|
tail -n +920 data.csv.shuf > data.csv.train
|
|
|
|
|
2022-03-27 22:18:40 +02:00
|
|
|
head -n $CUTOFF data.csv.shuf > data.csv.shuf.uptd
|
|
|
|
|
2022-03-27 21:47:41 +02:00
|
|
|
rm data.csv.shuf
|