Python mini-library for machine learning