Stock Price Prediction
using linear regression
Pull Request for PyVerse 💡
Requesting to submit a pull request to the PyVerse repository.
Issue Title
predicting the future stock price based on the historical data using linear regression
- [x] I have provided the issue title.
Info about the Related Issue
What's the goal of the project? --> the goal of the project is to reduce the risk in the loss in stock market
Describe the aim of the project. --> predicting the future prices helps in investing thoughtfully
- [x] I have described the aim of the project.
Name
Please mention your name.
Shaista Attar
- [x] I have provided my name.
GitHub ID
Please mention your GitHub ID.
Shaistaattar42
- [x] I have provided my GitHub ID.
Email ID
Please mention your email ID for further communication.
[email protected]
- [x] I have provided my email ID.
Identify Yourself
Mention in which program you are contributing (e.g., WoB, GSSOC, SSOC, SWOC).
I am contributing in GSSOC program
- [x] I have mentioned my participant role.
Closes
Enter the issue number that will be closed through this PR.
Closes: #558
- [x] I have provided the issue number.
Describe the Add-ons or Changes You've Made
Give a clear description of what you have added or modified.
*This is the very simple program which required linear regression for funtionality. Compared to other stock price predictors this requires very simple coding *
- [x] I have described my changes.
Type of Change
Select the type of change:
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [x] Code style update (formatting, local variables)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update
How Has This Been Tested?
Describe how your changes have been tested.
--> Data Integrity Checks: Ensured that the dataset was correctly loaded, with no missing values in essential columns such as Date, Open, High, Low, Close, and Volume.
--> Feature Selection Validation: Verified that the selected features (Open, High, Low, Close, Volume) had the appropriate data types and ranges.
-->Target Variable Check: Confirmed that the target variable (Target column) was correctly shifted to represent the next day's closing price, ensuring alignment between the features and labels..
- [x] I have described my testing process.
Checklist
Please confirm the following:
- [x] My code follows the guidelines of this project.
- [x] I have performed a self-review of my own code.
- [x] I have commented my code, particularly wherever it was hard to understand.
- [x] I have made corresponding changes to the documentation.
- [x] My changes generate no new warnings.
- [x] I have added things that prove my fix is effective or that my feature works.
- [x] Any dependent changes have been merged and published in downstream modules.
👋 Thank you for opening this pull request! We're excited to review your contribution. Please give us a moment, and we'll get back to you shortly!
Feel free to join our community on Discord to discuss more!
@Shaistaattar42 where is the issue number?
@Shaistaattar42 where is the issue number?
added
@Shaistaattar42 where is the issue number?
added
Sorry it will not going to be merged, as you need to make issue first then if we assign it to you then make PR.