Machine learning identification of organic compounds using visible light