getMAE(x,y)

Compute Mean Absolute Error (MAE)
68 descargas
Actualizado 15 May 2017

Ver licencia

MAE = getMAE(x,y)

Computes the Mean Absolute Error (MAE) 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 MAE, but avoiding overfitting). it's a < N y 1 > vector


OUTPUT :

MAE : Mean Absolute Error (a scalar).

Citar como

Ruggero G. Bettinardi (2024). getMAE(x,y) (https://www.mathworks.com/matlabcentral/fileexchange/62958-getmae-x-y), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2009a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Expression Analysis en Help Center y MATLAB Answers.
Etiquetas Añadir etiquetas

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0