Python machine learning algortihms implementations