Machine Learning Bayesian Force Fields and Applications to Phase Transformations