Accelerating Radiation Computations for Dynamical Models With Targeted Machine Learning and Code Optimization. (2nd December 2020)