The providing script is a new feature encoding method which convert a sequence a feature vectors to a single feature vector. To run this script, you need compile vlfeat (http://www.vlfeat.org/) and liblinear (https://github.com/cjlin1/liblinear) and add them in your path.
For more details, you can refer to our paper, Hierarchical Motion Evolution for Action Recognition, Hongsong Wang, Wei Wang, Liang Wang Asian Conference on Pattern Recognition (ACPR Oral), 2015.
@inproceedings{wang2015hierarchical, title={Hierarchical motion evolution for action recognition}, author={Wang, Hongsong and Wang, Wei and Wang, Liang}, booktitle={Pattern Recognition (ACPR), 2015 3rd IAPR Asian Conference on}, pages={574--578}, year={2015}, organization={IEEE} }