A survey on applying machine learning techniques for management of diseases