function metricOutput = {functionName}(trialInfo)
%% Compute |metricOutput| from |trialInfo|.
% This template function defines a metric for a deep learning experiment.
% For more information, see <matlab:helpview('deeplearning','exp-mgr-custom-metrics') 
% Evaluate Deep Learning Experiments by Using Custom Metrics>.
%
% Modify this function as a template to define your own custom metric.
%% Input
% |trialInfo| is a |struct| containing the fields |trainedNetwork|, |trainingInfo|, and |parameters|.
%
% * |trainedNetwork| is the <matlab:doc('SeriesNetwork') SeriesNetwork> object or <matlab:doc('DAGNetwork') DAGNetwork> object
% returned by the <matlab:doc('trainNetwork') |trainNetwork|> function. For more information, see <matlab:helpview('deeplearning','trainNetwork-net') Trained Network>.
% * |trainingInfo| is a |struct| containing the training information returned
% by the <matlab:doc('trainNetwork') |trainNetwork|> function. For more information, see <matlab:helpview('deeplearning','trainNetwork-info') Training Information>.
% * |parameters| is a |struct| with fields from the hyperparameter table.
%
%% Output
% |metricOutput| must be a scalar number, a logical value, or a string.
%

metricOutput = 0;
end

