h(x) = t0 + t1x. Alpha value (learning rate) is 0.1. Initial theta values are 0, 0. X = [1, 2, 3] and Y = [1, 3, 5]. What is the value of cost function after 1st iteration?

🎲 Try a Random Question  |  Total Questions in Quiz: 35  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
Machine Learning 101 Practice Test: Linear Regression — practice the complete quiz, review flashcards, or try a random question.

Machine Learning quiz on linear regression in machine learning, linear regression cost functions, and gradient descent. Linear regression is a statistical method and supervised machine learning algorithm that predicts continuous or quantitative values. It's one of the most widely used algorithms in machine learning problems.  Linear regression uses a linear equation to find the relationship between a dependent variable and one or more independent variables. The model predicts that each increment of a feature that is variable by some fixed amount increases or decreases the predicted output... Show more

h(x) = t<sub>0</sub> + t<sub>1</sub>x. Alpha value (learning rate) is 0.1. Initial theta values are 0, 0. X = [1, 2, 3] and Y = [1, 3, 5]. What is the value of cost function after 1<sup>st</sup> iteration?