added info messages
This commit is contained in:
parent
c514a11a8a
commit
3f3d593e77
@ -16,16 +16,21 @@ def install_dependencies():
|
||||
|
||||
def unzip_package():
|
||||
"""Unzip dataset"""
|
||||
print('Unzipping dataset...')
|
||||
os.system('unzip -o car-prices-poland.zip')
|
||||
print('Dataset unzipped')
|
||||
|
||||
|
||||
def download_dataset():
|
||||
"""Download kaggle dataset."""
|
||||
print('Downloading dataset...')
|
||||
os.system('kaggle datasets download -d aleksandrglotov/car-prices-poland')
|
||||
print('Dataset downloaded')
|
||||
|
||||
|
||||
def divide_dataset(dataset):
|
||||
"""Split dataset to dev, train, test datasets. """
|
||||
print('Dividing dataset...')
|
||||
|
||||
os.system('tail -n +2 Car_Prices_Poland_Kaggle.csv | shuf > ./Car_Prices_Poland_Kaggle_shuf.csv')
|
||||
|
||||
@ -42,6 +47,8 @@ def divide_dataset(dataset):
|
||||
os.system('cat Car_Prices_Poland_Kaggle_dev.csv | wc -l')
|
||||
os.system('cat Car_Prices_Poland_Kaggle_test.csv | wc -l')
|
||||
|
||||
print('Dataset devided')
|
||||
|
||||
|
||||
def get_statistics(dataset):
|
||||
"""Mean, min, max, median etc."""
|
||||
|
Loading…
Reference in New Issue
Block a user