Process support vector machine and its applications in dynamic pattern classification