HeartPredict algorithm: Machine intelligence for the early detection of heart failure