A Detailed Investigation and Analysis of Using Machine Learning Techniques for Thyroid Diagnosis