{"id":13829420,"url":"https://github.com/akshaybahadur21/BreastCancer_Classification","last_synced_at":"2025-07-09T10:30:49.544Z","repository":{"id":41176211,"uuid":"108012253","full_name":"akshaybahadur21/BreastCancer_Classification","owner":"akshaybahadur21","description":"Machine learning classifier for cancer tissues 🔬","archived":false,"fork":false,"pushed_at":"2021-06-04T09:21:20.000Z","size":22238,"stargazers_count":72,"open_issues_count":0,"forks_count":61,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-05T10:08:23.450Z","etag":null,"topics":["breast-cancer","breast-cancer-prediction","breast-cancer-wisconsin","dataset-uci","logistic-regression","machine-learning","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/akshaybahadur21.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-23T17:00:22.000Z","updated_at":"2024-07-17T11:30:50.000Z","dependencies_parsed_at":"2022-09-03T12:00:24.328Z","dependency_job_id":null,"html_url":"https://github.com/akshaybahadur21/BreastCancer_Classification","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akshaybahadur21%2FBreastCancer_Classification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akshaybahadur21%2FBreastCancer_Classification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akshaybahadur21%2FBreastCancer_Classification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akshaybahadur21%2FBreastCancer_Classification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akshaybahadur21","download_url":"https://codeload.github.com/akshaybahadur21/BreastCancer_Classification/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225533015,"owners_count":17484179,"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":["breast-cancer","breast-cancer-prediction","breast-cancer-wisconsin","dataset-uci","logistic-regression","machine-learning","python"],"created_at":"2024-08-04T10:00:36.364Z","updated_at":"2025-07-09T10:30:49.538Z","avatar_url":"https://github.com/akshaybahadur21.png","language":"Python","funding_links":[],"categories":["Code"],"sub_categories":["Repositories"],"readme":"# Breast Cancer Classifier (Logistic Regression) 🔬\n[![](https://img.shields.io/github/license/sourcerer-io/hall-of-fame.svg?colorB=ff0000)](https://github.com/akshaybahadur21/BreastCancer_Classification/blob/master/LICENSE.txt)  [![](https://img.shields.io/badge/Akshay-Bahadur-brightgreen.svg?colorB=ff0000)](https://akshaybahadur.com)\n\nThis code helps you classify malignant and benign tumors using Logistic Regression\n\n## Code Requirements 🦄\n\nThe example code is in Matlab ([R2016](https://in.mathworks.com/help/matlab/) or higher will work). \n\nYou can install Conda for python which resolves all the dependencies for machine learning.\n\n## Description 🧪\nLogistic regression is named for the function used at the core of the method, the logistic function.\n\nThe logistic function, also called the sigmoid function was developed by statisticians to describe properties of population growth in ecology, rising quickly and maxing out at the carrying capacity of the environment. It’s an S-shaped curve that can take any real-valued number and map it into a value between 0 and 1, but never exactly at those limits.\n\n1 / (1 + e^-value)\n\n\u003cimg src=\"https://github.com/akshaybahadur21/BreastCancer_Classification/blob/master/Logistic-Function.png\"\u003e\n\nFor more information, [see](https://en.wikipedia.org/wiki/Logistic_regression)\n\n## Some Notes 🗒️\n1) Dataset- UCI-ML\n2) I have used only 2 features out of 32 to classify.\n\n## Results 📊\n\u003cimg src=\"https://github.com/akshaybahadur21/BreastCancer_Classification/blob/master/breast_cancer.gif\"\u003e\n\n## Execution 🐉\nTo run the code, type `run breast_cancer.m`\n\n```\nrun breast_cancer.m\n```\n\n## Python  Implementation 👨‍🔬\n\n1) Dataset- UCI-ML\n2) I have used 30 features to classify\n3) Instead of 0=benign and 1=malignant, I have used 1=benign and 2=malignant\n\n## Results 📊\n\u003cimg src=\"https://github.com/akshaybahadur21/BreastCancer_Classification/blob/master/b_cancer_python.gif\"\u003e\n\n## Execution 🐉\nTo run the code, type `python B_Cancer.py`\n\n```\npython B_Cancer.py\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakshaybahadur21%2FBreastCancer_Classification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakshaybahadur21%2FBreastCancer_Classification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakshaybahadur21%2FBreastCancer_Classification/lists"}