Debiasing data: An efficient framework using the principle of maximum entropy