These implementations are for demonstration purposes. They are less efficient than the implementations in the Python standard library.
This project is targeting people who want to learn internals of ml algorithms or implement them from scratch. The code is much easier to follow than the optimized libraries and easier to play with.