On-the-Fly Machine Learning of Atomic Potential in Density Functional Theory Structure Optimization.