{"id":25486623,"url":"https://github.com/maguids/urbansound8k-classification","last_synced_at":"2026-05-01T18:32:14.864Z","repository":{"id":277058733,"uuid":"931200989","full_name":"Maguids/UrbanSound8K-Classification","owner":"Maguids","description":"This project consists of classifying correctly the sounds of the UrbanSound8K dataset. First Semester of the Third Year of the Bachelor's Degree in Artificial Intelligence and Data Science.","archived":false,"fork":false,"pushed_at":"2025-02-11T22:52:45.000Z","size":4302,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-11T23:23:41.489Z","etag":null,"topics":["cnn-2d","mel-spectrograms","rnn","sound-classification","tensorflow","urban-sound-8k","urban-sound-classification"],"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/Maguids.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":"2025-02-11T22:01:49.000Z","updated_at":"2025-02-11T22:55:05.000Z","dependencies_parsed_at":"2025-02-11T23:23:43.084Z","dependency_job_id":"d3be0d2d-6181-4846-b231-d40df550617d","html_url":"https://github.com/Maguids/UrbanSound8K-Classification","commit_stats":null,"previous_names":["maguids/urbansound8k-classification"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maguids%2FUrbanSound8K-Classification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maguids%2FUrbanSound8K-Classification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maguids%2FUrbanSound8K-Classification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maguids%2FUrbanSound8K-Classification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Maguids","download_url":"https://codeload.github.com/Maguids/UrbanSound8K-Classification/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239533064,"owners_count":19654617,"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":["cnn-2d","mel-spectrograms","rnn","sound-classification","tensorflow","urban-sound-8k","urban-sound-classification"],"created_at":"2025-02-18T19:21:28.050Z","updated_at":"2025-11-07T16:30:36.117Z","avatar_url":"https://github.com/Maguids.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UrbanSound8K Classification\n\nThis project was developed for the \"Machine Learning II\" course and aims to **develop deep learning classifiers** for urban sound data, using the UrbanSound8K dataset.  Classifiers must be able to **identify which of 10 classes of urban sounds** (such as sirens, dog barking, drills, etc.) **a previously unseen audio clip belongs to**.  For this we implemented: **Convolutional Neural Network 2D (CNN)** and **Recurrent Neural Network (RNN)**. \nFirst Semester of the Third Year of the Bachelor's Degree in Artificial Intelligence and Data Science.\n\n\u003cbr\u003e\n\n## Requirements:\n\n\t- librosa \n\t- matplotlib \n\t- ipython \n\t- scipy \n\t- pandas \n\t- numpy \n\t- seaborn \n\t- soundfile \n\t- scikit-learn \n\t- tensorflow\n\n\u003cbr\u003e\n\n## The Project\nAs stated previously, the goal of this project is to develop two types of neural networks capable of correctly classifying portions of audio correctly.\n\n\u003cbr\u003e\n\n### The Dataset:\n\nIn this project we use the **\"UrbanSound8K\"** dataset which can be obtained through the following link: https://urbansounddataset.weebly.com/urbansound8k.html. This dataset contains 8732 labed sounds excerpts of duration less than or equal to 4 seconds. The sound excerpts are labelled according to the following 10 classes:\n- air conditioner;\n- car horn;\n- children playing;\n- dog bark;\n- drilling;\n- engine idling;\n- gun shot;\n- jackhammer;\n- sirne;\n- street music.\n\n\u003cbr\u003e\n\n### Pre-Processing:\nBefore preparing the data for each model, we start by dealing with the sound tracks in general, that is, we make some changes that do not impact the choice of the model to be used:\n- Standardize Sampling Rate at 22050Hz;\n- Convert to Mono;\n- Standardizing Audio Duration to 4s using zero-padding or truncation;\n- Normalizing Amplitude to the Range [-1,1].\n\n\u003cbr\u003e\n\n### Models\n\n- **CNN 2D**\n- **RNN**\n\n\n\u003cbr\u003e\n\n## About the repository:\n\n- Project.pdf ➡️Project statement\n- Trabalho_AC.ipynb ➡️ The work developed;\n\n\u003cbr\u003e\n\n## Link to the course: \n\nThis course is part of the **\u003cu\u003efirst semester\u003c/u\u003e** of the **\u003cu\u003ethird year\u003c/u\u003e** of the **\u003cu\u003eBachelor's Degree in Artificial Intelligence and Data Science\u003c/u\u003e** at **\u003cu\u003eFCUP\u003c/u\u003e** and **\u003cu\u003eFEUP\u003c/u\u003e** in the academic year 2024/2025. You can find more information about this course at the following link:\n\n\u003cdiv style=\"display: flex; flex-direction: column; align-items: center; gap: 10px;\"\u003e\n  \u003ca href=\"https://sigarra.up.pt/fcup/pt/ucurr_geral.ficha_uc_view?pv_ocorrencia_id=529877\"\u003e\n    \u003cimg alt=\"Link to Course\" src=\"https://img.shields.io/badge/Link_to_Course-0077B5?style=for-the-badge\u0026logo=logoColor=white\" /\u003e\n  \u003c/a\u003e\n\n  \u003cdiv style=\"display: flex; gap: 10px; justify-content: center;\"\u003e\n    \u003ca href=\"https://sigarra.up.pt/fcup/pt/web_page.inicial\"\u003e\n      \u003cimg alt=\"FCUP\" src=\"https://img.shields.io/badge/FCUP-808080?style=for-the-badge\u0026logo=logoColor=grey\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://sigarra.up.pt/feup/pt/web_page.inicial\"\u003e\n      \u003cimg alt=\"FEUP\" src=\"https://img.shields.io/badge/FEUP-808080?style=for-the-badge\u0026logo=logoColor=grey\" /\u003e\n    \u003c/a\u003e\n  \u003c/div\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaguids%2Furbansound8k-classification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaguids%2Furbansound8k-classification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaguids%2Furbansound8k-classification/lists"}