fix datasetScript.sh file

This commit is contained in:
s487179 2023-04-14 11:33:31 +02:00
parent f08e18d884
commit 98bc3fb26e

View File

@ -4,4 +4,4 @@ kaggle datasets download -d rishikeshkonapure/home-loan-approval
unzip -o home-loan-approval.zip unzip -o home-loan-approval.zip
cat loan_sanction_test.csv loan_sanction_train.csv > loan_sanction.csv cat loan_sanction_test.csv loan_sanction_train.csv > loan_sanction.csv
head -n 5 loan_sanction.csv head -n 5 loan_sanction.csv
{head -n 1 loan_sanction.csv && tail -n +2 loan_sanction.csv | shuf;} > loan_sanction_shuffled.csv { head -n 1 loan_sanction.csv && tail -n +2 loan_sanction.csv | shuf; } > loan_sanction_shuffled.csv