Machine Learning

Breast Cancer Classification Using Decision Tree Classifier

A pipeline to classify breast tumors (malignant vs. benign) using a Decision Tree model on clinical feature data.

Feb 2025 Eng. Ameen Qahtan

Project Overview

The notebook begins by loading the Breast cancer.csv dataset with pandas and displaying the first rows . It drops non-predictive columns (Unnamed: 32), encodes the target diagnosis (M → 1, B → 0) , and scales features with a MinMaxScaler. After splitting into train/test sets, it trains a DecisionTreeClassifier(random_state=42), then evaluates performance via accuracy, precision, recall, F1-score, and confusion matrix.

File / Project Preview

View Only — Download & Print disabled
Breast Cancer Classification Using Decision Tree Classifier
Project Details
Category
Machine Learning
Completed
Feb 23, 2025
Technologies
Python 3 & Jupyter Notebook train_test_split MinMaxScaler DecisionTreeClassifier accuracy_score precision_score recall_score f1_score confusion_matrix