ium_444498/simple_init.sh

16 lines
442 B
Bash

echo 'test'
# delete old files
rm -r df_atp.csv atp_train.csv atp_test.csv atp_dev.csv
# download dataset
kaggle datasets download -d hakeem/atp-and-wta-tennis-data
unzip -o atp-and-wta-tennis-data.zip
# split dataset to train, dev and test subsets
head -n 8000 df_atp.csv > atp_train.csv
tail -n 2000 df_atp.csv > atp_test.csv
head -n 2000 atp_train.csv > atp_dev.csv
tail -n 6000 atp_train.csv > x.csv
tail -n 6000 x.csv > atp_train.csv