Hi Khanh,
This is the directory contents.
.ipynb_checkpoints
analysis.ipynb
README.md
.ipynb_checkpoints\analysis-checkpoint.ipynb
.ipynb_checkpoints\logweight-checkpoint.ipynb
data\budget.csv
data\food.csv
data\full_weights.csv
data\steps.csv
data\weights.csv
viz\eda.png
viz\interpret.png
viz\lambda_0_05.png
viz\lambda_coef_boundary.png
viz\log_0_001_0.gif
viz\log_0_01_0.gif
viz\log_0_01_10.gif
viz\log_1_0.gif
viz\recall_lambda.png
viz\threshold.png
viz\weight.png
I tried removing viz\weight.png to see if it was being created. It is not. I put it back.
It is reading .csv files from data OK but nothing pertaining to ,png or .gif works.
The first failure is plt.show()
Then the fig.savefig(‘viz/weight.png’) fails.
I’ll see if I can write something simple that will work with images this weekend.
Regards,
Dave