Question: Machine Learning(R-programming) NEED help with #2 for writing a stochastic gradient descent(SGD) to solve a Least Squares Linear Regression(LSLR) from scratch in R. (No existing
Machine Learning(R-programming)
NEED help with #2 for writing a stochastic gradient descent(SGD) to solve a Least Squares Linear Regression(LSLR) from scratch in R. (No existing R libraries for SGD)

1. State the objective function that needs to be solved for Least Squares Linear Regression. 2. There are many ways to solve an objective function like this one. We discussed the standard calculus-based approach for it in class. In practice, the direct calculus-based approach is not generally used. An approach commonly used for solving optimization problems in machine learning is stochastic gradient descent (SGD). Implement SGD from scratch to solve the LSLR problem, using a programming language of choice. You can use math libraries, but not an existing implementation of SGD. You can use any language you want. However, you will have to demo it to me. Discuss SGD briefly in your paper. Discuss your implementation. 3. Test your implementation on the Combined Cycle Power Plant dataset from the UCI Machine Learning Repository. In addition, find another dataset in the UCI repository to test
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
