currently i'm implementing the paper ' Online Least Squares One-Class Support VectorMachines-Based Abnormal Visual Event Detection '. But i faced difficulty for implementing online LS-OC-SVM .So, I need a matlab code for online LS-OC-SVM .
If you are using MATLAB 2015 or higher, then you can directly use the classification learner app, for classification using any method. Once, you've learnt how to use this app, you can generate the m-file for the classification, which is easy to understand. More information regarding the app can be found on: https://in.mathworks.com/help/stats/classificationlearner-app.html