Python, Machine Learning, Artificial Intelligence, Logistic Regression, Heartbeat.
download the dataset from here. Code #importing the libraries import numpy as np import pandas as pd #importing the dataset dataset = pd.read_csv(r’C:\Users\91977\Downloads\Data.csv’) X = dataset.iloc[:, :-1].values y = dataset.iloc[:, -1].values #Splitting the dataset into the Training set and