Update 'script.sh'
This commit is contained in:
parent
57ef13f1be
commit
67e6e23e08
|
@ -10,10 +10,8 @@ kaggle datasets download -d iabhishekofficial/mobile-price-classification
|
|||
unzip -o mobile-price-classification.zip
|
||||
|
||||
# Przetwarzanie danych
|
||||
cut -f $CUT --complement -d, train.csv > mobile-price-classification.csv
|
||||
|
||||
# Tworzenie zbioru danych z uwzględnieniem parametru CUTOFF
|
||||
python3 create_dataset.py $CUTOFF mobile-price-classification.csv > dataset_with_cutoff.csv
|
||||
head -n $CUTOFF train.csv > train_cutoff.csv
|
||||
cut -f $CUT --complement -d, train_cutoff.csv > mobile-price-classification.csv
|
||||
|
||||
# Kompresowanie pliku wynikowego
|
||||
gzip -c dataset_with_cutoff.csv > output.txt.gz
|
||||
gzip -c mobile-price-classification.csv > output.txt.gz
|
||||
|
|
Loading…
Reference in New Issue