Breast Cancer Wisconsin (Diagnostic) Dataset
基于乳腺肿块细针抽吸图像特征,用于乳腺癌诊断(恶性/良性)预测的表格数据集。
基本信息
资源简介
该数据集包含从乳腺肿块细针抽吸(FNA)的数字图像中计算出的各种特征,用于通过机器学习模型预测乳腺癌诊断,目标变量为肿瘤恶性(M)或良性(B)。
下载信息
注册下载
Tips: 该数据集需要在对应的数据源网站注册通过后,才能进行数据下载,注册有对应要求,或者需要收费。
暂未开放公开下载
Tips: 该数据集属于公开下载,应该可以免费公开下载。
免登录有偿下载
Tips: 该数据集 Qianfanghub 可以协助提供有偿下载服务,注意,服务不针对数据相关产权,只是技术服务费。
提供高速下载与技术交付服务(收技术服务费,非数据销售)
暂未开放千方医数集,医疗数据集部分,是为社区服务的公开医疗数据集搜索引擎,并不存储或者下载原始的任何数据。 如果您有其他医疗数据需求,可以和客服联系,或者下工单。我们有强大的三甲医疗机构帮助您提供个性化的医疗数据定制、采集、标注服务。
使用方式
数据集获取
# 克隆仓库(含数据与代码)
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)。
精度瓶颈?数据缺失?
当前公开数据无法满足您的算法精度?千方提供针对 乳腺癌 的高质量、多模态真实临床数据定制解决方案。




