Atmospheric Retrieval: Bayesian Methods, Machine Learning, And Application To Exoplanets