Program For Linear Regression With Gradient Descent

I took a Python program that applies gradient descent to linear regression and converted it to Ruby. But first, a recap: we use linear regression to do numeric prediction.
Existential Thoughts, Experiential Inferences and (Occasional) Whacky Connections