Variational Inference for the Indian Buffet Process