Advanced learning-based approaches for reflectarrays design