function tester()

	more off;

    load('thetas.dat'); %% uThetas
	load('X.txt');

    y = X(:,1);
    X = X(:,2:end);

    ok = 0;
    m = size(X, 1);
    n = size(X, 2);

	arch = [n n max(y)];

    Thetas = roll(uThetas, arch);

	for i=1:m,
		h = forwardProp(X(i,:)', Thetas);
		[mv, mp] = max(h);
		if (mp == y(i)),
			ok++;
		else
			printf('Inferred %d whether it should be %d (%.8f%%)\n', mp, y(i), mv*100);
		end
	end

	printf('Precision ratio: %.8f%%\n', 100*ok/m);

end
