Text this: Enhancing Medical Diagnostics with Machine Learning: A Study on Ensemble Methods and Transfer Learning