this machine-learning algorithm may be the answer