- Code: Select all
- optim_weights;
 y 1;
 p lambda1;
 end;
but I have to put the value of lambda1 above and the results changes everytime I change the value of lambda1.
Is there a way to make the program find the value of lambda1 that minimizes the loss function??
Thanks

