Generalization of stochastic-resonance-based threshold networks with Tikhonov regularization.