function [MRE, MDMRE] = bambooLOO(dataset)

# Leave One Out Wrapper
data = load(dataset);
[rows,cols] = size(data);

Error = [];
for i = 1 : rows
	if (i == 1)
		Error(i) = abs(bamboo(data((i+1):end,:),data(i,:)));
	end
	if (i == rows)
		Error(i) = abs(bamboo(data(1:(rows-1),:),data(i,:)));
	end
	if (i != 1 && i != rows)
		Error(i) = abs(bamboo([data(1:(i-1),:);data((i+1):end,:);],data(i,:)));
	end
end


MRE = sum(Error)/ rows
MDMRE = median(sort(Error))