Learning performance in inverse Ising problems with sparse teacher couplings