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

ADD GRU Model For Stock Price Prediction #220

Open
1 task done
deepanshubaghel opened this issue Nov 9, 2024 · 1 comment
Open
1 task done

ADD GRU Model For Stock Price Prediction #220

deepanshubaghel opened this issue Nov 9, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request gssoc-ext GSSoC'24 Extended Version hacktoberfest Hacktober Collaboration hacktoberfest-accepted Hacktoberfest 2024 level1 10 Points 🥇

Comments

@deepanshubaghel
Copy link
Contributor

Is this a unique feature?

  • I have checked "open" AND "closed" issues and this is not a duplicate

Is your feature request related to a problem/unavailable functionality? Please describe.

Yes, the current stock price prediction module only uses the LSTM model, and there is no implementation of a GRU model. GRUs (Gated Recurrent Units) can offer a more computationally efficient alternative to LSTMs while delivering similar prediction performance, making them ideal for time series tasks like stock price forecasting. Adding a GRU model would allow us to compare results with LSTM and potentially improve prediction efficiency and accuracy.

Proposed Solution

Implement a GRU model alongside the existing LSTM for stock price prediction, allowing for a comparative analysis in terms of accuracy and efficiency. This addition will expand the module’s flexibility and improve performance, with clear documentation on GRU vs. LSTM selection for users.

Screenshots

No response

Do you want to work on this issue?

No

If "yes" to above, please explain how you would technically implement this (issue will not be assigned if this is skipped)

To implement the GRU model, I would modify the current LSTM-based code by replacing the LSTM layers with GRU layers using tf.keras.layers.GRU from TensorFlow/Keras. The GRU model would use similar configurations, such as dropout layers for regularization and dense layers for the output. I would reference the existing LSTM code structure for consistency, adjusting hyperparameters for GRU as needed. Finally, I would add functionality to compare GRU and LSTM results, documenting any performance differences.

@deepanshubaghel deepanshubaghel added the enhancement New feature or request label Nov 9, 2024
Copy link
Contributor

github-actions bot commented Nov 9, 2024

👋 Thanks for opening this issue! We appreciate your contribution. Please make sure you’ve provided all the necessary details and screenshots, and don't forget to follow our Guidelines and Code of Conduct. Happy coding! 🚀

@github-actions github-actions bot added gssoc-ext GSSoC'24 Extended Version hacktoberfest Hacktober Collaboration hacktoberfest-accepted Hacktoberfest 2024 level? labels Nov 9, 2024
@deepanshubaghel deepanshubaghel changed the title ADD GRU Model For Stock Price Prec ADD GRU Model For Stock Price Prediction Nov 9, 2024
@rohitinu6 rohitinu6 added level1 10 Points 🥇 and removed level? labels Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request gssoc-ext GSSoC'24 Extended Version hacktoberfest Hacktober Collaboration hacktoberfest-accepted Hacktoberfest 2024 level1 10 Points 🥇
Projects
None yet
Development

No branches or pull requests

2 participants