training errors. Reuse the code that you have written in Part 1 and 2. Initialize the elements of vector w = 0 and a = 1. Update the value of a in th iteration using the formula: Test the function on and example RDD. Run it for 5 iterations and print the results.
Fig: 1