Linear Regression, Gradient Descent, Machine Learning, Data Science, Getting Started.
slope times variable x plus y-intercept) directly to get your prediction, you do a matrix multiplication. See def get_prediction in the gist above. https://algebra1course.wordpress.com/2013/02/19/3-matrix-operations-dot-products-and-inverses/ With dot product, your algorithm can take in n number of