logo
Loading...

mse 公式定義 - Cupoy

請問一下講義中的Mse公式定義是正確的嗎?怎麼印象中是(sum(yi-yi_hat)^2)/Nref...

ml100-2,ml100-2-d71

mse 公式定義

2019/07/08 下午 11:28
機器學習共學討論版
Yu-jhang Su
觀看數:49
回答數:2
收藏數:0
ml100-2
ml100-2-d71

請問一下講義中的Mse公式定義是正確的嗎?

怎麼印象中是(sum(yi-yi_hat)^2)/N

ref:https://blog.csdn.net/Eric2016_Lv/article/details/52819926

回答列表

  • 2019/07/09 上午 00:40
    Seanyu.TW
    贊同數:1
    不贊同數:0
    留言數:0

    sum((y-yhat)**2) / N ;  or np.mean((y-yp)**2)

  • 2019/07/12 下午 06:29
    張維元 (WeiYuan)
    贊同數:1
    不贊同數:0
    留言數:0