Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Haleshot committed Aug 18, 2024
1 parent da78137 commit 1062785
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions easy/Implement_Ridge_Regression_Loss_Function/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@ Ridge Regression is a linear regression method with a regularization term to pre

The Ridge Loss function combines MSE and the penalty term:


$$L(\beta) = \frac{1}{n} \sum_{i=1}^{n} (y_i - \hat{y}_i)^2 + \alpha \sum_{j=1}^{p} \beta_j^2$$


Where:
- $n$ is the number of samples
- $y_i$ is the true value for the $i$-th sample
Expand Down

0 comments on commit 1062785

Please sign in to comment.