Local approximate Gaussian process regression for data-driven constitutive laws: Development and comparison with neural networks