Open gopinathankm opened 6 years ago
Hey,
The clue is in the comment at the start of the code, this cell will return errors if the previous cell (no. 35) is not run first. It takes some time to run, so that's why I commented it out. You'll need to uncomment it and write those files to your local directory. Then you should be able to open the files.
Hi David Sheehan Many many thank for your assistance, you can close this issue.
With regards Gopinathan K.M
I tried play with notebook from Github. Why I am getting following error when I run following cell:
`# assuming the previous cell was completed, this cell loads in the different initializations _# and calculates the average mean absolute error (mae) from keras.models import load_model eth_preds = [] bt_preds = [] for rand_seed in range(775,800): temp_model = load_model('eth_modelrandseed%d.h5'%rand_seed) eth_preds.append(np.mean(abs(np.transpose(temp_model.predict(LSTM_test_inputs))- (test_set['eth_Close'].values[window_len:]/test_set['eth_Close'].values[:-window_len]-1)))) temp_model = load_model('bt_modelrandseed%d.h5'%rand_seed) bt_preds.append(np.mean(abs(np.transpose(temp_model.predict(LSTM_test_inputs))- (test_set['bt_Close'].values[window_len:]/test_set['bt_Close'].values[:-windowlen]-1)))) Error
OSError Traceback (most recent call last)