a simple lib for machine learning