Some python tools for machine learning