Header to rownames and column names. How to display dimension names in a result? In other words, is there any function in MATLAB as dnn option of table() in R? I want to have the table output as shown in the image.
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Suyash Dewangan
el 24 de Oct. de 2017
Comentada: Suyash Dewangan
el 27 de Oct. de 2017
I want to output a confusion matrix with row names, variable names and dimension names as shown in the image.I figured out that it is easier to convert it to table and add row names and variable names. I tried appending the Properties.DimensionNames of table() but still I couldn't get those dimension names in the output. I would appreciate any help, thanks!
0 comentarios
Respuesta aceptada
Amy
el 27 de Oct. de 2017
Hi Suyash,
I couldn't think of a way to include table dimension names in output, but since you are working with confusion matrices, have you considered using the plotconfusion function to plot your data instead of using a table? You could plot your data, and then change the x- and y-axis labels and tick labels to match your row, variable and dimension names.
Más respuestas (0)
Ver también
Categorías
Más información sobre Tables en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!