Giter Site home page Giter Site logo

lung-cancer-prediction's Introduction

LUNG-CANCER-PREDICTION

  • This project is about predicting lung cancer using logistic regression.

  • The dataset used for this project contains information about the age, smoking history, alcohol consumption, and living area of 59 patients, as well as their cancer status (alive or dead).

  • After loading the dataset, the low-variance columns were dropped. The data was then split into independent (X) and dependent (y) variables, and then split into training and testing sets using train_test_split from sklearn.

  • Logistic regression was used to fit the model to the training set, and the accuracy of the model was evaluated using the testing set. The accuracy score was found to be 1.0, indicating that the model correctly predicted all cases in the testing set. A confusion matrix was also created to visualize the true positives, true negatives, false positives, and false negatives.

  • This project can be useful for medical professionals and researchers who want to predict lung cancer in patients based on various factors. The code is available in the Jupyter Notebook format and can be run using Python 3.

lung-cancer-prediction's People

Contributors

siddiqueiqra avatar

Watchers

 avatar

Forkers

keerti-ma

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.