Fitting Ridge Regression on the training set with Lambda chosen by Cross Validation and Test Error.

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ก.พ. 2025

ความคิดเห็น • 3

  • @kylmaz5782
    @kylmaz5782 ปีที่แล้ว

    Hello. Which method should I follow to get the best lambda value? For example I have a small dataset and I want to manually (by hand) get the best lambda value. How do I do this?

    • @saeed5303
      @saeed5303  ปีที่แล้ว

      The best lamba value is the one with the lowest cross validation error. On the graph above in the video, i plot all the possible values of lambda with cross validation errors on the y-axis.

    • @kylmaz5782
      @kylmaz5782 ปีที่แล้ว

      @@saeed5303 Thanks for your answer.