Question

Part 1 (20 points) First, implement a function that computes the summand (w x - y)x,, and test this function on two examples. Use (Vectors) to create dense vectors w and

use (Labeled Point) to create training dataset with 3 features. You can also use (Breeze) to do the dot product.

Fig: 1