Loss function
Loss function is Quantity helps to find loss of our model when ever it is greater models perform poor else model perform good.
Today we learnt about Loss function in regression in other class we discus Loss function in classification
There are Several Loss function in regression
- MSE(Mean Squared Error)
- MAE(Mean Absolute Error)
- RMSE(Root Mean Squared Error)
- R2 Score
MSE
MSE formula --> 𝛴 (yi-p)2
Note - MSE is effected by outlier
MAE
MAE formula --> Σ |yi-p|
RMSE
RMSE formula --> √Σ(yi-p)2
R2 Score
R2 Score formula --> 1-RSS/TSS
RSS=Sum of Square of Residual
TSS=Total Sum of Square
Comments
Post a Comment