HW 3 for CS 4220
You may (and probably should) talk about problems with the each other, with the TAs, and with me, providing attribution for any good ideas you might get. Your final write-up should be your own.
1: Artificial inference
In the code block below, we create an artificial data set for a linear function on the unit square in
Based on noisy measurements TODO
line to do this least squares computation.
0.1732050807568878
2: Retargeting Reflections
Given a nonzero vector
householder (generic function with 1 method)
test_householder (generic function with 1 method)
1.4953224590177732
3: Continuous least squares
For a general inner product, the normal equations for finding the closest point
Use this approach to find the cubic polynomial
You may use without further note the following integrals:
1.0
0.166667
We also provide a sanity check – this should be down around
-0.130996
-0.0934219