function y = oracle(x)
% y = oracle(x)
% Returns true label of a 2D example, in a toy classification problem
% Labels are 1/0.

p1 = normpdf(x(1),-1,1)*normpdf(x(2),-1,1);
p2 = normpdf(x(1),1,1)*normpdf(x(2),1,1);

if (p1 > p2)
  y = 1;
else
  y = 0;
end
