GithubHelp home page GithubHelp logo

ai_comp_hacathon's Introduction

TENZERO


Heart Rate Prediction Project

Envision_a_closeup_of_a_persons_chest_their_h (1)

Overview

This project aims to predict heart rates based on various physiological features using machine learning models. The goal is to explore different models, analyze their performance, and provide insights into the predictive capabilities for heart rate estimation.

Analysis and Experimentation

Data Analysis

The dataset used for this project does not contain any null or nan values. It consists of several physiological features, including VLF, LF, HF, TP, and various statistical measures. The analysis involves exploring the characteristics of the dataset.

Model Selection

Three models were selected for experimentation: Linear Regression, Naive Bayes, and Random Forest. The performance of each model was assessed, with the Linear Regression achieving an accuracy of 96.28%. Naive Bayes showed a marginal improvement, but further evaluation is needed for real-world applications. The Random Forest model demonstrated robustness in capturing unseen patterns and probabilistic values.

Model Accuracy Comparison

Model Name Accuracy
Linear Regression 96.28%
Naive Bayes 96.35%
Random Forest 99.95%%
Optimized LSTM 99.86%
XGBoost 99.75%

Future Work

Future work may involve optimizing the LSTM network, exploring other neural network architectures, and refining feature engineering to enhance model performance.

Running the Code

Prerequisites

  • Python 3
  • Required libraries (scikit-learn, pandas, xgboost, keras)

Usage

  1. Clone the repository.
  2. Install required dependencies: pip install -r requirements.txt
  3. Run the main script: python run.py <path_to_csv> <model_name>

Replace <path_to_csv> with the path to the input CSV file and <model_name> with the desired model (default is 'lstm').

python run.py test_data.csv

Model Loading Comments

# Load models
rf_model = joblib.load('random_forest_model.joblib')
xg_model = joblib.load('xgboost_model.joblib')
lstm_model = load_model('lstm_model.h5')

ai_comp_hacathon's People

Contributors

gowtham-source avatar

Watchers

 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.