ft_linear_regression gem install nyaplot First you have to train the program ruby train.rb Then you can do ruby getPrice.rb to get the price approximation. -g if you want a graph