4. The computer program product of claim 1 , the method further comprising categorizing the causal sets, using multiple instance learning and at least partially based on quasi-periodic scores, wherein quasi-periodic scores are produced by measuring repetitiveness of keyframes.
5. The computer program product of claim 4 , wherein categorizing causal sets comprises applying a quasi-periodic version of a maximum bag margin formulation analytical technique, wherein: for each instance in a given bag, its quasi-periodic score is computed; positive bags are initialized by averaging over all the instances in the bag that have quasiperiodic scores above a minimum gain; and the instances in the positive bags are evaluated against a learned decision function until convergence, wherein during each iteration, the representative instance for the positive bag is chosen as the instance that gives the maximum value for the linear combination of the learned decision function and the quasi-periodic score.