{"id":28221083,"url":"https://github.com/visvav/flight-delay-prediction-analysis-using-logistic-regression","last_synced_at":"2025-09-02T12:34:07.047Z","repository":{"id":283808700,"uuid":"952981050","full_name":"VisvaV/Flight-Delay-Prediction-Analysis-using-Logistic-Regression","owner":"VisvaV","description":"A statistical project analyzing flight delay predictions using historical data. It employs logistic regression to classify flights as delayed or on-time based on factors like departure time, carrier, origin airport, weather conditions, and past delay patterns.","archived":false,"fork":false,"pushed_at":"2025-03-22T09:45:41.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-18T05:15:48.949Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"R","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/VisvaV.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":"2025-03-22T09:44:23.000Z","updated_at":"2025-03-22T10:25:33.000Z","dependencies_parsed_at":"2025-03-22T10:28:23.509Z","dependency_job_id":"51e6a448-3f50-41d2-9791-b04c96fb32a9","html_url":"https://github.com/VisvaV/Flight-Delay-Prediction-Analysis-using-Logistic-Regression","commit_stats":null,"previous_names":["visvav/flight-delay-prediction-analysis-using-logistic-regression"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VisvaV%2FFlight-Delay-Prediction-Analysis-using-Logistic-Regression","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VisvaV%2FFlight-Delay-Prediction-Analysis-using-Logistic-Regression/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VisvaV%2FFlight-Delay-Prediction-Analysis-using-Logistic-Regression/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VisvaV%2FFlight-Delay-Prediction-Analysis-using-Logistic-Regression/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VisvaV","download_url":"https://codeload.github.com/VisvaV/Flight-Delay-Prediction-Analysis-using-Logistic-Regression/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VisvaV%2FFlight-Delay-Prediction-Analysis-using-Logistic-Regression/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259066893,"owners_count":22800223,"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":[],"created_at":"2025-05-18T05:15:38.670Z","updated_at":"2025-06-10T11:32:32.447Z","avatar_url":"https://github.com/VisvaV.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flight Delay Prediction Analysis\nA statistical project analyzing flight delay predictions using historical data. It employs logistic regression to classify flights as delayed or on-time based on factors like departure time, carrier, origin airport, weather conditions, and past delay patterns.\n\n## Features\n- **Data Exploration**: Analyzes the `flights` and `weather` datasets to identify trends and missing values.\n- **Data Preprocessing**: Merges datasets, extracts relevant features, and converts data into suitable formats for modeling.\n- **Logistic Regression Model**: Trains a logistic regression model to predict flight delays based on selected features.\n- **Model Evaluation**: Uses metrics like accuracy, sensitivity, and specificity to evaluate model performance.\n- **Visualization**: Plots confusion matrices, feature importance, and delay rates by carrier, hour, and weather conditions.\n\n## Requirements\n- R 4.0+\n- `tidyverse` for data manipulation\n- `tidymodels` for modeling\n- `nycflights13` for flight data\n- `ggplot2` for visualization\n\n## Installation\n1. Clone the repository: `git clone https://github.com/yourusername/flight-delay-prediction-analysis.git`\n2. Navigate into the project directory: `cd flight-delay-prediction-analysis`\n3. Install dependencies: `install.packages(c(\"tidyverse\", \"tidymodels\", \"nycflights13\", \"ggplot2\"))`\n\n## Usage\n1. Run the application: `Rscript main.R`\n2. Follow the prompts to explore data, train the model, and visualize results.\n\n## Contributing\nContributions are welcome! Please submit a pull request with your changes.\n\n## License\n[MIT License](https://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvisvav%2Fflight-delay-prediction-analysis-using-logistic-regression","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvisvav%2Fflight-delay-prediction-analysis-using-logistic-regression","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvisvav%2Fflight-delay-prediction-analysis-using-logistic-regression/lists"}