8 lines
465 B
Bash
8 lines
465 B
Bash
#!/bin/bash
|
|
echo "KAGGLE_USERNAME: ${KAGGLE_USERNAME}"
|
|
kaggle datasets download -d rishikeshkonapure/home-loan-approval
|
|
unzip -o home-loan-approval.zip
|
|
cat loan_sanction_test.csv loan_sanction_train.csv > loan_sanction.csv
|
|
head -n 5 loan_sanction.csv
|
|
{ head -n 1 loan_sanction.csv && tail -n +2 loan_sanction.csv | shuf; } | tail -n +2 | head -n $(($CUTOFF+1)) | cat <(head -n 1 loan_sanction.csv) - > loan_sanction_shuffled.csv
|
|
head -n 5 loan_sanction_shuffled.csv |