Machine Learning for Visual Editing