Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
This project involves analyzing flight data, building predictive models, and creating APIs to serve predictions. Below are the key instructions and guidelines for working with this project.
Sign in to like and favorite skills
This project involves analyzing flight data, building predictive models, and creating APIs to serve predictions. Below are the key instructions and guidelines for working with this project.
Data Exploration and Cleaning:
DepDelay and ArrDelay columns.Model Building:
RandomForestClassifier to predict the likelihood of a flight being delayed (DepDel15).DayOfWeekDestAirportIDDepDel15.random_forest_model.pkl.API Development:
/predict: Accepts day_of_week and airport_id as query parameters and returns the delay probability and confidence./airports: Returns a list of airport names and IDs, sorted alphabetically.Frontend Integration:
data/: Contains the raw and processed datasets.server/: Contains the Flask API code and model files.possible-solution/: Contains example notebooks and solutions.client/: Contains the frontend code.pip install -r server/requirements.txt
python server/app.py