Warning: Declaration of action_plugin_tablewidth::register(&$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /s/bach/b/class/cs545/public_html/fall16/lib/plugins/tablewidth/action.php on line 93
assignments:assignment3 [CS545 fall 2016]

User Tools

Site Tools


assignments:assignment3

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
assignments:assignment3 [2016/09/19 12:20]
asa [Part 1]
assignments:assignment3 [2016/09/20 09:34]
asa [Part 1]
Line 30: Line 30:
  
 With the code you just implemented,​ your next task is to explore the dependence of error on the value of the regularization parameter, $\lambda$. With the code you just implemented,​ your next task is to explore the dependence of error on the value of the regularization parameter, $\lambda$.
-In what follows set aside 30% of the data as a test-set, and compute the in-sample error, and the test-set error as a function of the parameter $\lambda$ on the red wine data.  Choose the values of $\lambda$ on a logarithmic scale with values 0.01, 0.1, 1, 10, 100, 1000 and plot the RMSE only+In what follows set aside 30% of the data as a validation-set, and compute the in-sample error, and the validation-set error as a function of the parameter $\lambda$ on the red wine data.  Choose the values of $\lambda$ on a logarithmic scale with values 0.01, 0.1, 1, 10, 100, 1000 and plot the RMSE. 
-Repeat the same experiment where instead of using all the training data, choose 20 random examples out of the training set, and train your model using those 20 examples.+Repeat the same experiment where instead of using all the training data, choose 20 random examples out of the training set, and train your model using those 20 examples, while evaluating on the same validation set.
  
 Now answer the following: Now answer the following:
Line 43: Line 43:
 Regression Error Characteristic (REC) curves are an interesting way of visualizing regression error as described Regression Error Characteristic (REC) curves are an interesting way of visualizing regression error as described
 in the following [[http://​machinelearning.wustl.edu/​mlpapers/​paper_files/​icml2003_BiB03.pdf|paper]]. in the following [[http://​machinelearning.wustl.edu/​mlpapers/​paper_files/​icml2003_BiB03.pdf|paper]].
-Write a function that plots the REC curve of a regression method, and plot the REC curve of the best regressor you found in Part 1 of the assignment.+Write a function that plots the REC curve of a regression method, and plot the REC curve of the best regressor you found in Part 1 of the assignment ​(i.e. the one that gave the lowest error on the validation set).  Plot the REC curve for both the validation set and the training set.
 What can you learn from this curve that you cannot learn from an error measure such as RMSE or MAD? What can you learn from this curve that you cannot learn from an error measure such as RMSE or MAD?
  
assignments/assignment3.txt · Last modified: 2016/09/20 09:34 by asa