Suggestions to visualize plots 2 variable function.

I have Accuracy values as a function of hidden layers and regularization parameters.

Data is a n x p matrix. Rows are different values hidden layers. Columns are different values for reg param.

 0.95 0.91 0.86 0.85 .. 0.9
 0.95 0.96 0.85 0.81 .. 0.7
 ..........................
 ..........................
 0.95 0.96 0.85 0.81 .. 0.7

It would be great to have some direction how to visualize/plot this data so that it tells which combination of hidden layer and reg param is best.

有帮助吗?

解决方案

How about good ol' imagesc?

A = [ 0.95 0.91 0.86 0.85 0.9
      0.95 0.96 0.85 0.81 0.7
      0.95 0.96 0.85 0.81 0.7 ];
imagesc(A)
colorbar
axis image

From the image you can easily read the entry/entries with maximum value.

enter image description here

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top