Non-parametric Models for Non-negative Functions