Machine-learning-based virtual fields method: Application to anisotropic hyperelasticity | Synapse