Stav dette: Discriminative models for multi-instance problems with tree-structure