Update to use machine learning package