A Framework for Multiple-Instance Learning