subject

4. Question 4

Suppose you have a dataset with m = 1000000m=1000000 examples and n = 200000n=200000 features for each example. You want to use multivariate linear regression to fit the parameters \thetaθ to our data. Should you prefer gradient descent or the normal equation?

A. The normal equation, since gradient descent might be unable to find the optimal \thetaθ.

B. Gradient descent, since it will always converge to the optimal \thetaθ.

C. The normal equation, since it provides an efficient way to directly find the solution.

D. Gradient descent, since (X^TX)^{-1}(XTX)-1 will be very slow to compute in the normal equation.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:20
Write a program that reads a file consisting of students’ test scores in the range 0–200. it should then determine the number of students having scores in each of the following ranges: 0–24, 25–49, 50–74, 75–99, 100–124, 125–149, 150–174, and 175–200. output the score ranges and the number of students. (run your program with the following input data: 76, 89, 150, 135, 200, 76, 12, 100, 150, 28, 178, 189, 167, 200, 175, 150, 87, 99, 129, 149, 176, 200, 87, 35, 157, 189.)
Answers: 3
question
Computers and Technology, 22.06.2019 23:30
What is the digital revolution and how did it change society? what are the benefits of digital media?
Answers: 1
question
Computers and Technology, 24.06.2019 16:00
What is a dashed line showing where a worksheet will be divided between pages when it prints? a freeze pane a split box a page break a print title
Answers: 1
question
Computers and Technology, 24.06.2019 23:00
The valves of the heart and veins are similar in that they both
Answers: 1
You know the right answer?
4. Question 4

Suppose you have a dataset with m = 1000000m=1000000 examples and n = 200...
Questions
question
Mathematics, 17.11.2020 14:00
question
English, 17.11.2020 14:00
question
History, 17.11.2020 14:00
question
Biology, 17.11.2020 14:00
question
Mathematics, 17.11.2020 14:00
question
Law, 17.11.2020 14:00
Questions on the website: 13722359