This commit is contained in:
Mateusz Piwowarski 2024-03-24 12:37:25 +01:00
parent a79ab6220d
commit 9160330a72
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@ shuf creditcard.csv > creditcard_shuf.csv
rm creditcard.csv
# Split the dataset into training and testing
head -n 10000 creditcard_shuf.csv > creditcard_train.csv
tail -n +10001 creditcard_shuf.csv > creditcard_test.csv
tail -n +10001 creditcard_shuf.csv > creditcard_train.csv
head -n 10000 creditcard_shuf.csv > creditcard_test.csv
# Create a directory for the data
mkdir -p data