Machine Learning Basics in Ruby