Ensemble learning-iterative training machine learning for uncertainty quantification and automated experiment in atom-resolved microscopy