Machine-learning method for quality of transmission prediction of unestablished lightpaths