
% lyngby_uis_nns_v     - Script for neural network saliency view
%
%       See also: lyngby_nns_global, lyngby_ui_global

% cvs : $Id: lyngby_uis_nns_v.m,v 1.3 2000/05/16 15:06:19 mgl Exp $ 
%       $Revision: 1.3 $    


    if exist('RESULT_NNS') & ~isempty(RESULT_NNS)
      
%      lyngby_ui_view([ ...
%	    X_MEAN ; X_STD ; RESULT_NNS ; RESULT_NNS_S1 ...
%	    ; RESULT_NNS - RESULT_NNS_S1 ... 
%	    ], ...
%	  ['Mean(data)|Std(data)|Saliency|'...
%	    'First order saliency|Second order saliency'], ...
%	  'title', 'Neural network saliency', ...
%	  'callback','lyngby_ui_view_nns', ...
%	  'CallbackType', ...
%	  [ 'Prediction|Time|Network (net)|Network (matrix)|' ...
%	    'Histogram of Data|Histogram of Saliency|' ...
%	    'Error evolution']);

      lyngby_ui_view([RESULT_NNS ; RESULT_NNS_S1 ; RESULT_NNS - RESULT_NNS_S1 ; X_MEAN ; X_STD ], ...
	  ['Saliency|First order saliency|Second order saliency|Mean(data)|Std(data)'], ...
	  'title', 'Neural network saliency', ...
	  'callback','lyngby_ui_view_nns', ...
	  'CallbackType', ...
	  [ 'Prediction|Time|Network (net)|Network (matrix)|' ...
	    'Histogram of Data|Histogram of Saliency|' ...
	    'Error evolution']);
      
    else
      lyngby_ui_message(['There are no Neural Network Saliency '...
	    'results. Please press ''Calculate!''']);
    end
