(c) [2pt] We have provided Python starter code to perform gradient descent on this model
and you need to write two functions. Complete the function robust_regression_grad,
which computes the gradients of the robust regression model for a weight vector w. You
should be able to read the expected parameters and return values from the docstring.
You will want find the functions np.where, np.abs, np.dot, np.shape, and np.sign.
You may submit your code as a screenshot or the completed script q2.py.
(d) [2pt] Complete the function optimization. This function initializes a weight vector at 0 and runs gradient descent for num_iterations. There is no need to modify
num_iterations nor the initialization of w. You should use your function robust_regression_grad
in this function. You may submit your code as a screenshot or the completed script
q2.py.
2
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme