Specifying Loss Functions

Example 7: Weighted Least Squares