Machine learning for beginners starting from scratch