This repository contains a machine learning model and an API for predicting lung cancer.
The API is deployed on Heroku. You can access it at https://lung-cancer-prediction-d3d07d9e4aad.herokuapp.com
- Python 3.7+
- Flask
- scikit-learn
- joblib
- numpy
- Clone the repository:
git clone https://github.com/joohnnyvv/Lung-Cancer-Prediction-Model.git
- Install the required packages:
pip install -r requirements.txt
- POST /get-prediction: Predict if a patient has lung cancer.
Input: JSON data with patient features.
Output: JSON response with prediction result.