Using ML to understand nano scale Patterns