I am a beginner in Machine Learning and trying to implement Logistic Regression on a Heart Disease Prediction dataset manually without the use of any advanced libraries .