A methodology for rapid hypersonic flow predictions via surrogate modeling with machine learning and deep learning