Breast Cancer Wisconsin (Diagnostic) Dataset
基于乳腺肿块细针抽吸图像特征,用于乳腺癌诊断(恶性/良性)预测的表格数据集。

基本信息
资源简介
Breast Cancer Wisconsin (Diagnostic) Dataset
【数据集背景】
本数据集源站标题为《AhmedHosamMorgan/Supervised-Unsupervised-Machine-Learning-Models-on-Breast-Cancer-Dataset-Using-Ai.》。源站首次发布:2024-01-01。
【数据内容】
源站原始描述:End of semester project for AI at Future University in Egypt End of Semester Project For Machine Learning For Artificial intelligence Subject - Future University In Egypt (FUE) Supervised/Unsupervised Machine Learning Models on “Breast Cancer” Dataset Using Ai. # Breast Cancer Diagnosis Prediction This project aims to predict breast cancer diagnosis using machine learning techniques. It utilizes the Breast Cancer Wisconsin (Diagnostic) dataset, available in the `data.csv` file, containing variou…
【适用方向】
结构化表格数据可直接用于统计建模、特征工程与队列分析。
【获取与许可】
源站页面:https://github.com/AhmedHosamMorgan/Supervised-Unsupervised-Machine-Learning-Models-on-Breast-Cancer-Dataset-Using-Ai.
【使用注意】
· 源站最后修改于 2024-03-15,引用时请注意版本时效。
下载信息
注册下载
需要注册 Kaggle 账号并登录后下载,适合需要跟踪下载记录和使用 API 的用户。
暂未开放公开下载
无需注册即可直接获取公开样本或文档,适合快速预览和评估数据集质量。
免登录有偿下载
公开数据集受托下载与技术交付服务。
提供高速下载与技术交付服务(收技术服务费,非数据销售)
暂未开放当前数据集主要来源为 Kaggle 公开托管,完整影像包建议通过原始链接或 Kaggle API 获取。
使用方式
数据集获取
# 克隆仓库(含数据与代码)
git clone https://github.com/AhmedHosamMorgan/Supervised-Unsupervised-Machine-Learning-Models-on-Breast-Cancer-Dataset-Using-Ai..git
# 或仅下载打包文件
curl -L -o repo.zip https://github.com/AhmedHosamMorgan/Supervised-Unsupervised-Machine-Learning-Models-on-Breast-Cancer-Dataset-Using-Ai./archive/refs/heads/main.zip
unzip repo.zip
源站 README 摘录(使用方式)
End of Semester Project For Machine Learning For Artificial intelligence Subject - Future University In Egypt (FUE)
Supervised/Unsupervised Machine Learning Models on “Breast Cancer” Dataset Using Ai.
Breast Cancer Diagnosis Prediction
This project aims to predict breast cancer diagnosis using machine learning techniques. It utilizes the Breast Cancer Wisconsin (Diagnostic) dataset, available in the data.csv file, containing various features computed from a digitized image of a fine needle aspirate (FNA) of a breast mass. The target variable, ''diagnosis'', indicates whether the tumor is malignant (M) or benign (B).
Workflow Overview
- Data Preprocessing:
- Load the dataset using Pandas.
- Separate features (
X) and the target variable (y). - Encode the target variable into binary labels (Malignant: 1, Benign: 0).
- Scale the features using StandardScaler to ensure uniformity in data distribution.
- Model Training and Evaluation:
- Employ Linear Regression for predicting the diagnosis.
- Utilize k-fold cross-validation (k=3) to evaluate model performance.
- Calculate evaluation metrics such as Mean Squared Error (MSE), R-squared, and Mean Absolute Error (MAE) to assess the model’'s accuracy.
- K-means Clustering:
- Apply K-means clustering to identify patterns within the dataset.
- Determine the optimal number of clusters using the Elbow Method.
- Calculate the Sum of Squared Errors (SSE) and Silhouette Coefficient to evaluate clustering performance.
- Visualization:
- Plot the clusters obtained from K-means clustering, along with the centroids.
Instructions
To run the project:
-
Ensure you have Python installed on your system.
-
Clone this repository to your local machine:
git clone https://github.com/username/breast-cancer-diagnosis-prediction.git -
Install the required Python libraries using pip:
pip install pandas scikit-learn matplotlib -
Run the
main.pyscript:python main.py -
View the output, including model evaluation metrics and visualizations.
File Structure
-
main.py: Entry point of the program. Contains the main workflow, including data preprocessing, model training, and visualization.
-
data.csv: Dataset containing features and target variable.
Contributing
Contributions to this proje
数据说明
该数据集包含从乳腺肿块细针抽吸(FNA)的数字图像中计算出的各种特征,用于通过机器学习模型预测乳腺癌诊断,目标变量为肿瘤恶性(M)或良性(B)。
数据缺失?
依托陕西、四川两大基地,我们与超过十家三甲医院建立直接合作关系,覆盖合规授权、采集治理、专业标注、数据交付的全流程,为AI医疗团队提供即拿即用的高质量临床数据。
⚡️ 需要数据支持或标注服务?立即联系我们获取专业方案。




