Multi-period classification: learning sequent classes from temporal domains