Skin Cancer Detection Using Tenserflow
Skin Cancer Detection Using Tenserflow
DETECTION
USING TENSERFLOW
Under The Guidance Of
04/08/2025 1
WHAT IS SKIN CANCER
04/08/2025 2
LIBRARY FUNCTIONS
• Import Libraries-Python libraries make it very easy for us to handle the data and
perform typical and complex tasks with a single line of code.
• Pandas-This library helps to load the data frame in a 2D array format and has multiple
functions to perform analysis tasks in one go.
• Numpy- Numpy arrays are very fast and can perform large computations in a very short
time.
• Matplotlib- This library is used to draw visualizations.
• Sklearn- This module contains multiple libraries having pre-implemented functions to
perform tasks from data preprocessing to model development and evaluation.
• Tensorflow- This is an open-source library that is used for Machine Learning and Artificial
intelligence and provides a range of functions to achieve complex functionalities with
single lines of code.
04/08/2025 3
GENERAL APPROACH
• Data Acquisition and Preprocessing Dataset: Gather a diverse dataset of
skin lesion images, including both benign and malignant cases. Popular
datasets include the HAM10000 dataset.
• Data Augmentation: Apply techniques like rotation, flipping, and
zooming to increase the dataset's size and diversity, improving model
generalization .
• Image Preprocessing: Normalize pixel values, resize images to a
standard size, and convert them into a suitable format for model input.
04/08/2025 4
ALGORITHMS
• Step 1: Set Up Google Collab.
• Step 2: Import Necessary Libraries.
• Step 3: Load and Prepare the Dataset.
• Step 4: Preprocess Images.
• Step 5: Create the Model.
• Step 6: Train the Model.
• Step 7: Evaluate the Model.
• Step 8: Save the Model.
• Step 9: Predict on New Images. 04/08/2025 5
MODEL ARCHITECHTURE
04/08/2025 6
MODEL DEPLOYMENT
04/08/2025 7
CHALLENGES
• Variability in Lesion Appearance: Skin lesions can exhibit
significant variations in color, size, and shape, making
accurate classification challenging.
• Imbalanced Datasets: Real-world datasets often have an
imbalance between benign and malignant cases, which can
bias the model.
• Ethical Considerations: Deploying AI-powered skin cancer
detection systems requires careful consideration of ethical
implications, including potential biases and the impact on
patient care 04/08/2025 8
CONCLUSION
Although TensorFlow performs well enough in the skin cancer
detection model, it has its own disadvantages like the use of
high computational power or the use of large amounts of
memory. Thus, trying out other frameworks like PyTorch, Keras
and MXNet, etc would not be a bad idea in order to explore
even more possibilities in the field of skin cancer detection
using machine learning.
04/08/2025 9
THANK YOU