14 lines
427 B
Bash
14 lines
427 B
Bash
#!/bin/bash
|
|
|
|
ls -al
|
|
|
|
# Count the number of lines in the original dataset
|
|
wc -l < data/creditcard_shuf.csv > stats.txt
|
|
# Count the number of lines in the training and testing datasets
|
|
wc -l < data/creditcard_train.csv > stats_train.txt
|
|
wc -l < daya/creditcard_test.csv > stats_test.txt
|
|
|
|
# Create a directory for the data
|
|
mkdir -p data
|
|
# Move the statistics to the data directory
|
|
mv stats.txt stats_train.txt stats_test.txt data/ |