Exploring the nexus of nanophotonics and machine learning: unraveling the influence of design parameters on device response | Synapse