On-the-fly machine learning force field generation using Bayesian linear regression