Deep Learning for the modeling and design of artificial electromagnetic materials