getMSE(x,y)

Compute Mean Squared Error (MSE)
ダウンロード: 307
更新 2017/5/15

ライセンスの表示

MSE = getMSE(x,y)

Computes the Mean Squared Error (MSE) between two vectors x and y of same length.

INPUT :

x : can be a function Interpolating the data points in 'y'. It is a < N y 1 > vector, typically resulting
from the application of 'polyfit' and 'polyval' functions.

y : can be observed data points for which I want to find the best-fitting function
(i.e. minimizing MSE, but avoiding overfitting). it's a < N y 1 > vector


OUTPUT :

MSE : Mean-Squared Error (a scalar).

引用

Ruggero G. Bettinardi (2024). getMSE(x,y) (https://www.mathworks.com/matlabcentral/fileexchange/62956-getmse-x-y), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2009a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersDescriptive Statistics についてさらに検索
タグ タグを追加

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0