UBC-MDS / credit_default_prediction

MIT License
1 stars 5 forks source link

Reproducing Script #22

Open thayeylolu opened 2 years ago

thayeylolu commented 2 years ago

Here are the commands to run in cmd-line to reproduce the or execute the script. All contributors are welcome to share an edit if amendment is neccesary

  1. Download data
    • python/src/download_data.py --out_type=xls --url=https://archive.ics.uci.edu/ml/machine-learning-databases/00350/default%20of%20credit%20card%20clients.xls --out_file=data/raw/default_credit_card_clients.csv
  2. Clean Data
    • python/src/clean_split_data.py --input_path="data/raw/default_credit_card_clients.csv" --out_dir="data/preprocessed"
  3. Transformed Data
    • python/src/transformed_data.py --input_path="data/preprocessed/cleaned_data.csv" --out_dir="data/preprocessed"
karanpreetkaur commented 2 years ago
  1. Tuned Model
    • python src/credit_default_predict_model.py --train_path="data/preprocessed/transformed_train.csv" --test_path="data/preprocessed/transformed_test.csv" --out_dir="results/"
Arushi282 commented 2 years ago

(3) EDA scripts python src/credit_default_eda.py --file_path="data/preprocessed/cleaned_train.csv" --out_dir="results/" python src/random_search_eda.py --file_path="results/random_search_cv_scores.csv" --out_dir="results/"