Support Vector Machine Regression for Volatile Stock Market Prediction

Size: px
Start display at page:

Download "Support Vector Machine Regression for Volatile Stock Market Prediction"

Transcription

1 Support Vector Machine Regression for Volatile Stock Market Prediction Haiqin Yang, Laiwan Chan, and Irwin King Department of Computer Science and Engineering The Chinese University of Hong Kong Shatin, N.T. Hong Kong Abstract. Recently, Support Vector Regression (SVR) has been introduced to solve regression and prediction problems. In this paper, we apply SVR to financial prediction tasks. In particular, the financial data are usually noisy and the associated risk is time-varying. Therefore, our SVR model is an extension of the standard SVR which incorporates margins adaptation. By varying the margins of the SVR, we could reflect the change in volatility of the financial data. Furthermore, we have analyzed the effect of asymmetrical margins so as to allow for the reduction of the downside risk. Our experimental results show that the use of standard deviation to calculate a variable margin gives a good predictive result in the prediction of Hang Seng Index. 1 Introduction Support Vector Machine (SVM), based on Statistical Learning Theory, was first developed by Vapnik [4,6]. It has become a hot topic of intensive study due to its successful application in classification tasks [7,8] and regression tasks [5,3], specially on time series prediction [1] and financial related applications [2]. When using SVM in regression tasks, the Support Vector Regressor must use a cost function to measure the empirical risk in order to minimize the regression error. Although there are many choices of the loss functions to calculate the cost, e.g., least modulus loss function, quadratic loss function, etc., the ε-insensitive loss function is such a function that exhibits the sparsity of the solution [4]. Typically, this ε-insensitive loss function contains a fixed and symmetrical margin(fasm)term. When the margin is zero or very small, one runs into the risk of overfitting the data with poor generalization while when the margin is large, one obtains a better generalization at the risk of having higher testing error. For financial data, due to the embedded noise, one must set a suitable margin in order to obtain a good prediction. This paper focuses on two ways to set the margins in SVR. When applying SVR to time series prediction, the practitioners usually overlook the choices of the margin setting. For example, in [2], they simply set the margin to 0. This amounts to the least modulus loss function. Others have just set the margin to a very small value [5,9,10]. In [1], they applied additional calculations, e.g., validation techniques, to determine a suitable margin empirically. H. Yin et al. (Eds.): IDEAL 2002, LNCS 2412, pp , c Springer-Verlag Berlin Heidelberg 2002

2 392 H. Yang, L. Chan, and I. King One of the shortcomings of the above methods is that the margin is symmetrical and fixed. Consequently, this technique is insensitive and non-adaptive to the input data. This may result in less-than-optimal performance in the testing data while it obtains a good result on the training data. In this paper, we propose to use an adaptive margin in SVR for financial prediction to minimize the downside risk, which is an essential part in financial prediction with volatile financial data. More specifically, we present two approaches: one uses the fixed and asymmetrical margins(faam), whereas the other uses non-fixed and symmetrical margins(nasm). A key difference between FAAM and FASM is that there exist an up and a down margin that are asymmetrical. In the case of FAAM when the up margin is greater than the down margin, the predictive results tend to be smaller than the predictive results which are produced by using FASM. In NASM, the margin is adaptive to the input data. There are many possible choices to set the margin. For example, one may use the n-th order statistics to calculate the margin. More specifically, we choose the second order statistics, the standard deviation, as our method to calculate the adaptive margin. This is because that the standard deviation is frequently used as a measure of the volatility of stock prices in financial data. When the stock price is highly volatile, it has a high standard deviation. In financial time series the noise is often very large, and we try to tolerate our prediction by having a larger margin when the stock price is highly volatile. On the other hand, a smaller margin may be more suitable for less volatile stock activities. Hence, our approach avoids the fixed margin in order to obtain a better prediction result. The paper is organized as follows. We introduce a general type of ε-insensitive loss function and give the inferential result in Section 2. We report experiments and results in Section 3. Lastly, we conclude the paper with a brief discussion and final remarks in Section 4. 2 Support Vector Regression Given a training data set, (x 1,y 1 ),...,(x N,y N ), where x i X, y i R, N is the size of training data, and X denotes the space of the input samples for instance, R n. The aim is to find a function which can estimate all these data well. SVR is one of the methods to perform the above regression task [4,3]. In general, the estimation function in SVR takes the following form, f(x) =(w φ(x)) + b, (1) where ( ) denotes the inner product in Ω, a feature space of possibly different dimensionality such that φ : X Ω and b R. Now the question is to determine w and b from the training data by minimizing the regression risk, R reg (f), based on the empirical risk, R reg (f) =C Γ (f(x i ) y i )+ 1 (w w), (2) 2

