Here two model was build in order to predict the heart disease from a given dataset ie. Logistic Regression 2nd: Random Forest Classifier . First models were build without tunning hyperparameters and later on models were build with tunned hyperparameters then the results were monitered.
The technique of Hyperparameter optimization and Feature Selection did increase the accuracy of my model.
Accuracy for: Logistic Regression : 0.84 Random Forest Classifier : 84.056603773584
Accuracy for: Logistic Regression : 0.86 Random Forest Classifier : 85