Localized Generalization Error Model (L-GEM)