{"id":27257374,"url":"https://github.com/sarcode/.wav-classification","last_synced_at":"2025-07-16T08:08:20.593Z","repository":{"id":74851889,"uuid":"169608236","full_name":"SarCode/.wav-Classification","owner":"SarCode","description":"Classification of .wav audio file using methods for predicting interference like klt, klt_jabloun etc.","archived":false,"fork":false,"pushed_at":"2023-04-21T22:58:43.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-11T03:17:13.474Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/SarCode.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,"zenodo":null}},"created_at":"2019-02-07T17:02:29.000Z","updated_at":"2023-04-21T22:58:48.000Z","dependencies_parsed_at":"2023-07-13T09:46:28.195Z","dependency_job_id":null,"html_url":"https://github.com/SarCode/.wav-Classification","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SarCode/.wav-Classification","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SarCode%2F.wav-Classification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SarCode%2F.wav-Classification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SarCode%2F.wav-Classification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SarCode%2F.wav-Classification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SarCode","download_url":"https://codeload.github.com/SarCode/.wav-Classification/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SarCode%2F.wav-Classification/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265495356,"owners_count":23776616,"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-04-11T03:17:12.183Z","updated_at":"2025-07-16T08:08:20.577Z","avatar_url":"https://github.com/SarCode.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"left\"\u003e \u003cimg src=\"https://komarev.com/ghpvc/?username=sarcode\u0026label=Profile%20views\u0026color=0e75b6\u0026style=flat\" alt=\"sarcode\" /\u003e \u003c/p\u003e\n\n[![LinkedIn][linkedin-shield]][linkedin-url]\n\n# .wav-Classification\nClassification of .wav audio file using methods for predicting interference like klt, klt_jabloun etc.\n\n## Libraries ##\n* Pandas\n* sklearn\n  * Pre-processing\n  * Linear Model\n  * Ensemble\n  * SVM\n  * Metrics\n  * Train Test Split\n  \n## To run ##\nExecute:\n\n* create_dataset_from_original_file.py\n* predicted_using_created_dataset.py\n\n## Improving Code\nThe scripts create_dataset_from_original_file.py \u0026 predicted_using_created_dataset.py are for basic understanding of Data Wrangling and Pre-Processing.\n\nIf you want higher accuracy and have knowledge of python then execute only class_predict_updated.py.\n\n\n## Dataset ##\ndata_svm_org_new_v2.csv contains 1793*2 data, varying between 1 - 5.\n\nThere are 8 target classes:\n* babble_sn5\n* car_sn5\n* street_sn5\n* train_sn5\n* babble_sn10\n* car_sn10\n* street_sn10 \n* train_sn10.\n\nEach class has 16 samples: \n* sp01\n* sp02\n* sp03\n* sp04\n* sp06\n* sp07\n* sp08\n* sp09\n* sp11\n* sp12\n* sp13\n* sp14\n* sp16\n* sp17\n* sp18\n* sp19 \n(05,10,15 is not there).\n\n\n## Data Wrangling ##\n\nData in column[0] is wrangled by delimiter \"_\".\n\nSplitting data by \"_\" we create 14 columns that have methods to determine .wav file.\n\nEnd product of data wrangling is to convert 1793 * 2 into 128 * 14.\n\n## Machine Learning Models ##\n* [Logistic Regression](\u003chttps://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html\u003e)\n\n* [Random Forest Classifier](\u003chttps://scikit-learn.org/stable/modules/generated/sklearn.ensemble.RandomForestClassifier.html\u003e)\n \n* [SVC](\u003chttps://scikit-learn.org/stable/modules/generated/sklearn.svm.SVC.html\u003e)\n\n## Performance Metric ##\n[Accuracy Score](\u003chttps://scikit-learn.org/stable/modules/generated/sklearn.metrics.accuracy_score.html\u003e)\n\n\n[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge\u0026logo=linkedin\u0026colorB=555\n[linkedin-url]: https://www.linkedin.com/in/sarthak-agarwal-dell/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsarcode%2F.wav-classification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsarcode%2F.wav-classification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsarcode%2F.wav-classification/lists"}