I have trouble about how to create a function, using regularized least square to train a linear classifier on the trainng set (kernel matrix k(x,x')=x * x'), also need to choose lambda with cross validation.
There are a great many packages in R that do that. Do you have anything more specific about what you want?
hi, but I am asked to create a function myself. I have trouble about how to choose the regularized parameter lambda using the cv method.
Please take a moment to familiarise yourself with our site's homework policy (see below):
1 Like
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.