Capturing Local and Global Patterns in Procedural Content Generation via Machine Learning