{"id":16269741,"url":"https://github.com/merekat/flight-delay-prediction","last_synced_at":"2025-04-08T15:20:19.404Z","repository":{"id":248125293,"uuid":"824530549","full_name":"merekat/flight-delay-prediction","owner":"merekat","description":"This project focuses on predicting flight delays using historical data from a Tunisian airline. We analyzed patterns in airport operations and flight schedules to build a machine learning model that can forecast potential delays. ","archived":false,"fork":false,"pushed_at":"2024-07-12T13:52:33.000Z","size":56192,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T11:41:45.133Z","etag":null,"topics":["aviation","data","data-science","machine-learning","machine-learning-algorithms","machinelearning","prediction","predictive-modeling"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/merekat.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":"2024-07-05T10:25:56.000Z","updated_at":"2024-07-12T13:52:36.000Z","dependencies_parsed_at":"2024-07-12T15:26:40.491Z","dependency_job_id":null,"html_url":"https://github.com/merekat/flight-delay-prediction","commit_stats":null,"previous_names":["merekat/flight-delay-prediction"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merekat%2Fflight-delay-prediction","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merekat%2Fflight-delay-prediction/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merekat%2Fflight-delay-prediction/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merekat%2Fflight-delay-prediction/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/merekat","download_url":"https://codeload.github.com/merekat/flight-delay-prediction/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247867362,"owners_count":21009240,"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":["aviation","data","data-science","machine-learning","machine-learning-algorithms","machinelearning","prediction","predictive-modeling"],"created_at":"2024-10-10T18:09:00.893Z","updated_at":"2025-04-08T15:20:19.386Z","avatar_url":"https://github.com/merekat.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Shipping files](https://github.com/neuefische/ds-ml-project-template/actions/workflows/workflow-02.yml/badge.svg?branch=main\u0026event=workflow_dispatch)](https://github.com/neuefische/ds-ml-project-template/actions/workflows/workflow-02.yml)\n\n## Flight Prediction Test on Airport Data from Tunesian Airline\n\nBased on several machine learning classifier this project tries to predict delays of individual airplanes.\n\n### Set up the Presentation\n\n- The presentation can be started with streamlit. Make sure to have streamlit installed in your directory, as described in the requirements. \n\n     ```BASH\n    streamlit run app.py\n    ```\n    After that a local host is started in your standard browser. \n \n\n\n## Set up your Environment\n\n\n\n### **`macOS`** type the following commands : \n\n- For installing the virtual environment you can either use the [Makefile](Makefile) and run `make setup` or install it manually with the following commands:\n\n     ```BASH\n    make setup\n    ```\n    After that active your environment by following commands:\n    ```BASH\n    source .venv/bin/activate\n    ```\nOr ....\n- Install the virtual environment and the required packages by following commands:\n\n    ```BASH\n    pyenv local 3.11.3\n    python -m venv .venv\n    source .venv/bin/activate\n    pip install --upgrade pip\n    pip install -r requirements.txt\n    ```\n    \n### **`WindowsOS`** type the following commands :\n\n- Install the virtual environment and the required packages by following commands.\n\n   For `PowerShell` CLI :\n\n    ```PowerShell\n    pyenv local 3.11.3\n    python -m venv .venv\n    .venv\\Scripts\\Activate.ps1\n    pip install --upgrade pip\n    pip install -r requirements.txt\n    ```\n\n    For `Git-bash` CLI :\n  \n    ```BASH\n    pyenv local 3.11.3\n    python -m venv .venv\n    source .venv/Scripts/activate\n    pip install --upgrade pip\n    pip install -r requirements.txt\n    ```\n\n    **`Note:`**\n    If you encounter an error when trying to run `pip install --upgrade pip`, try using the following command:\n    ```Bash\n    python.exe -m pip install --upgrade pip\n    ```\n\n\n   \n## Usage\n\nIn order to train the model and store test data in the data folder and the model in models run:\n\n**`Note`**: Make sure your environment is activated.\n\n```bash\npython example_files/train.py  \n```\n\nIn order to test that predict works on a test set you created run:\n\n```bash\npython example_files/predict.py models/linear_regression_model.sav data/X_test.csv data/y_test.csv\n```\n\n## Limitations\n\nDevelopment libraries are part of the production environment, normally these would be separate as the production code should be as slim as possible.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmerekat%2Fflight-delay-prediction","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmerekat%2Fflight-delay-prediction","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmerekat%2Fflight-delay-prediction/lists"}