FLAG_shapelets
The results in Table 2 and 3 for paper Efficient Learning of Timeseries Shapelets can be reproduced by running FLAG.m. Several instructions are:
- One needs to download the data sets from UCR and UEA repository himself and save them to the folder named data. The link to these two data bases are:
UCR,
UEA.
- One might need the libsvm library to do the classification. The library can be downloaded from
https://www.csie.ntu.edu.tw/~cjlin/libsvm/.
- The parameters a1 and a2 for each dataset are tuned by cross validation and are already given in FLAG.m.
- Binary class data sets Gun_point and MoteStrain use shapelets from one dominant class, all the other data sets use shapelets generated from all dominant classes.
- The final output accuracy results should be the same as that in results.txt. Note that some datasets may have better acc results than that in the paper due to our further improvement on the code.
If you find this work/code useful in your research, please consider citing the the paper
@inproceedings{hou2016efficient,
title={Efficient learning of timeseries shapelets},
author={Hou, Lu and Kwok, James T and Zurada, Jacek M},
booktitle={Thirtieth AAAI Conference on Artificial Intelligence},
year={2016}
}