Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prediction timeframe extend #27

Open
Rajmehta123 opened this issue Feb 23, 2021 · 0 comments
Open

Prediction timeframe extend #27

Rajmehta123 opened this issue Feb 23, 2021 · 0 comments

Comments

@Rajmehta123
Copy link

This is an amazing project. Thanks for the input. I have made several improvements which I will commit in few days.

Meanwhile, I was wondering how to increase the prediction timeframe. I trained the model on historical_inputs = 5. Now when I predict the model ohlcv_histories_normalised = np.array([data_normalised[i:i + history_points].copy() for i in range(len(data_normalised) - history_points)]) line in code reduces the dimension/prediction timeframe by historical_inputs = 5 days.

For eg: If my dataframe is from Feb 5 to Feb 20, it just gives the prediction for Feb 5 until Feb 15. How to get the prediction for the current day/timeframe, i.e.: Feb 15 to Feb 20?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant