In general the approximate distribution may not be known in advance, though for the problem I'm currently working on it is.
If it is known in advance, I can just create binning in a custom partitioner, right? I was looking at the TotalOrderPartitioner and sampling documentation, but I wasn't sure how to take samples from the f(value) values.
