In the lectures, we introduced Gradient Descent, an optimization method to find the minimum value of...
machine learning/ stats questions
1. Choose all the valid answers to the description about linear regression and logistic regression from the options below: A. Linear regression is an unsupervised learning problem; logistic regression is a super- vised learning problem. B. Linear regression deals with the prediction of co ontinuous values; logistic regression deals with the prediction of class labe C. We cannot use gradient descent to solve linear regression: we must resort to least square estimation to compute a closed-form...
Problem 3. (30 pts.) Let f(x) 32-1 (a) Calculate the derivative (the gradient) (r) and the second derivative (the Hessian) "() (4pts) (b) Using ro = 10, iterate the gradient descent method (you choose your ok) until s(k10-6 (11 pts) (c) Using zo = 10, iterate Newton's method (you choose your 0k ) until Irk-rk-1 < 10-6. (15 pts) Problem 4. (30 pts.) Let D ), (1,2), (3,2), (4,3),(4,4)] be a collection of data points. Your task is to find...
4. (20 pts) In this problem, we combine the Steepest Descent method with Newton's method for solving the following nonlinear system. en +en-13 = 0, 12-2113 = 4. Use the Steepest Descent method with initial approximation x0,0,0 three iterations x(1), x(2), and x(3) to find the first ·Use x(3) fron the above the result as the initial approximation for Newton's iteration. Use the stopping criteria X(k)-s(k 1) < tol = 10 9 Display the results for each iteration in the...
3. a) Short questions (Please briefly jiustify your answers in each case to receive full credits) i) If we wish to minimize a function, fx.v)- 2x245x2+10, using Univariate Search method, how many searches will it take to reach the minimum and why? ii) Starting from an initial guess, Xo the minimization of the following function using Newton-Raphson method fails to work. Please explain why. f(X)-0.5x2 +2x1x2-(1/3)x +50 Note: N-R method: X- X1 - [ H(X 1)] 'Af(X), where H is...
7 points Question 3. An Unusual Integrable Function (Show Working) Consider the function f : 10, 11 → R defined by 1 if r-for some nEN; f(x) = 0 for all other x E [0,1 (1 subpts) (a) Draw a rough diagram of the graph of f. When we study the formal definition of the continuity of a function later in the course, we will be able to prove that this function is discontinuous at those domain values r such...
Please help with Q1 a)b)c).
Question 1: In the lectures we considered simple projectile motion. Here we extend the description to include air resistance. For macroscopic objects in air, the dynamics equations including air resistance may be written V and ^- where m is the mass of the object, g is the acceleration due to gravity, y is the vertical direction, C is a dimensionless drag coefficient, A is the cross-sectional area of the object, pa 1.2kg/m3 is the density...
Module 8: Journal Assignment-Explaining Memory to a Child (20 points possible) Chapter 8 in your textbook starts off with a section on conceptualizing memory. In my PowerPoint lecture notes that I've posted, you will see that I've annotated a figure called the "Atkinson-Shiffrin Memory Model" on Slide #3 from Chapter 8; however, you will not find this figure in your book (assuming you have the 8th edition or higher). In contrast, Figure 8.1 from your textbook (found on page 233...
Module 8: Journal Assignment-Explaining Memory to a Child (20 points possible) Chapter 8 in your textbook starts off with a section on conceptualizing memory. In my PowerPoint lecture notes that I've posted, you will see that I've annotated a figure called the "Atkinson-Shiffrin Memory Model" on Slide #3 from Chapter 8; however, you will not find this figure in your book (assuming you have the 8th edition or higher). In contrast, Figure 8.1 from your textbook (found on page 233...
You need not run Python programs on a computer in solving the following problems. Place your answers into separate "text" files using the names indicated on each problem. Please create your text files using the same text editor that you use for your .py files. Answer submitted in another file format such as .doc, .pages, .rtf, or.pdf will lose least one point per problem! [1] 3 points Use file math.txt What is the precise output from the following code? bar...
Please read the article and answer about questions. You and the Law Business and law are inseparable. For B-Money, the two predictably merged when he was negotiat- ing a deal for his tracks. At other times, the merger is unpredictable, like when your business faces an unexpected auto accident, product recall, or government regulation change. In either type of situation, when business owners know the law, they can better protect themselves and sometimes even avoid the problems completely. This chapter...