{"id":22877020,"url":"https://github.com/shriansh2002/stock-prediction","last_synced_at":"2026-05-10T19:20:21.038Z","repository":{"id":233415824,"uuid":"629581258","full_name":"Shriansh2002/Stock-Prediction","owner":"Shriansh2002","description":"This project predicts Apple stock prices using linear regression. It's based on historical stock price data and uses Python and popular data science libraries like Pandas, NumPy, Matplotlib, and scikit-learn.","archived":false,"fork":false,"pushed_at":"2023-04-18T16:08:47.000Z","size":211,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-06T19:48:15.815Z","etag":null,"topics":["apple","datascience","finance","linearregression","machinelearning","matplotlib","ml","numpy","pandas","prediction","python","scikitlearn","stock-prediction","stockmarket"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Shriansh2002.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-18T15:43:56.000Z","updated_at":"2023-04-18T16:12:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"235c6c67-baa0-4c67-bff1-424e684fea86","html_url":"https://github.com/Shriansh2002/Stock-Prediction","commit_stats":null,"previous_names":["shriansh2002/stock-prediction"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shriansh2002%2FStock-Prediction","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shriansh2002%2FStock-Prediction/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shriansh2002%2FStock-Prediction/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shriansh2002%2FStock-Prediction/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shriansh2002","download_url":"https://codeload.github.com/Shriansh2002/Stock-Prediction/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246473547,"owners_count":20783301,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apple","datascience","finance","linearregression","machinelearning","matplotlib","ml","numpy","pandas","prediction","python","scikitlearn","stock-prediction","stockmarket"],"created_at":"2024-12-13T15:29:09.446Z","updated_at":"2026-05-10T19:20:19.449Z","avatar_url":"https://github.com/Shriansh2002.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stock Prediction App\n\nThis repository contains a Python script to predict the closing price of Apple stock using **Linear Regression**. The script uses data from a CSV file `AAPL.csv` to train a linear regression model and then predicts the closing price for the test data.\n\n## Table of Contents\n\n-   [Prerequisites](#prerequisites)\n-   [Installation](#installation)\n-   [Usage](#usage)\n-   [Contributing](#contributing)\n-   [License](#license)\n\n## Prerequisites\n\n-   Python 3.x\n-   Pandas\n-   NumPy\n-   Matplotlib\n-   Scikit-learn\n\n## Installation\n\n1. Clone this repository to your local machine using\n\n    ```bash\n    git clone https://github.com/Shriansh2002/Stock-Prediction.git\n    ```\n\n2. Install the required packages using\n\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n## Usage\n\n-   Put your `AAPL.csv` file in the same directory as the script.\n-   Run the script using `python apple_stock_prediction.py.`\n-   The script will train a linear regression model on the training data and predict the - closing price for the test data.\n-   The root mean squared error (RMSE) of the prediction will be displayed on the console.\n-   A plot will also be displayed showing the predicted closing prices and the actual closing prices.\n\n## Contributing\n\n-   Fork this repository to your own GitHub account and then clone it to your local device.\n-   Create a new branch:\n    ```bash\n    git checkout -b my-new-feature\n    ```\n-   Make changes and test them.\n-   Submit a pull request detailing the changes made and any additional information about the feature.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE.md file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshriansh2002%2Fstock-prediction","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshriansh2002%2Fstock-prediction","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshriansh2002%2Fstock-prediction/lists"}