huseinzol05 / Stock-Prediction-Models

Gathers machine learning and deep learning models for Stock forecasting including trading bots and simulations
Apache License 2.0
7.97k stars 2.82k forks source link

Shape Not Aligned #7

Closed bitnom closed 5 years ago

bitnom commented 5 years ago

I tried to pass the output down automatically as seen here but wound up with the error you can see in the notebook of:

ValueError: shapes (1,43) and (30,500) not aligned: 43 (dim 1) != 30 (dim 0)

I think I need to pass model parameters.

bitnom commented 5 years ago

Finally got it working with the yearly and am passing the outputs automatically: https://github.com/TensorTom/Stock-Prediction-Models/blob/master/agent/evolution-strategy-bayesian-agent.ipynb