Marginal Based Learning