Discrimination and Investigation of Cardiac Infarction gleaned from Various Machine Learning and Optimization Methods