{"id":24703411,"url":"https://github.com/youssef-saaed/activity-recognition-using-various-ml-algorithms","last_synced_at":"2025-03-22T04:43:01.120Z","repository":{"id":243358456,"uuid":"812213363","full_name":"youssef-saaed/activity-recognition-using-various-ml-algorithms","owner":"youssef-saaed","description":"This project involves a comprehensive comparative analysis of various machine learning models to classify activities based on a given dataset. The analysis follows a structured approach, including data exploration, model training, model evaluation, and results interpretation to identify the best performing model.","archived":false,"fork":false,"pushed_at":"2024-07-04T18:22:45.000Z","size":1863,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-27T05:55:01.955Z","etag":null,"topics":["activity-recognition","comparative-analysis","cross-validation","data-exploration","data-visualization","machine-learning","model-evaluation","model-training","neural-networks"],"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/youssef-saaed.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-06-08T08:57:52.000Z","updated_at":"2024-07-04T18:22:48.000Z","dependencies_parsed_at":"2024-06-08T10:25:35.705Z","dependency_job_id":"fed5274f-e516-449b-9333-e574015d00de","html_url":"https://github.com/youssef-saaed/activity-recognition-using-various-ml-algorithms","commit_stats":null,"previous_names":["youssef-saaed/activity-recognition-using-various-ml-algorithms"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youssef-saaed%2Factivity-recognition-using-various-ml-algorithms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youssef-saaed%2Factivity-recognition-using-various-ml-algorithms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youssef-saaed%2Factivity-recognition-using-various-ml-algorithms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youssef-saaed%2Factivity-recognition-using-various-ml-algorithms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/youssef-saaed","download_url":"https://codeload.github.com/youssef-saaed/activity-recognition-using-various-ml-algorithms/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244907379,"owners_count":20529851,"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":["activity-recognition","comparative-analysis","cross-validation","data-exploration","data-visualization","machine-learning","model-evaluation","model-training","neural-networks"],"created_at":"2025-01-27T05:55:13.569Z","updated_at":"2025-03-22T04:43:01.104Z","avatar_url":"https://github.com/youssef-saaed.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Comparative Analysis of Machine Learning Models for Activity\n\n## Overview\nThis project involves a comprehensive comparative analysis of various machine learning models to classify activities based on a given dataset. The analysis follows a structured approach, including data exploration, model training, model evaluation, and results interpretation to identify the best performing model.\n\n## Project Stages\n\n### 1. Data Exploration\n- **Loading the Dataset**: Imported the dataset and conducted an initial exploration to understand its structure.\n- **Exploration**: Analyzed the distribution of data and visualized various columns.\n- **Correlation Analysis**: Investigated correlations between columns to understand relationships and data patterns.\n- **Resampling**: Addressed the imbalance in the dataset by resampling techniques to ensure a balanced representation of classes.\n\n### 2. Model Training\n- **Models Trained**:\n  - Neural Networks\n  - Ridge Classifier\n  - Logistic Regression\n  - K-Nearest Neighbors (KNN)\n  - Support Vector Machine (SVM)\n- **Fine-tuning**: Utilized techniques such as k-fold cross-validation and grid search to optimize model parameters and improve performance.\n\n### 3. Model Evaluation\n- **Testing**: Evaluated the trained models on test samples.\n- **Performance Metrics**: Generated confusion matrices and calculated accuracy scores to assess the performance of each model.\n\n### 4. Results\n- **Comparison**: Compared accuracies and confusion matrices of all models.\n- **Best Model**: Identified Neural Networks as the best performing model based on the comparison of evaluation metrics.\n\n### 5. Conclusion\n- **Summary**: Summarized the findings and highlighted the superiority of the Neural Networks model.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoussef-saaed%2Factivity-recognition-using-various-ml-algorithms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyoussef-saaed%2Factivity-recognition-using-various-ml-algorithms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoussef-saaed%2Factivity-recognition-using-various-ml-algorithms/lists"}