Borrar filtros
Borrar filtros

How can you find the root mean square and the mean absolute of errors when the errors are in a cell format

1 visualización (últimos 30 días)
my errrors are in a cell format . Is there an easy way to find rmse and mae.

Respuestas (1)

David Sanchez
David Sanchez el 7 de En. de 2014
my_cell =
[0.1576] [0.9706] [0.9572]
[0.4854] [0.8003] [0.1419]
The mean of the first column:
mean(cell2mat(my_cell(:,1)))
ans =
0.3215
Mean of first row:
mean(cell2mat(my_cell(1,:)))
ans =
0.6951
You can use any statistics function in the same way
  1 comentario
Sony
Sony el 7 de En. de 2014
I need to find the mean absolute error as well as the root mean square of the whole cell.Is there any function specifically for that?Thanks.

Iniciar sesión para comentar.

Categorías

Más información sobre Deep Learning Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by