Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uploaded both csv's and notebook-Team All Stars #6

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

naman-1801
Copy link

Team Members:

  • Roll No. B22164: Naman Singhania
  • Roll No. B22244: Toshan Gupta
  • Roll No. B22245: Tushar Mittal
    In order to pre-process the data, we started by removing any rows that had NaN values for the attributes lifestyle, diastolic BP, and systolic BP.
    After that, we interpolated the numerical characteristics and substituted the mode for the missing values in the categorical data.Next, we eliminated the anomalies from the data and employed one hot encoding to transform the categorical data into numerical data.

Then, using a regression model for multivariate distribution, we calculated the dagger and utilised regret to forecast the two features, namely the diastolic and systolic blood pressure.
We pre-processed the data for the classification task by interpolating, eliminating the outlier, and then one-hot encoding the gender into numerical data.
The data was then divided into train and test, we used the multivariate Bayes Classifier to train the model.
After that, we divided the test data and computed accuracy; the result was 76%.
Next, we used the test file to apply the model.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant