GithubHelp home page GithubHelp logo

nmcintyre5 / heartdiseaseprediction Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 15 KB

This Pyspark script uses a supervised machine learning to predict heart disease using Apache Spark's PySpark library.

Python 100.00%
machine-learning ml pyspark supervised-machine-learning linear-regression

heartdiseaseprediction's Introduction

Heart Disease Prediction using PySpark

This Pyspark script uses a supervised machine learning to predict heart disease using Apache Spark's PySpark library. The model is trained on a dataset containing various factors such as biking, smoking, and other attributes related to heart health.

Overview

Heart disease is a significant health concern worldwide. This project aims to predict the likelihood of heart disease based on demographic and lifestyle factors. The predictive model is implemented using a linear regression model and leverages the distributed computing capabilities of Apache Spark for scalable data processing.

Key Features

  • Utilizes PySpark's distributed computing for efficient data processing and model training.
  • Implements linear regression modeling to predict the probability of heart disease.
  • Conducts correlation analysis to identify relevant features.
  • Evaluates model performance using root mean squared error (RMSE) and R-squared metrics.

How to Install

  1. Clone the repository:
    git clone https://github.com/nmcintyre5/heartDiseasePrediction.git
  2. Navigate to the project directory:
    cd heartDiseasePrediction
    
  3. Install dependencies:
    pip install pyspark scikit-learn kaggle
    

Credits

This project is based on a Coursera project.

heartdiseaseprediction's People

Contributors

nmcintyre5 avatar

Watchers

Kostas Georgiou avatar  avatar

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.