Confidence-Constrained Maximum Entropy Framework for Learning from Multi-Instance Data