Optimal Data-Generation Strategy for Machine Learning Yield Functions in Anisotropic Plasticity