{"id":21564990,"url":"https://github.com/mahtabranjbar/heart-risk-classifier","last_synced_at":"2025-03-18T05:17:12.079Z","repository":{"id":195072609,"uuid":"691798968","full_name":"MahtabRanjbar/heart-risk-classifier","owner":"MahtabRanjbar","description":null,"archived":false,"fork":false,"pushed_at":"2023-09-14T23:24:45.000Z","size":137,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-24T11:44:42.447Z","etag":null,"topics":["decision-trees","gradient-boosting","knn","random-forest","svm"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MahtabRanjbar.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}},"created_at":"2023-09-14T23:17:34.000Z","updated_at":"2023-09-15T18:15:49.000Z","dependencies_parsed_at":"2023-09-16T11:54:45.733Z","dependency_job_id":null,"html_url":"https://github.com/MahtabRanjbar/heart-risk-classifier","commit_stats":null,"previous_names":["mahtabranjbar/heart-risk-classifier"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MahtabRanjbar%2Fheart-risk-classifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MahtabRanjbar%2Fheart-risk-classifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MahtabRanjbar%2Fheart-risk-classifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MahtabRanjbar%2Fheart-risk-classifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MahtabRanjbar","download_url":"https://codeload.github.com/MahtabRanjbar/heart-risk-classifier/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244160055,"owners_count":20408021,"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":["decision-trees","gradient-boosting","knn","random-forest","svm"],"created_at":"2024-11-24T10:18:00.005Z","updated_at":"2025-03-18T05:17:12.061Z","avatar_url":"https://github.com/MahtabRanjbar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Heart Attack Risk Classifier\nThis project is a heart attack risk classification system that uses machine learning algorithms to predict whether an individual is at low or high risk for a heart attack. It provides an interface where users can input their health information, and the system will classify their risk based on the trained models.\n\n\u003cimg src=\"./images/app-demo.png\" alt=\"drawing\" width=\"500\"/\u003e\n\n## Table of Contents \n- [Dataset](#dataset)\n- [Model](#model)\n- [Installation](#installation)\n- [Contributing](#contributing)\n- [License](#license)\n- [Contact](#contact)\n\n# Dataset\nThe heart attack dataset used for training and prediction is loaded from the `heart.csv` file. This dataset contains various features related to heart health, such as age, sex, cholesterol levels, blood pressure, and more. The target variable, \"output,\" indicates the risk level of a heart attack, where 1 represents high risk and 0 represents low risk.\n\n# Model\nThe heart attack risk classification system utilizes several machine learning algorithms for prediction. The available models include:\n\n- Logistic Regression\n- K-Nearest Neighbors (KNN)\n- Support Vector Machine (SVM)\n- Decision Trees\n- Random Forest\n- Gradient Boosting\n- XGBoost\n\nEach model has its own set of parameters that can be adjusted for fine-tuning the classification performance.\n  \n# Installation\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/MahtabRanjbar/heart-risk-classifier.git\n```\n\n2. Install the required dependencies:\n\n  ```bash\n  pip install -r requirements.txt\n  ```\n\n3. Run the application:\n```bash\nstreamlit run src/app.py\n```\n\n4. Access the application in your web browser at `http://localhost:8501`.\n\n## Contributing\nContributions are always welcome! If you have any ideas or suggestions, please feel free to open an issue or a pull request.\n\n## License\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more information\n\n\n## Contact\nIf you have any questions or comments about this project, please feel free to contact me at mahtabranjbar93@gmail.com\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahtabranjbar%2Fheart-risk-classifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmahtabranjbar%2Fheart-risk-classifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahtabranjbar%2Fheart-risk-classifier/lists"}