Question

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.

Était-ce utile?

La solution

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top