This machine learning model performs heart failure prediction based on parameters in csv dataset . Algorithms used are Linear Regression and K Nearest neighbours (KNN) . The accuracy of both the algorithms are compared to find the best performing algorithm .