3 Support Vector Machine Regression for Volatile Stock Market Prediction 393 where C is a pre-specified value, Γ ( ) is a cost function that measures the empirical risk. In general, the ε-insensitive loss function is used as the cost function [4]. For this function, when the data points are in the range of ±ε, they do not contribute to the output error. The function is defined as, { Γ (f(x) y) = 0, if y f(x) <ε. (3) y f(x) ε, otherwise In this paper, we introduce a general type of ε-insensitive loss function, which is given as, 0, if ε down Γ i <y i f(x i ) <ε up i (f(x i ) y i )= y i f(x i ) ε up i, if y i f(x i ) ε up i, (4) f(x i ) y i ε down i, if f(x i ) y i ε down i where ε up i and ε down i correspond to the i-th up margin and down margin respectively. When ε up i and ε down i are both equal to a constant, for all i, i = 1,...,N, Eq. (4) amounts to the ε-insensitive loss function in Eq. (3) and it is labeled as FASM (Fixed and Symmetrical Margin). When ε up i = ε up, for all i =1,...,N and ε down j = ε down, for all j = 1,...,N with ε up ε down, this case is labeled as FAAM (Fixed and Asymmetrical Margin). In the case of NASM (Non-fixed and Symmetrical Margin), we use an adaptive margin for which the up margin equals to the down margin. The last case is with an adaptive and asymmetrical margin. In this paper, we just consider the first three cases, i.e., FASM, FAAM, and NASM. Using the Lagrange function method to find the solution which minimizes the regression risk of Eq. (2) with the cost function in Eq. (4), we obtain the following Quadratic Programming (QP) problem: 1 arg min (α i α α,α i )(α j αj )(φ(x i ) φ(x j )) + (ε up i y i )α i 2 subject to j=1 + (ε down i + y i )α i (5) (α i αi )=0,α i,αi [0,C], (6) where α and α are corresponding Lagrange multipliers used to push and pull f(x i ) towards the outcome of y i respectively. Solving the above QP problem of Eq. (5) with constraints of Eq. (6), we determine the Lagrange multipliers α and α and obtain w = N (α i αi )φ(x i). Therefore the estimation function in Eq. (1) becomes f(x) = (α i αi )(φ(x) φ(x i )) + b. (7)

4 394 H. Yang, L. Chan, and I. King So far, we have not considered the computation of b. In fact, this can be solved by exploiting the Karush-Kuhn-Tucker(KKT) conditions. These conditions state that at the optimal solution, the product between the Lagrange multipliers and the constraints has to equal to zero. In this case, it means that and α i (ε up i + ξ i y i +(w φ(x i )) + b) =0 (8) α i (ε down i + ξ i + y i (w φ(x i )) b) =0 (C α i )ξ i =0 (C αi )ξi =0. where ξ i and ξi are slack variables used to measure the error of up side and down side. Since α i αi =0and ξ( ) i =0for α ( ) i (0,C), b can be computed as follows: { yi (w φ(x b = i )) ε up i, for α i (0,C) y i (w φ(x i )) + ε down i, for αi. (9) (0,C) Using the trick of kernel function, Eq. (7) can be written as, f(x) = N (α i α i )K(x, x i)+b, where the kernel function, K(x, x i )=(φ(x) φ(x i )), which is a symmetric function and satisfies the Mercer s condition. In this paper, we select a common kernel function, e.g., RBF function, K(x, x i ) = exp( β x x i 2 ), as the kernel function. In the next section, we apply our inferential result of SVR based on the general type of ε-insensitive loss function to the regression of financial data, for example, indices and stock prices. By applying regression to the data, we can build a dynamic system to model the data and hence use the system for predicting future prices. 3 Experiments In this section, we conduct two experiments to illustrate the effect of FASM, FAAM, and NASM. The first experiment illustrates the SVM financial prediction with fixed margin, including FASM and FAAM. The second experiment tests the SVM financial prediction with NASM under shift windows. In our experiment, we use the daily closing price of Hong Kong s Hang Seng Index (HSI) from January 15, 2001 to June 19, 2001, a total of 104 days of data points, out of which 100 data points for training and testing. We set the length of the shift window to 80. The dynamic system is modeled as Ît = f(i t 4,I t 3,I t 2,I t 1 ), where I t is the real stock price at time t, and Ît is the predictive value at time t. Therefore, the first training data set is from January 15, 2001 to May 22, 2001, a total of 84 days of HSI. We use them to predict the next day s HSI. This window is then shifted and an entire training is performed again to predict the following day s HSI for the remaining testing data.

5 Support Vector Machine Regression for Volatile Stock Market Prediction 395 The SVR algorithm used in our experiment is modified from LibSVM [10]. Before running the algorithm, we need to determine some parameters. They are C, the cost of error; β, parameter of kernel function, and the margins. After performing a crossvalidation in the first training data, we set C = 6000, β =2 24. Since different margins will affect the results of prediction, we use different values in our tests. Furthermore, we use the following three error definitions to measure the testing errors, error 1 M M t=1 I t Ît, error pos 1 M M t=1,i t Î t (I t Ît), error neg 1 M M t=1,i t<î t (Ît I t ), where M is the size of the testing data and error reflects the total risk, error pos reflects the upside risk and error neg reflects the downside risk respectively. The experiments are conducted on a Pentium 4, with 1.4 GHZ, 512M RAM and Windows2000. With these configurations, the predictive results are obtained within seconds. In the first experiment we use different values for up margin and down margin to test the effect of FASM and FAAM. We show the setting of the margin in the second and third columns of Table 1, and report the corresponding errors in the last three columns. In all but the first and the last margin setting, their overall margin widths are the same, i.e., ε up + ε down = 150. This allows us to have a fair comparison of the four cases. From the Table 1, we can see that the error pos gradually increases with the increase of ε up. At the same time, with the increase of ε up, we allow for more errors above the predictive values. Thus the error neg decreases. In terms of the overall error, it increases and then decreases again. This indicates that neither a narrow margin for the upside nor the downside would be desirable in terms of the overall error. In the second experiment, after considering the volatility of the financial data, we set the up margin and down margin both equal to the standard deviation of the input vector x to perform the prediction. The predictive error of the experiment with the NASM is reported in the last row of Table 1 and the result shows that the total error is significantly decreased comparing with the fixed ones. Table 1. Experiment Results Case ε up ε down error error pos error neg σ σ Discussion and Conclusion In this paper, we present a general type of ε-insensitive loss function in SVR and outline the various margins used, i.e., FASM, FAAM and NASM. Using Hong Kong s HSI as the data set for SVR with different types of margins, we have the following conclusions:

6 396 H. Yang, L. Chan, and I. King 1. One interesting observation is that neither the up margin nor the down margin would affect the error unilaterally. This can be seen from the results of Case 2 to Case 5 in Table Another interesting observation is that from the point of view of the downside risk, Case 5 in Table 1 is a good result since its error neg, which is related to the downside risk, is minimum. In practice, we can reduce the downside risk by increasing the up margin while decreasing the down margin. 3. In the NASM case, we find that using standard deviation to calculate the margin, which can reflect the change in volatility of the financial data, results in the best prediction in our experiment since this result has a minimal error. Acknowledgement. The work described in this paper was partially supported by a grant from the Research Grants Council of the Hong Kong Special Administration Region, China. The authors thank Lin, Chih-Jen for helpful suggestions on using the LibSVM. References 1. K. R. Müller, A. Smola, G. Rätsch, B. Schölkopf, J. Kohlmorgen and V. N. Vapnik. Predicting time series with support vector machines. ICANN, , T. B. Trafalis and H. Ince. Support vector machine for regression and applications to financial forecasting. IJCNN2000, A. Smola and B. Schölkopf. A Tutorial on Support Vector Regression. 1998, Technical Report NeuroCOLT NC-TR V. N. Vapnik. The Nature of Statistical Learning Theory. Springer, New York, V. N. Vapnik, S. Golowich and A. Smola. Support vector method for function approximation, regression estimation and signal processing. 6. V. N. Vapnik. Statistical Learning Theory. Wiley, New York, Edgar Osuna and Robert Freund and Federico Girosi. Support Vector Machines: Training and Applications. AIM-1602, MIT, 38, Christopher J. C. Burges. A Tutorial on Support Vector Machines for Pattern Recognition. Data Mining and Knowledge Discovery, 2(2): , S. Mukherjee, E. Osuna and F. Girosi. Nonlinear prediction of chaotic time series using support vector machines. IEEE Workshop on Neural Networks for Signal Processing VII, IEEE Press, J. Principe and L. Giles and N. Morgan and E. Wilson, 511, Chih-Chung, Chang and Chih-Jen, Lin. LIBSVM: a Library for Support Vector Machines (Version 2.31), Frank A. Sortino and Stephen E. Satchell. Managing downside risk in financial markets : theory, practice, and implementation. Oxford, Boston:Butterworth-Heinemann, 2001.

NON-FIXED AND ASYMMETRICAL MARGIN APPROACH TO STOCK MARKET PREDICTION USING SUPPORT VECTOR REGRESSION. Haiqin Yang, Irwin King and Laiwan Chan

NON-FIXED AND ASYMMETRICAL MARGIN APPROACH TO STOCK MARKET PREDICTION USING SUPPORT VECTOR REGRESSION. Haiqin Yang, Irwin King and Laiwan Chan In The Proceedings of ICONIP 2002, Singapore, 2002. NON-FIXED AND ASYMMETRICAL MARGIN APPROACH TO STOCK MARKET PREDICTION USING SUPPORT VECTOR REGRESSION Haiqin Yang, Irwin King and Laiwan Chan Department

More information

Outliers Treatment in Support Vector Regression for Financial Time Series Prediction

Outliers Treatment in Support Vector Regression for Financial Time Series Prediction Outliers Treatment in Support Vector Regression for Financial Time Series Prediction Haiqin Yang, Kaizhu Huang, Laiwan Chan, Irwin King, and Michael R. Lyu Department of Computer Science and Engineering

More information

Neural network time series classification of changes in nuclear power plant processes

Neural network time series classification of changes in nuclear power plant processes 2009 Quality and Productivity Research Conference Neural network time series classification of changes in nuclear power plant processes Karel Kupka TriloByte Statistical Research, Center for Quality and

More information

An introduction to Support Vector Machines

An introduction to Support Vector Machines 1 An introduction to Support Vector Machines Giorgio Valentini DSI - Dipartimento di Scienze dell Informazione Università degli Studi di Milano e-mail: valenti@dsi.unimi.it 2 Outline Linear classifiers

More information

Support Vector Machines II. CAP 5610: Machine Learning Instructor: Guo-Jun QI

Support Vector Machines II. CAP 5610: Machine Learning Instructor: Guo-Jun QI Support Vector Machines II CAP 5610: Machine Learning Instructor: Guo-Jun QI 1 Outline Linear SVM hard margin Linear SVM soft margin Non-linear SVM Application Linear Support Vector Machine An optimization

More information

A GENERAL FORMULATION FOR SUPPORT VECTOR MACHINES. Wei Chu, S. Sathiya Keerthi, Chong Jin Ong

A GENERAL FORMULATION FOR SUPPORT VECTOR MACHINES. Wei Chu, S. Sathiya Keerthi, Chong Jin Ong A GENERAL FORMULATION FOR SUPPORT VECTOR MACHINES Wei Chu, S. Sathiya Keerthi, Chong Jin Ong Control Division, Department of Mechanical Engineering, National University of Singapore 0 Kent Ridge Crescent,

More information

SUPPORT VECTOR MACHINE FOR THE SIMULTANEOUS APPROXIMATION OF A FUNCTION AND ITS DERIVATIVE

SUPPORT VECTOR MACHINE FOR THE SIMULTANEOUS APPROXIMATION OF A FUNCTION AND ITS DERIVATIVE SUPPORT VECTOR MACHINE FOR THE SIMULTANEOUS APPROXIMATION OF A FUNCTION AND ITS DERIVATIVE M. Lázaro 1, I. Santamaría 2, F. Pérez-Cruz 1, A. Artés-Rodríguez 1 1 Departamento de Teoría de la Señal y Comunicaciones

More information

Support Vector Machines. Introduction to Data Mining, 2 nd Edition by Tan, Steinbach, Karpatne, Kumar

Support Vector Machines. Introduction to Data Mining, 2 nd Edition by Tan, Steinbach, Karpatne, Kumar Data Mining Support Vector Machines Introduction to Data Mining, 2 nd Edition by Tan, Steinbach, Karpatne, Kumar 02/03/2018 Introduction to Data Mining 1 Support Vector Machines Find a linear hyperplane

More information

Learning with kernels and SVM

Learning with kernels and SVM Learning with kernels and SVM Šámalova chata, 23. května, 2006 Petra Kudová Outline Introduction Binary classification Learning with Kernels Support Vector Machines Demo Conclusion Learning from data find

More information

Support Vector Machine (SVM) and Kernel Methods

Support Vector Machine (SVM) and Kernel Methods Support Vector Machine (SVM) and Kernel Methods CE-717: Machine Learning Sharif University of Technology Fall 2014 Soleymani Outline Margin concept Hard-Margin SVM Soft-Margin SVM Dual Problems of Hard-Margin

More information

Support Vector Machines for Classification and Regression. 1 Linearly Separable Data: Hard Margin SVMs

Support Vector Machines for Classification and Regression. 1 Linearly Separable Data: Hard Margin SVMs E0 270 Machine Learning Lecture 5 (Jan 22, 203) Support Vector Machines for Classification and Regression Lecturer: Shivani Agarwal Disclaimer: These notes are a brief summary of the topics covered in

More information

Support Vector Machine (SVM) and Kernel Methods

Support Vector Machine (SVM) and Kernel Methods Support Vector Machine (SVM) and Kernel Methods CE-717: Machine Learning Sharif University of Technology Fall 2015 Soleymani Outline Margin concept Hard-Margin SVM Soft-Margin SVM Dual Problems of Hard-Margin

More information

Support Vector Machines Explained

Support Vector Machines Explained December 23, 2008 Support Vector Machines Explained Tristan Fletcher www.cs.ucl.ac.uk/staff/t.fletcher/ Introduction This document has been written in an attempt to make the Support Vector Machines (SVM),

More information

Support Vector Machine (SVM) and Kernel Methods

Support Vector Machine (SVM) and Kernel Methods Support Vector Machine (SVM) and Kernel Methods CE-717: Machine Learning Sharif University of Technology Fall 2016 Soleymani Outline Margin concept Hard-Margin SVM Soft-Margin SVM Dual Problems of Hard-Margin

More information

Support Vector Machine (SVM) & Kernel CE-717: Machine Learning Sharif University of Technology. M. Soleymani Fall 2012

Support Vector Machine (SVM) & Kernel CE-717: Machine Learning Sharif University of Technology. M. Soleymani Fall 2012 Support Vector Machine (SVM) & Kernel CE-717: Machine Learning Sharif University of Technology M. Soleymani Fall 2012 Linear classifier Which classifier? x 2 x 1 2 Linear classifier Margin concept x 2

More information

Discussion of Some Problems About Nonlinear Time Series Prediction Using ν-support Vector Machine

Discussion of Some Problems About Nonlinear Time Series Prediction Using ν-support Vector Machine Commun. Theor. Phys. (Beijing, China) 48 (2007) pp. 117 124 c International Academic Publishers Vol. 48, No. 1, July 15, 2007 Discussion of Some Problems About Nonlinear Time Series Prediction Using ν-support

More information

Support Vector Regression with Automatic Accuracy Control B. Scholkopf y, P. Bartlett, A. Smola y,r.williamson FEIT/RSISE, Australian National University, Canberra, Australia y GMD FIRST, Rudower Chaussee

More information

Support Vector Machine for Classification and Regression

Support Vector Machine for Classification and Regression Support Vector Machine for Classification and Regression Ahlame Douzal AMA-LIG, Université Joseph Fourier Master 2R - MOSIG (2013) November 25, 2013 Loss function, Separating Hyperplanes, Canonical Hyperplan

More information

Linear Dependency Between and the Input Noise in -Support Vector Regression

Linear Dependency Between and the Input Noise in -Support Vector Regression 544 IEEE TRANSACTIONS ON NEURAL NETWORKS, VOL. 14, NO. 3, MAY 2003 Linear Dependency Between the Input Noise in -Support Vector Regression James T. Kwok Ivor W. Tsang Abstract In using the -support vector

More information

Support Vector Machine & Its Applications

Support Vector Machine & Its Applications Support Vector Machine & Its Applications A portion (1/3) of the slides are taken from Prof. Andrew Moore s SVM tutorial at http://www.cs.cmu.edu/~awm/tutorials Mingyue Tan The University of British Columbia

More information

On-line Support Vector Machines and Optimization Strategies

On-line Support Vector Machines and Optimization Strategies On-line Support Vector Machines and Optimization Strategies J.M. Górriz, C.G. Puntonet, M. Salmerón, R. Martin-Clemente and S. Hornillo-Mellado and J. Ortega E.S.I., Informática, Universidad de Granada

More information

SUPPORT VECTOR MACHINE

SUPPORT VECTOR MACHINE SUPPORT VECTOR MACHINE Mainly based on https://nlp.stanford.edu/ir-book/pdf/15svm.pdf 1 Overview SVM is a huge topic Integration of MMDS, IIR, and Andrew Moore s slides here Our foci: Geometric intuition

More information

Forecast daily indices of solar activity, F10.7, using support vector regression method

Forecast daily indices of solar activity, F10.7, using support vector regression method Research in Astron. Astrophys. 9 Vol. 9 No. 6, 694 702 http://www.raa-journal.org http://www.iop.org/journals/raa Research in Astronomy and Astrophysics Forecast daily indices of solar activity, F10.7,

More information

Support Vector Machines for Classification and Regression

Support Vector Machines for Classification and Regression CIS 520: Machine Learning Oct 04, 207 Support Vector Machines for Classification and Regression Lecturer: Shivani Agarwal Disclaimer: These notes are designed to be a supplement to the lecture. They may

More information

Non-linear Support Vector Machines

Non-linear Support Vector Machines Non-linear Support Vector Machines Andrea Passerini passerini@disi.unitn.it Machine Learning Non-linear Support Vector Machines Non-linearly separable problems Hard-margin SVM can address linearly separable

More information

Support Vector Machines

Support Vector Machines Support Vector Machines Tobias Pohlen Selected Topics in Human Language Technology and Pattern Recognition February 10, 2014 Human Language Technology and Pattern Recognition Lehrstuhl für Informatik 6

More information

Linear, threshold units. Linear Discriminant Functions and Support Vector Machines. Biometrics CSE 190 Lecture 11. X i : inputs W i : weights

Linear, threshold units. Linear Discriminant Functions and Support Vector Machines. Biometrics CSE 190 Lecture 11. X i : inputs W i : weights Linear Discriminant Functions and Support Vector Machines Linear, threshold units CSE19, Winter 11 Biometrics CSE 19 Lecture 11 1 X i : inputs W i : weights θ : threshold 3 4 5 1 6 7 Courtesy of University

More information

A Support Vector Regression Model for Forecasting Rainfall

A Support Vector Regression Model for Forecasting Rainfall A Support Vector Regression for Forecasting Nasimul Hasan 1, Nayan Chandra Nath 1, Risul Islam Rasel 2 Department of Computer Science and Engineering, International Islamic University Chittagong, Bangladesh

More information

Outline. Basic concepts: SVM and kernels SVM primal/dual problems. Chih-Jen Lin (National Taiwan Univ.) 1 / 22

Outline. Basic concepts: SVM and kernels SVM primal/dual problems. Chih-Jen Lin (National Taiwan Univ.) 1 / 22 Outline Basic concepts: SVM and kernels SVM primal/dual problems Chih-Jen Lin (National Taiwan Univ.) 1 / 22 Outline Basic concepts: SVM and kernels Basic concepts: SVM and kernels SVM primal/dual problems

More information

Chapter 9. Support Vector Machine. Yongdai Kim Seoul National University

Chapter 9. Support Vector Machine. Yongdai Kim Seoul National University Chapter 9. Support Vector Machine Yongdai Kim Seoul National University 1. Introduction Support Vector Machine (SVM) is a classification method developed by Vapnik (1996). It is thought that SVM improved

More information

Robust Kernel-Based Regression

Robust Kernel-Based Regression Robust Kernel-Based Regression Budi Santosa Department of Industrial Engineering Sepuluh Nopember Institute of Technology Kampus ITS Surabaya Surabaya 60111,Indonesia Theodore B. Trafalis School of Industrial

More information

Review: Support vector machines. Machine learning techniques and image analysis

Review: Support vector machines. Machine learning techniques and image analysis Review: Support vector machines Review: Support vector machines Margin optimization min (w,w 0 ) 1 2 w 2 subject to y i (w 0 + w T x i ) 1 0, i = 1,..., n. Review: Support vector machines Margin optimization

More information

Iterative ARIMA-Multiple Support Vector Regression models for long term time series prediction

Iterative ARIMA-Multiple Support Vector Regression models for long term time series prediction and Machine Learning Bruges (Belgium), 23-25 April 24, i6doccom publ, ISBN 978-2874995-7 Available from http://wwwi6doccom/fr/livre/?gcoi=2843244 Iterative ARIMA-Multiple Support Vector Regression models

More information

Jeff Howbert Introduction to Machine Learning Winter

Jeff Howbert Introduction to Machine Learning Winter Classification / Regression Support Vector Machines Jeff Howbert Introduction to Machine Learning Winter 2012 1 Topics SVM classifiers for linearly separable classes SVM classifiers for non-linearly separable

More information

Iteratively Reweighted Least Square for Asymmetric L 2 -Loss Support Vector Regression

Iteratively Reweighted Least Square for Asymmetric L 2 -Loss Support Vector Regression Iteratively Reweighted Least Square for Asymmetric L 2 -Loss Support Vector Regression Songfeng Zheng Department of Mathematics Missouri State University Springfield, MO 65897 SongfengZheng@MissouriState.edu

More information

Introduction to Support Vector Machines

Introduction to Support Vector Machines Introduction to Support Vector Machines Andreas Maletti Technische Universität Dresden Fakultät Informatik June 15, 2006 1 The Problem 2 The Basics 3 The Proposed Solution Learning by Machines Learning

More information

Introduction to Support Vector Machines

Introduction to Support Vector Machines Introduction to Support Vector Machines Hsuan-Tien Lin Learning Systems Group, California Institute of Technology Talk in NTU EE/CS Speech Lab, November 16, 2005 H.-T. Lin (Learning Systems Group) Introduction

More information

A Tutorial on Support Vector Machine

A Tutorial on Support Vector Machine A Tutorial on School of Computing National University of Singapore Contents Theory on Using with Other s Contents Transforming Theory on Using with Other s What is a classifier? A function that maps instances

More information

Local Support Vector Regression For Financial Time Series Prediction

Local Support Vector Regression For Financial Time Series Prediction 26 International Joint Conference on eural etworks Sheraton Vancouver Wall Centre Hotel, Vancouver, BC, Canada July 6-2, 26 Local Support Vector Regression For Financial Time Series Prediction Kaizhu Huang,

More information

An Improved Conjugate Gradient Scheme to the Solution of Least Squares SVM

An Improved Conjugate Gradient Scheme to the Solution of Least Squares SVM An Improved Conjugate Gradient Scheme to the Solution of Least Squares SVM Wei Chu Chong Jin Ong chuwei@gatsby.ucl.ac.uk mpeongcj@nus.edu.sg S. Sathiya Keerthi mpessk@nus.edu.sg Control Division, Department

More information

1162 IEEE TRANSACTIONS ON NEURAL NETWORKS, VOL. 11, NO. 5, SEPTEMBER The Evidence Framework Applied to Support Vector Machines

1162 IEEE TRANSACTIONS ON NEURAL NETWORKS, VOL. 11, NO. 5, SEPTEMBER The Evidence Framework Applied to Support Vector Machines 1162 IEEE TRANSACTIONS ON NEURAL NETWORKS, VOL. 11, NO. 5, SEPTEMBER 2000 Brief Papers The Evidence Framework Applied to Support Vector Machines James Tin-Yau Kwok Abstract In this paper, we show that

More information

SMO Algorithms for Support Vector Machines without Bias Term

SMO Algorithms for Support Vector Machines without Bias Term Institute of Automatic Control Laboratory for Control Systems and Process Automation Prof. Dr.-Ing. Dr. h. c. Rolf Isermann SMO Algorithms for Support Vector Machines without Bias Term Michael Vogt, 18-Jul-2002

More information

Support Vector Machines. CAP 5610: Machine Learning Instructor: Guo-Jun QI

Support Vector Machines. CAP 5610: Machine Learning Instructor: Guo-Jun QI Support Vector Machines CAP 5610: Machine Learning Instructor: Guo-Jun QI 1 Linear Classifier Naive Bayes Assume each attribute is drawn from Gaussian distribution with the same variance Generative model:

More information

Cheng Soon Ong & Christian Walder. Canberra February June 2018

Cheng Soon Ong & Christian Walder. Canberra February June 2018 Cheng Soon Ong & Christian Walder Research Group and College of Engineering and Computer Science Canberra February June 2018 Outlines Overview Introduction Linear Algebra Probability Linear Regression

More information

Support Vector Machine (continued)

Support Vector Machine (continued) Support Vector Machine continued) Overlapping class distribution: In practice the class-conditional distributions may overlap, so that the training data points are no longer linearly separable. We need

More information

Perceptron Revisited: Linear Separators. Support Vector Machines

Perceptron Revisited: Linear Separators. Support Vector Machines Support Vector Machines Perceptron Revisited: Linear Separators Binary classification can be viewed as the task of separating classes in feature space: w T x + b > 0 w T x + b = 0 w T x + b < 0 Department

More information

FIND A FUNCTION TO CLASSIFY HIGH VALUE CUSTOMERS

FIND A FUNCTION TO CLASSIFY HIGH VALUE CUSTOMERS LINEAR CLASSIFIER 1 FIND A FUNCTION TO CLASSIFY HIGH VALUE CUSTOMERS x f y High Value Customers Salary Task: Find Nb Orders 150 70 300 100 200 80 120 100 Low Value Customers Salary Nb Orders 40 80 220

More information

Linear vs Non-linear classifier. CS789: Machine Learning and Neural Network. Introduction

Linear vs Non-linear classifier. CS789: Machine Learning and Neural Network. Introduction Linear vs Non-linear classifier CS789: Machine Learning and Neural Network Support Vector Machine Jakramate Bootkrajang Department of Computer Science Chiang Mai University Linear classifier is in the

More information

Square Penalty Support Vector Regression

Square Penalty Support Vector Regression Square Penalty Support Vector Regression Álvaro Barbero, Jorge López, José R. Dorronsoro Dpto. de Ingeniería Informática and Instituto de Ingeniería del Conocimiento Universidad Autónoma de Madrid, 28049

More information

LIBSVM: a Library for Support Vector Machines (Version 2.32)

LIBSVM: a Library for Support Vector Machines (Version 2.32) LIBSVM: a Library for Support Vector Machines (Version 2.32) Chih-Chung Chang and Chih-Jen Lin Last updated: October 6, 200 Abstract LIBSVM is a library for support vector machines (SVM). Its goal is to

More information

SVM Incremental Learning, Adaptation and Optimization

SVM Incremental Learning, Adaptation and Optimization SVM Incremental Learning, Adaptation and Optimization Christopher P. Diehl Applied Physics Laboratory Johns Hopkins University Laurel, MD 20723 Chris.Diehl@jhuapl.edu Gert Cauwenberghs ECE Department Johns

More information

Support Vector Machines and Kernel Algorithms

Support Vector Machines and Kernel Algorithms Support Vector Machines and Kernel Algorithms Bernhard Schölkopf Max-Planck-Institut für biologische Kybernetik 72076 Tübingen, Germany Bernhard.Schoelkopf@tuebingen.mpg.de Alex Smola RSISE, Australian

More information

Support Vector Ordinal Regression using Privileged Information

Support Vector Ordinal Regression using Privileged Information Support Vector Ordinal Regression using Privileged Information Fengzhen Tang 1, Peter Tiňo 2, Pedro Antonio Gutiérrez 3 and Huanhuan Chen 4 1,2,4- The University of Birmingham, School of Computer Science,

More information

A Revisit to Support Vector Data Description (SVDD)

A Revisit to Support Vector Data Description (SVDD) A Revisit to Support Vector Data Description (SVDD Wei-Cheng Chang b99902019@csie.ntu.edu.tw Ching-Pei Lee r00922098@csie.ntu.edu.tw Chih-Jen Lin cjlin@csie.ntu.edu.tw Department of Computer Science, National

More information

Lecture 18: Kernels Risk and Loss Support Vector Regression. Aykut Erdem December 2016 Hacettepe University

Lecture 18: Kernels Risk and Loss Support Vector Regression. Aykut Erdem December 2016 Hacettepe University Lecture 18: Kernels Risk and Loss Support Vector Regression Aykut Erdem December 2016 Hacettepe University Administrative We will have a make-up lecture on next Saturday December 24, 2016 Presentations

More information

Lecture 10: A brief introduction to Support Vector Machine

Lecture 10: A brief introduction to Support Vector Machine Lecture 10: A brief introduction to Support Vector Machine Advanced Applied Multivariate Analysis STAT 2221, Fall 2013 Sungkyu Jung Department of Statistics, University of Pittsburgh Xingye Qiao Department

More information

Lecture 10: Support Vector Machine and Large Margin Classifier

Lecture 10: Support Vector Machine and Large Margin Classifier Lecture 10: Support Vector Machine and Large Margin Classifier Applied Multivariate Analysis Math 570, Fall 2014 Xingye Qiao Department of Mathematical Sciences Binghamton University E-mail: qiao@math.binghamton.edu

More information

MACHINE LEARNING. Support Vector Machines. Alessandro Moschitti

MACHINE LEARNING. Support Vector Machines. Alessandro Moschitti MACHINE LEARNING Support Vector Machines Alessandro Moschitti Department of information and communication technology University of Trento Email: moschitti@dit.unitn.it Summary Support Vector Machines

More information

Neural Networks. Prof. Dr. Rudolf Kruse. Computational Intelligence Group Faculty for Computer Science

Neural Networks. Prof. Dr. Rudolf Kruse. Computational Intelligence Group Faculty for Computer Science Neural Networks Prof. Dr. Rudolf Kruse Computational Intelligence Group Faculty for Computer Science kruse@iws.cs.uni-magdeburg.de Rudolf Kruse Neural Networks 1 Supervised Learning / Support Vector Machines

More information

Classifier Complexity and Support Vector Classifiers

Classifier Complexity and Support Vector Classifiers Classifier Complexity and Support Vector Classifiers Feature 2 6 4 2 0 2 4 6 8 RBF kernel 10 10 8 6 4 2 0 2 4 6 Feature 1 David M.J. Tax Pattern Recognition Laboratory Delft University of Technology D.M.J.Tax@tudelft.nl

More information

Support Vector Machines (SVM) in bioinformatics. Day 1: Introduction to SVM

Support Vector Machines (SVM) in bioinformatics. Day 1: Introduction to SVM 1 Support Vector Machines (SVM) in bioinformatics Day 1: Introduction to SVM Jean-Philippe Vert Bioinformatics Center, Kyoto University, Japan Jean-Philippe.Vert@mines.org Human Genome Center, University

More information

Support Vector Machines

Support Vector Machines Support Vector Machines Stephan Dreiseitl University of Applied Sciences Upper Austria at Hagenberg Harvard-MIT Division of Health Sciences and Technology HST.951J: Medical Decision Support Overview Motivation

More information

Scale-Invariance of Support Vector Machines based on the Triangular Kernel. Abstract

Scale-Invariance of Support Vector Machines based on the Triangular Kernel. Abstract Scale-Invariance of Support Vector Machines based on the Triangular Kernel François Fleuret Hichem Sahbi IMEDIA Research Group INRIA Domaine de Voluceau 78150 Le Chesnay, France Abstract This paper focuses

More information

CS145: INTRODUCTION TO DATA MINING

CS145: INTRODUCTION TO DATA MINING CS145: INTRODUCTION TO DATA MINING 5: Vector Data: Support Vector Machine Instructor: Yizhou Sun yzsun@cs.ucla.edu October 18, 2017 Homework 1 Announcements Due end of the day of this Thursday (11:59pm)

More information

Linear Classification and SVM. Dr. Xin Zhang

Linear Classification and SVM. Dr. Xin Zhang Linear Classification and SVM Dr. Xin Zhang Email: eexinzhang@scut.edu.cn What is linear classification? Classification is intrinsically non-linear It puts non-identical things in the same class, so a

More information

Predicting Time of Peak Foreign Exchange Rates. Charles Mulemi, Lucio Dery 0. ABSTRACT

Predicting Time of Peak Foreign Exchange Rates. Charles Mulemi, Lucio Dery 0. ABSTRACT Predicting Time of Peak Foreign Exchange Rates Charles Mulemi, Lucio Dery 0. ABSTRACT This paper explores various machine learning models of predicting the day foreign exchange rates peak in a given window.

More information

Constrained Optimization and Support Vector Machines

Constrained Optimization and Support Vector Machines Constrained Optimization and Support Vector Machines Man-Wai MAK Dept. of Electronic and Information Engineering, The Hong Kong Polytechnic University enmwmak@polyu.edu.hk http://www.eie.polyu.edu.hk/

More information

Foreign Exchange Rates Forecasting with a C-Ascending Least Squares Support Vector Regression Model

Foreign Exchange Rates Forecasting with a C-Ascending Least Squares Support Vector Regression Model Foreign Exchange Rates Forecasting with a C-Ascending Least Squares Support Vector Regression Model Lean Yu, Xun Zhang, and Shouyang Wang Institute of Systems Science, Academy of Mathematics and Systems

More information

KNOWLEDGE-BASED SUPPORT VECTOR SYNTHESIS OF THE MICROSTRIP LINES

KNOWLEDGE-BASED SUPPORT VECTOR SYNTHESIS OF THE MICROSTRIP LINES Progress In Electromagnetics Research, PIER 92, 65 77, 2009 KNOWLEDGE-BASED SUPPORT VECTOR SYNTHESIS OF THE MICROSTRIP LINES N. T. Tokan and F. Güneş Department of Electronics and Communication Engineering

More information

Indirect Rule Learning: Support Vector Machines. Donglin Zeng, Department of Biostatistics, University of North Carolina

Indirect Rule Learning: Support Vector Machines. Donglin Zeng, Department of Biostatistics, University of North Carolina Indirect Rule Learning: Support Vector Machines Indirect learning: loss optimization It doesn t estimate the prediction rule f (x) directly, since most loss functions do not have explicit optimizers. Indirection

More information

Support Vector Machine I

Support Vector Machine I Support Vector Machine I Statistical Data Analysis with Positive Definite Kernels Kenji Fukumizu Institute of Statistical Mathematics, ROIS Department of Statistical Science, Graduate University for Advanced

More information

An Exact Solution to Support Vector Mixture

An Exact Solution to Support Vector Mixture An Exact Solution to Support Vector Mixture Monjed Ezzeddinne, icolas Lefebvre, and Régis Lengellé Abstract This paper presents a new version of the SVM mixture algorithm initially proposed by Kwo for

More information

Support'Vector'Machines. Machine(Learning(Spring(2018 March(5(2018 Kasthuri Kannan

Support'Vector'Machines. Machine(Learning(Spring(2018 March(5(2018 Kasthuri Kannan Support'Vector'Machines Machine(Learning(Spring(2018 March(5(2018 Kasthuri Kannan kasthuri.kannan@nyumc.org Overview Support Vector Machines for Classification Linear Discrimination Nonlinear Discrimination

More information

Lecture Notes on Support Vector Machine

Lecture Notes on Support Vector Machine Lecture Notes on Support Vector Machine Feng Li fli@sdu.edu.cn Shandong University, China 1 Hyperplane and Margin In a n-dimensional space, a hyper plane is defined by ω T x + b = 0 (1) where ω R n is

More information

Support Vector Machines

Support Vector Machines Support Vector Machines Sridhar Mahadevan mahadeva@cs.umass.edu University of Massachusetts Sridhar Mahadevan: CMPSCI 689 p. 1/32 Margin Classifiers margin b = 0 Sridhar Mahadevan: CMPSCI 689 p.

More information

Discriminative Direction for Kernel Classifiers

Discriminative Direction for Kernel Classifiers Discriminative Direction for Kernel Classifiers Polina Golland Artificial Intelligence Lab Massachusetts Institute of Technology Cambridge, MA 02139 polina@ai.mit.edu Abstract In many scientific and engineering

More information

Support Vector Machines

Support Vector Machines Support Vector Machines Statistical Inference with Reproducing Kernel Hilbert Space Kenji Fukumizu Institute of Statistical Mathematics, ROIS Department of Statistical Science, Graduate University for

More information

Support Vector Machines. Maximizing the Margin

Support Vector Machines. Maximizing the Margin Support Vector Machines Support vector achines (SVMs) learn a hypothesis: h(x) = b + Σ i= y i α i k(x, x i ) (x, y ),..., (x, y ) are the training exs., y i {, } b is the bias weight. α,..., α are the

More information

Introduction to SVM and RVM

Introduction to SVM and RVM Introduction to SVM and RVM Machine Learning Seminar HUS HVL UIB Yushu Li, UIB Overview Support vector machine SVM First introduced by Vapnik, et al. 1992 Several literature and wide applications Relevance

More information

ML (cont.): SUPPORT VECTOR MACHINES

ML (cont.): SUPPORT VECTOR MACHINES ML (cont.): SUPPORT VECTOR MACHINES CS540 Bryan R Gibson University of Wisconsin-Madison Slides adapted from those used by Prof. Jerry Zhu, CS540-1 1 / 40 Support Vector Machines (SVMs) The No-Math Version

More information

LIBSVM: a Library for Support Vector Machines

LIBSVM: a Library for Support Vector Machines LIBSVM: a Library for Support Vector Machines Chih-Chung Chang and Chih-Jen Lin Last updated: September 6, 2006 Abstract LIBSVM is a library for support vector machines (SVM). Its goal is to help users

More information

The Neural Support Vector Machine

The Neural Support Vector Machine The Neural Support Vector Machine M.A. Wiering a M.H. van der Ree a M.J. Embrechts b M.F. Stollenga c A. Meijster a A. Nolte d L.R.B. Schomaker a a Institute of Artificial Intelligence and Cognitive Engineering,

More information

Soft-margin SVM can address linearly separable problems with outliers

Soft-margin SVM can address linearly separable problems with outliers Non-linear Support Vector Machines Non-linearly separable problems Hard-margin SVM can address linearly separable problems Soft-margin SVM can address linearly separable problems with outliers Non-linearly

More information

Learning Kernel Parameters by using Class Separability Measure

Learning Kernel Parameters by using Class Separability Measure Learning Kernel Parameters by using Class Separability Measure Lei Wang, Kap Luk Chan School of Electrical and Electronic Engineering Nanyang Technological University Singapore, 3979 E-mail: P 3733@ntu.edu.sg,eklchan@ntu.edu.sg

More information

Support Vector Machines and Kernel Methods

Support Vector Machines and Kernel Methods 2018 CS420 Machine Learning, Lecture 3 Hangout from Prof. Andrew Ng. http://cs229.stanford.edu/notes/cs229-notes3.pdf Support Vector Machines and Kernel Methods Weinan Zhang Shanghai Jiao Tong University

More information

In this chapter, a support vector regression (SVR) based detector is presented for

In this chapter, a support vector regression (SVR) based detector is presented for Chapter 5 Support Vector Regression Approach to Large-MIMO Detection In this chapter, a support vector regression (SVR) based detector is presented for detection in large-mimo systems. The main motivation

More information

Discussion About Nonlinear Time Series Prediction Using Least Squares Support Vector Machine

Discussion About Nonlinear Time Series Prediction Using Least Squares Support Vector Machine Commun. Theor. Phys. (Beijing, China) 43 (2005) pp. 1056 1060 c International Academic Publishers Vol. 43, No. 6, June 15, 2005 Discussion About Nonlinear Time Series Prediction Using Least Squares Support

More information

Dynamical Modeling with Kernels for Nonlinear Time Series Prediction

Dynamical Modeling with Kernels for Nonlinear Time Series Prediction Dynamical Modeling with Kernels for Nonlinear Time Series Prediction Liva Ralaivola Laboratoire d Informatique de Paris 6 Université Pierre et Marie Curie 8, rue du capitaine Scott F-75015 Paris, FRANCE

More information

Linear & nonlinear classifiers

Linear & nonlinear classifiers Linear & nonlinear classifiers Machine Learning Hamid Beigy Sharif University of Technology Fall 1396 Hamid Beigy (Sharif University of Technology) Linear & nonlinear classifiers Fall 1396 1 / 44 Table

More information

Linear & nonlinear classifiers

Linear & nonlinear classifiers Linear & nonlinear classifiers Machine Learning Hamid Beigy Sharif University of Technology Fall 1394 Hamid Beigy (Sharif University of Technology) Linear & nonlinear classifiers Fall 1394 1 / 34 Table

More information

Support Vector Machine. Natural Language Processing Lab lizhonghua

Support Vector Machine. Natural Language Processing Lab lizhonghua Support Vector Machine Natural Language Processing Lab lizhonghua Support Vector Machine Introduction Theory SVM primal and dual problem Parameter selection and practical issues Compare to other classifier

More information

Machine Learning 2010

Machine Learning 2010 Machine Learning 2010 Michael M Richter Support Vector Machines Email: mrichter@ucalgary.ca 1 - Topic This chapter deals with concept learning the numerical way. That means all concepts, problems and decisions

More information

Machine Learning. Support Vector Machines. Manfred Huber

Machine Learning. Support Vector Machines. Manfred Huber Machine Learning Support Vector Machines Manfred Huber 2015 1 Support Vector Machines Both logistic regression and linear discriminant analysis learn a linear discriminant function to separate the data

More information

Support Vector Machine via Nonlinear Rescaling Method

Support Vector Machine via Nonlinear Rescaling Method Manuscript Click here to download Manuscript: svm-nrm_3.tex Support Vector Machine via Nonlinear Rescaling Method Roman Polyak Department of SEOR and Department of Mathematical Sciences George Mason University

More information

CS798: Selected topics in Machine Learning

CS798: Selected topics in Machine Learning CS798: Selected topics in Machine Learning Support Vector Machine Jakramate Bootkrajang Department of Computer Science Chiang Mai University Jakramate Bootkrajang CS798: Selected topics in Machine Learning

More information

Dynamical Modeling with Kernels for Nonlinear Time Series Prediction

Dynamical Modeling with Kernels for Nonlinear Time Series Prediction Dynamical Modeling with Kernels for Nonlinear Time Series Prediction Liva Ralaivola Laboratoire d Informatique de Paris 6 Université Pierre et Marie Curie 8, rue du capitaine Scott F-75015 Paris, FRANCE

More information

Support Vector Machines: Maximum Margin Classifiers

Support Vector Machines: Maximum Margin Classifiers Support Vector Machines: Maximum Margin Classifiers Machine Learning and Pattern Recognition: September 16, 2008 Piotr Mirowski Based on slides by Sumit Chopra and Fu-Jie Huang 1 Outline What is behind

More information

Linear classifiers selecting hyperplane maximizing separation margin between classes (large margin classifiers)

Linear classifiers selecting hyperplane maximizing separation margin between classes (large margin classifiers) Support vector machines In a nutshell Linear classifiers selecting hyperplane maximizing separation margin between classes (large margin classifiers) Solution only depends on a small subset of training

More information

Formulation with slack variables

Formulation with slack variables Formulation with slack variables Optimal margin classifier with slack variables and kernel functions described by Support Vector Machine (SVM). min (w,ξ) ½ w 2 + γσξ(i) subject to ξ(i) 0 i, d(i) (w T x(i)

More information