Question: Using R, (An introduction to Statistical Learning with Application in R, Any data from this book) Split the data set randomly into two equal parts,

Using R, (An introduction to Statistical Learning with Application in R, Any data from this book) Split the data set randomly into two equal parts, which will serve as the training set and the test set. Use your birthday (in the format MMDD) as the seed for the pseudorandom number generator.

Train your algorithm on the training set using independent random numbers in the range [0.5,0.5] as the initial weights. Find the MSE on the test set. Try dierent values of the learning rate and of the number of training steps (so that your stopping rule is to stop after a given number of steps). Give a small table of test and training MSEs in your report.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!