Invia SMS: Machine-learning-assisted photonic device development: a multiscale approach from theory to characterization