Question: 3.a Add random features Complete the cell below to add random features to the dataset. As described above, we first generate a pair of coefficients
3.a Add random features Complete the cell below to add random features to the dataset. As described above, we first generate a pair of coefficients ( c 1 , c 2 ) uniformly random from ( 1 , 1 ) and then for both the training set and the test set, add an additional column whose values are ( c 1 x 1 + c 2 x 2 )
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
