{"id":18246426,"url":"https://github.com/mehmoodulhaq570/bigquery_machine_learning_project","last_synced_at":"2026-05-07T03:40:18.648Z","repository":{"id":221929352,"uuid":"755808439","full_name":"mehmoodulhaq570/BigQuery_Machine_Learning_Project","owner":"mehmoodulhaq570","description":"Developed a machine learning model to predict incident groups based on data from the London Fire Brigade service calls. ","archived":false,"fork":false,"pushed_at":"2024-02-19T06:22:46.000Z","size":363,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T15:15:52.821Z","etag":null,"topics":["bigquery","bigquery-dataset","cloud","database","jupyter-notebook","machine-learning","machine-learning-algorithms","ml","models","prediction-algorithm","prediction-model","python"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mehmoodulhaq570.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-02-11T05:49:04.000Z","updated_at":"2025-01-01T19:31:34.000Z","dependencies_parsed_at":"2024-02-11T06:27:39.214Z","dependency_job_id":"80620482-0e67-4366-9509-68f0cf005c0f","html_url":"https://github.com/mehmoodulhaq570/BigQuery_Machine_Learning_Project","commit_stats":null,"previous_names":["mehmoodulhaq570/bigquery_machine_learning_project"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehmoodulhaq570%2FBigQuery_Machine_Learning_Project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehmoodulhaq570%2FBigQuery_Machine_Learning_Project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehmoodulhaq570%2FBigQuery_Machine_Learning_Project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehmoodulhaq570%2FBigQuery_Machine_Learning_Project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mehmoodulhaq570","download_url":"https://codeload.github.com/mehmoodulhaq570/BigQuery_Machine_Learning_Project/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247912488,"owners_count":21017028,"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":["bigquery","bigquery-dataset","cloud","database","jupyter-notebook","machine-learning","machine-learning-algorithms","ml","models","prediction-algorithm","prediction-model","python"],"created_at":"2024-11-05T09:25:56.594Z","updated_at":"2026-05-07T03:40:18.600Z","avatar_url":"https://github.com/mehmoodulhaq570.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BigQuery_Machine_Learning_Project\n\n\n# London Fire Brigade Incident Group Prediction\n\nThis project aims to develop a machine learning model to predict incident groups based on data from the London Fire Brigade service calls. By leveraging a Gradient Boosting Classifier, the model categorizes incidents into different groups, facilitating more efficient resource allocation and incident response management within the London Fire Brigade.\n\n## Table of Contents\n\n- [Collaborators](#collaborators)\n- [Overview](#overview)\n- [Project Description](#project-description)\n- [Programming Language](#programming-language)\n- [Environment](#environment)\n- [Dataset](#dataset)\n- [Analysis of Dataset](#analysis-of-dataset)\n- [Data Exploration](#data-exploration)\n- [Data Prediction](#data-prediction)\n- [Conclusion](#conclusion)\n\n## Collaborators\n\n- Kashif Muneer (SUNet ID: 2021-CE-34)\n- Mehmood Ul Haq (SUNet ID: 2021-CE-35)\n\n## Overview\n\nThe goal of this project is to develop a machine learning model using a Gradient Boosting Classifier to predict the incident group based on data from the London Fire Brigade service calls. By classifying incidents into different groups, the model aims to contribute to better resource allocation and incident response management within the London Fire Brigade.\n\n## Project Description\n\nThe project utilizes Python programming language and runs in the Google Colab environment. The dataset used for this project is the London Fire Brigade Service Calls Dataset, sourced from the BigQuery Public Dataset. The model development involves querying and preprocessing the dataset, training a Gradient Boosting Classifier, making predictions, and evaluating the model's performance.\n\n## Programming Language\n\nPython\n\n## Environment\n\nThe project is developed in Google Colab.\n\n## Dataset\n\n- **Dataset Name:** London Fire Brigade Service Calls Dataset\n- **Dataset Link:** [BigQuery Public Dataset: London Fire Brigade Service Calls](https://console.cloud.google.com/bigquery?project=gcp-2021-ce-35\u0026supportedpurview=project\u0026ws=!1m10!1m4!4m3!1sbigquery-public-data!2slondon_fire_brigade!3sfire_brigade_service_calls!1m4!4m3!1sbigquery-public-data!2schicago_crime!3scrime)\n\n## Analysis of Dataset\n\nThe analysis of the dataset involves querying a subset of data from BigQuery for initial analysis, loading it into a DataFrame, and displaying a snapshot. This helps in understanding the structure and features of the dataset.\n\n## Data Exploration\n\nData exploration includes querying the complete dataset from BigQuery, preprocessing it, and visualizing the count of incidents by group. This step provides insights into the distribution of incidents across different groups, aiding in understanding the data distribution.\n\n## Data Prediction\n\nData prediction involves extracting features and the target variable for prediction, splitting the data, training a Gradient Boosting model, making predictions, and evaluating the model. This step assesses the model's performance in predicting incident groups.\n\n## Conclusion\n\n**General Observations:**  \nThe initial data analysis provided a snapshot of the dataset, including key features.\n\n**Prediction Results:**  \nThe Gradient Boosting model achieved an accuracy of {accuracy_gb:.2f} on the test set. The classification report provides detailed metrics for each incident group, indicating strengths and areas for improvement.\n\n**Implications for Fire Brigade Operations:**  \nPredictive models can assist in anticipating incident types and response times, enhancing operational efficiency.\n\n**Concluding Remarks:**  \nThe analysis and prediction serve as valuable tools for enhancing decision-making within the Fire Brigade.\n\n\n- For issues or feedback, please contact me at mehmodulhaq1040@gmail.com...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmehmoodulhaq570%2Fbigquery_machine_learning_project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmehmoodulhaq570%2Fbigquery_machine_learning_project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmehmoodulhaq570%2Fbigquery_machine_learning_project/lists"}