Downloads · 30 days
3
6% of all-time downloads
Chinwendu/lung_ct_detection_model
lung_ct_detection_model is a machine learning model from Chinwendu. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for keras. The card lists the license as mit.
This repository contains a deep learning model for detecting lung cancer from CT scan images. The model is trained to classify CT images into three categories: Benign, Malignant, and Normal.
Downloads · 30 days
3
6% of all-time downloads
All-time downloads
50
Public
Repo size
37 MB
Likes
1
Public
Click a slice to open those files.
.keras37 MB · 100%
From the Hugging Face model README
This repository contains a deep learning model for detecting lung cancer from CT scan images. The model is trained to classify CT images into three categories: Benign, Malignant, and Normal.
The model architecture is a Convolutional Neural Network (CNN) built with TensorFlow and Keras. It uses multiple convolutional layers, pooling layers, batch normalization, and dropout for regularization. The final layer uses softmax activation to output probabilities for the three classes.
The model was trained on the IQ-OTHNCCD lung cancer dataset, which contains images classified into three categories: Benign, Malignant, and Normal cases.
The model was trained with:
The model was evaluated on a separate test set with the following results:

To load the model from the Hugging Face Hub, use the following code:
import tensorflow as tf
# Load the model
model = tf.keras.models.load_model('https://huggingface.co/your_username/your_model_name/resolve/main/saved_model.pb')
# Use the model for predictions
predictions = model.predict(your_data)