algo : machine learning : logic regression : python (from book), ruby (mine)