ML Algorithms and tests