function evaluate
    
global IMAGE DATA MODEL LEARN




Y_hat = Apply_Model(MODEL,DATA.X);

Y_hat_image = reshape(Y_hat,DATA.image_height, DATA.image_width);



LEARN.mask_pos = zeros(DATA.image_height, DATA.image_width);
LEARN.mask_pos(Y_hat_image>0) = 1;
LEARN.mask_gnd = zeros(DATA.image_height, DATA.image_width);
LEARN.mask_gnd(Y_hat_image<0) = 1;


% Display labels
HH = figure(7);
subplot(1,3,1);
image(permute(IMAGE.rgb,[2 1 3]));
title(sprintf('Image'));

subplot(1,3,2);
imagesc(LEARN.mask_pos',[0,1])
colormap(gray)
title('Non-Path');


subplot(1,3,3);
imagesc(LEARN.mask_gnd',[0,1])
colormap(gray)
title('Path');


return;
