Researchers develop machine-learning algorithm to boost telecom, diagnostics