


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...
PYTHON 3.6 Overview In this assignment we implement a class called TripleString. It consists of a few instance attribute and a few instance methods to support those attributes. In the next assignment, the TripleString class will help us create a more involved application. Before we do that though, we have to thoroughly test our TripleString implementation. Specifications The class TripleString will contain symbolic constants, instance attributes, and instance methods. ▶ Class symbolic constants This class has 3 symbolic constants, which...
C++ Linked List Implementation Motivation As we discussed in class, the data structures that you use to implement your program can have a profound impact on it's overall performance. A poorly written program will often need much more RAM and CPU time then a well-written implementation. One of the most basic data structure questions revolves around the difference between an array and a linked list. After you finish this assignment you should have a firm understanding of their operation. Problem...
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...