# bash2365/multiple-linear-regression-in-r-falcons-data-prediction architecture

> Architecture diagram of the GitHub repository bash2365/multiple-linear-regression-in-r-falcons-data-prediction, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-05-17). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/bash2365/multiple-linear-regression-in-r-falcons-data-prediction
- Repository: https://github.com/bash2365/multiple-linear-regression-in-r-falcons-data-prediction

## Overview

##### Project type and purpose
- This is a data‐science pipeline built in R for predicting Atlanta Falcons NFL receiver touchdowns via multiple linear regression (MLR).
- It ingests raw data (Excel), runs several model‐building scripts (with and without cross-validation), produces graphs, and compiles results into rendered PDFs and a master R Markdown report.

##### File structure
- Root files:
- Atlanta_Falcons_data.xlsx (raw data)
- README.md (project overview)
- R markdown, MLR project updated 5-16.Rmd (master report)
- Code iterations: several .R scripts showing different model versions
- R_Graphs: output folders for model graphs
- R_Markdown_PDF_Versions: successive rendered PDF reports (V1–V5)

##### README
- No additional hidden architectures—this is a linear pipeline.

##### Detailed capture of essential elements
- “Project Overview (README.md)” block sits immediately after “Atlanta_Falcons_data.xlsx.”
- Keep it at a single horizontal or vertical flow, with a clear split for the two model types.

## Diagram (Mermaid)

```mermaid
flowchart TD
    Title["Atlanta Falcons Touchdown Prediction Pipeline"]:::doc
    Data["Atlanta_Falcons_data.xlsx"]:::data
    Overview["Project Overview (README.md)"]:::doc

    subgraph "Model Building Stage"
        direction TB
        TTS["MLR_Model_2_TTS.R\n(no CV)"]:::compute
        CV["Improved_MLR_Model_3_CV_Ridge.R"]:::compute
        Opt["Optimistic_MLR_Model.R"]:::compute
    end

    Graphs["Visualization (R_Graphs/)"]:::viz
    PDFs["Rendered PDF Versions (V1–V5)"]:::report
    Master["Master R Markdown Report\n(R markdown, MLR project updated 5-16.Rmd)"]:::report
    Doc["Version Control & Documentation\n(README.md & git-diagram)"]:::doc

    Title --> Data
    Data --> Overview
    Overview --> TTS
    Overview --> CV
    Overview --> Opt
    TTS --> Graphs
    CV --> Graphs
    Opt --> Graphs
    Graphs --> PDFs
    PDFs --> Master
    Doc -.-> Title

    click Data "https://github.com/bash2365/multiple-linear-regression-in-r-falcons-data-prediction/blob/main/Atlanta_Falcons_data.xlsx"
    click Overview "https://github.com/bash2365/multiple-linear-regression-in-r-falcons-data-prediction/blob/main/README.md"
    click TTS "https://github.com/bash2365/multiple-linear-regression-in-r-falcons-data-prediction/blob/main/Code iterations/MLR_Model_2_TTS.R"
    click CV "https://github.com/bash2365/multiple-linear-regression-in-r-falcons-data-prediction/blob/main/Code iterations/Improved_MLR_Model_3_CV_Ridge.R"
    click Opt "https://github.com/bash2365/multiple-linear-regression-in-r-falcons-data-prediction/blob/main/Code iterations/Optimistic_MLR_Model.R"
    click Graphs "https://github.com/bash2365/multiple-linear-regression-in-r-falcons-data-prediction/tree/main/R_Graphs/"
    click PDFs "https://github.com/bash2365/multiple-linear-regression-in-r-falcons-data-prediction/tree/main/R_Markdown_PDF_Versions/"
    click Master "https://github.com/bash2365/multiple-linear-regression-in-r-falcons-data-prediction/blob/main/R markdown, MLR project updated 5-16.Rmd"

    classDef data fill:#ADD8E6,stroke:#000,stroke-width:1px
    classDef compute fill:#90EE90,stroke:#000,stroke-width:1px
    classDef viz fill:#FFA500,stroke:#000,stroke-width:1px
    classDef report fill:#DDA0DD,stroke:#000,stroke-width:1px
    classDef doc fill:#D3D3D3,stroke:#000,stroke-width:1px
```
