Ruby gem for general machine learning