Patent attributes
There is disclosed a method for training a Machine Learning Algorithm (MLA) for classifying a user action sequence that is performed by a user with an electronic service on a computer device. The method comprises: receiving an indication of interface elements of the electronic service and events associated with the interface elements to be monitored; receiving a plurality of indications of the user action sequence, the plurality of indications being of at least two different types of classes, for which the MLA is to be trained for classifying user actions into; generating a training set by: subdividing the given user action sequence into subsequences, determining a frequency of each subsequence appearing in the user action sequences belonging to a given one of the at least two different types of classes; scoring each subsequence based on the frequency; selecting n most informative subsequences.