AlphaPy
AlphaPy copied to clipboard
Error During save_predictions
Describe the bug Attempting to run the MarketFlow tutorial, the code throws an error after plot generation, during what seems like its attempt to write the data.
To Reproduce Steps to reproduce the behavior:
- ~> mflow --train 2019-01-01
- ~> mflow --predict 2020-07-21
both train and predict flags seem to exit at the same place.
Expected behavior I expected the code to finish and write out the file to the ./output/ directory
Desktop (please complete the following information):
- OS: Linux Mint 18.3
- Python: v3.7.7
Traceback
[07/20/20 21:06:02] INFO Writing feature map to ./model/feature_map_20200720.pkl
[07/20/20 21:06:02] INFO Loading data from ./input/test_20200720.csv
Traceback (most recent call last):
File "/home/michael/miniconda3/bin/mflow", line 8, in
Hi, I'm having the same issue and don't know how to run the tutorial example. Is there any solution to this bug?
Thanks
Hi, I'm having the same issue and don't know how to run the tutorial example. Is there any solution to this bug?
Thanks
I've found that the issue was in model.yml file, on line 8, as it drops the date column, so you have to avoid deleting it and it will not show any error.