machine learning algorithms for aiot