I have data for sequence of events and that maps to one class.. So for example my data will look like X['Event1', 'Event2', 'Event3'] ---> Y[C1] X['Event2', 'Event1', 'Event5', 'Event2', 'Event1', 'Event5'] ---> Y[C2] .. Also is there any possibility to extend this for regression over sequences.? Like instead of Y as classes, it can be a regression too!