On the role of locality in learning stress patterns · Study