function [A, dout] = random_diag_wrapper(X, Y, trainparams)
% dummy wrapper to plug a random distance measure into the 
% testing process

% ---
% call main training function
% ---
A =  diag(trainparams.std *(rand(1, size(X,1))-0.5) + trainparams.mean);

dout.trainfun = 'random_diag';