Link Adaptation And Equalization For Underwater Acoustic Communication Using Machine Learning