This repository contains the source code for classification based on the liquid state machine (LSM for short).
We build our project on the basis of codes provided by Fengzhen Tang (fxt126@cs.bham.ac.uk). This repository integrates many codes from other literatures and all the contact information is retained in the preamble. ALL necessary codes can be obtained freely from the Internet.
Run RV model-based kernel/demo.m to view the demo result.
- How to start?
- download the data sets from website here (The data sets are not included in this repo.)
- run
initpathfirstly. - run
NormalRV,GMMRV,fisherRV,SamplingRVto test classification. - run
demo.m, also show the classification results.
- How to adjust reservoir size (R_no) and regression coefficient (val) to get a best fitting?
- You can run
lsm_weight_*.mdirectly to see the fitting error, and write your own script to adjust theR_noandval. - Use the
test/test.mto find best choice ofR_noandval. - Also, the default settings in
test/test.mare good tutorial for you.
- You can run
- How to adjust svm parameters in svm, i.e.
costandkp?- Run
NormalRV,GMMRV,fisherRV,SamplingRVby inputing a list ofcostandkp, they will return the best classification accuracy.
- Run
This repository includes a precompiled version of csim 1.1.1 and libsvm 3.2, including mexw64, mexa64m, mexmaci64 for usage under Windows, Linux, Mac.
The csim can be found here. N.B. the original version from the website was altered to meet the updated environment.
libsvm 3.2 or higher version is required. libsvm is a library for support vector machines which can be found here. s
This repository is created by Junyuan Hong(jyhong836@gmail.com), and contributed by Junyuan Hong and Yang Li.