UBC-MDS / DSCI_522_G410

Group repo for DSCI522 (group 410)
MIT License
0 stars 4 forks source link

Issue: Running Analysis Script on Command Line #28

Closed eyrakas closed 4 years ago

eyrakas commented 4 years ago

script = https://github.com/UBC-MDS/DSCI_522_G410/blob/master/src/analysis.py Jupyter = https://github.com/UBC-MDS/DSCI_522_G410/blob/master/src/analysis.ipynb

code runs fine with Jupyter and saves results BUT nothing happens when script is run on the command line, any thoughts? @mglu123 @merveshin @hwilliams10

hwilliams10 commented 4 years ago

What is the line of code you are running on the command line and what errors are you getting?

eyrakas commented 4 years ago

(while current working directory is src folder): command line code: python analysis.py --train_data_path="../data/cleaned/clean_train.csv" --test_data_path="../data/cleaned/clean_test.csv" --results_path="../results"

eyrakas commented 4 years ago

It doesn't throw an error and doesn't produce to results folder.

hwilliams10 commented 4 years ago

Did you try fixing this error:


  y = column_or_1d(y, warn=True)```