Different Machine Learning-Based Algorithms Enabling Inverse Designs Of Photonic Structures: A Physical Approach, A Weakly Adversarial One With Help Inspired By Transfer Learning, And A Distance Metric Learning Based One