Applications Of Machine Learning In Biophotonics And Laser Metrology