def abs_error(prediction, y, norm=None, beta=0):
	norm = np.ones((prediction.shape[0])) if norm is None else norm
	beta = 0 if beta is None else beta
	return np.abs(prediction - y) / (norm + beta)
Calculates absolute error nonconformity for regression problems.
dataset/ETHPy150Open donlnz/nonconformist/nonconformist/nc.py/abs_error