# 034adarsh/stock-price-prediction-using-lstm architecture

> Architecture diagram of the GitHub repository 034adarsh/stock-price-prediction-using-lstm, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-08-11). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/034adarsh/stock-price-prediction-using-lstm
- Repository: https://github.com/034adarsh/stock-price-prediction-using-lstm

## Overview

##### Project type and purpose
- This is a data-science/ML pipeline project for time-series forecasting of stock prices using LSTM models in Jupyter Notebooks.
- It ingests historical market data via Yahoo Finance, preprocesses it, trains and evaluates an LSTM network, then visualizes predictions versus actuals.

##### File structure
- Top-level notebooks:
– LSTM_model.ipynb (baseline training & prediction code)
– LSTM_Improved_model(diff_dataset).ipynb (enhanced version with different datasets)
- Repository metadata:
– README.md outlines usage, dataset, training & evaluation steps
– LICENSE grants MIT usage rights
- No separate src/ or backend/frontend folders—core logic lives inside notebooks.

##### README for additional insights
- Data is fetched at runtime from Yahoo Finance (no local CSVs).
- Frameworks implied: TensorFlow or PyTorch, plus standard Python data libraries (pandas, NumPy, matplotlib).
- Workflow phases described: data fetch → preprocessing → model training → evaluation → visualization.

## Diagram (Mermaid)

```mermaid
flowchart TD
    External["Yahoo Finance API"]:::external
    subgraph "Jupyter Notebook UI"
        Ingest["Data Ingestion Module"]:::data
        Preproc["Data Preprocessing Layer"]:::data
        Train["Model Training Engine"]:::model
        Predict["Prediction & Evaluation Module"]:::eval
        Visual["Visualization & Reporting"]:::eval
    end
    Artifacts[(Model Artifacts Store)]:::storage
    Docs["Project Documentation & Workflow Overview"]:::docs
    License["Licensing"]:::docs

    External --> Ingest
    Ingest --> Preproc
    Preproc --> Train
    Train --> Artifacts
    Artifacts --> Predict
    Predict --> Visual

    click External "https://github.com/034adarsh/stock-price-prediction-using-lstm/blob/main/LSTM_model.ipynb"
    click Ingest "https://github.com/034adarsh/stock-price-prediction-using-lstm/blob/main/LSTM_model.ipynb"
    click Preproc "https://github.com/034adarsh/stock-price-prediction-using-lstm/blob/main/LSTM_model.ipynb"
    click Train "https://github.com/034adarsh/stock-price-prediction-using-lstm/blob/main/LSTM_model.ipynb"
    click Predict "https://github.com/034adarsh/stock-price-prediction-using-lstm/blob/main/LSTM_model.ipynb"
    click Visual "https://github.com/034adarsh/stock-price-prediction-using-lstm/blob/main/LSTM_model.ipynb"
    click Docs "https://github.com/034adarsh/stock-price-prediction-using-lstm/blob/main/README.md"
    click License "https://github.com/034adarsh/stock-price-prediction-using-lstm/tree/main/LICENSE"

    classDef external fill:#CCCCCC,stroke:#333,color:#000
    classDef data fill:#A6CEE3,stroke:#333,color:#000
    classDef model fill:#B2DF8A,stroke:#333,color:#000
    classDef eval fill:#FDBF6F,stroke:#333,color:#000
    classDef storage fill:#CAB2D6,stroke:#333,color:#000
    classDef docs fill:#FFFF99,stroke:#333,color:#000
```
