a hybrid sofm-svr with a filter-based feature selection for stock market forecasting

30
A hybrid SOFM-SVR A hybrid SOFM-SVR with a filter-based with a filter-based feature selection feature selection for stock market for stock market forecasting forecasting Huang, C. L. & Tsai, Huang, C. L. & Tsai, C. Y. C. Y. Expert Systems with Applicati ons 2008

Upload: nolcha

Post on 18-Jan-2016

48 views

Category:

Documents


1 download

DESCRIPTION

A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting. Huang, C. L. & Tsai, C. Y. Expert Systems with Applications 2008. Introduction. Stock market price index prediction is regarded as a challenging task of the finance. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting

A hybrid SOFM-SVR with a A hybrid SOFM-SVR with a filter-based feature selectionfilter-based feature selectionfor stock market forecastingfor stock market forecasting

Huang, C. L. & Tsai, C. Y. Huang, C. L. & Tsai, C. Y.

Expert Systems with Applications 2008

Page 2: A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting

Introduction

Stock market price index prediction is regarded as a challenging task of the finance.

Support vector regression (SVR) has successfully solved prediction problems in many domains, including the stock market.

Page 3: A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting

Introduction

filter-based feature selection to choose important input attributes

SOFM algorithm to cluster the training samples

SVR to predict the stock market price index Using a real future dataset – Taiwan index

futures (FITX) to predict the next day’s price index

Page 4: A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting

Introduction SOFM+SVR : to improve the prediction

accuracy of the traditional SVR method and to reduce its long training time,

SOFM+SVR+filter-based feature selection : improvement in training time, prediction accuracy, and the ability to select a better feature subset is achieved.

Page 5: A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting

SVRSVR

Unlike pattern recognition problems where the desired outputs are discrete values (e.g., Boolean)

support vector regression (SVR) deals with ‘real valued’ functions

Page 6: A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting

Self-organizing Feature Maps; SOFMSelf-organizing Feature Maps; SOFM

Page 7: A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting

SOFMSOFM

1 2

3 4

Page 8: A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting

Training the SOFM-SVR model

1. 1. Scaling the training set 2.Clustering the training dataset 3.Training the Individual SVR Models for

Each Cluster

Page 9: A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting

Training the SOFM-SVR model

Page 10: A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting

Parameters OptimizationParameters Optimization

setting of the SVR parameters can improve the SVR prediction accuracy

Using RBF kernel and ε-insensitive loss function, three parameters, C, r, and ε, should be determined in the SVR model

The grid search approach is a common method to search for the C, r, and ε values.

Page 11: A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting

Grid Search Approach

Page 12: A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting

Evaluating the SOFM-SVR model with test set

Scale the test set based on the scaling equation according to the attribute rage of the training set

Find the cluster to which the test sample in the test set

Calculate the predicted value for each sample in the test set

Calculate the prediction accuracy for the test set

Page 13: A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting

SOFM-SVR model

Page 14: A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting

SOFM-SVR combined with filter-based feature selection

X is Certain input variable (i.e. feature) Y is response variable (i.e. label) n is the number of training samples

Page 15: A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting

SOFM-SVR filter-based feature selection

Page 16: A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting

Performance measures

Ai is the actual value of sample i Fi is a predicted value of sample i n is the number of samples.

Page 17: A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting

Experimental data set

Page 18: A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting

SOFM-SVR with various numbers of clusters in dataset #1

Page 19: A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting

Accuracy measures with various numbers of clusters

Page 20: A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting

Wilcoxon sign rank test

Wilcoxon sign rank test on the prediction errors for the SOFM-SVR withvarious numbers of clusters

Page 21: A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting

Results of SOFM-SVR using three clusters

Page 22: A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting

Results of SOFM-SVR with selected features

Page 23: A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting

Original Feature VS. Original Feature Original Feature VS. Original Feature

Original FeatureOriginal Feature

Original FeatureOriginal Feature

Wilcoxon sign rank test

Page 24: A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting

Important FeatureImportant Feature

MA10: 10-day moving average. MACD9: 9-day moving average convergence/ divergence. +DI10: directional indicator up. -DI10: directional indicator down. K10: 10-day stochastic index K PSY10: 10-day psychological line. D9: 9-day stochastic index D

Page 25: A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting

Relative importance of the selected features

Page 26: A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting

Wilcoxon sign rank test: SOFM-SVR vs. single SVR

Page 27: A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting

MAPE comparison: SOFM-SVR vs. single SVRs.

Page 28: A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting

Training time comparisons: SOFM-SVR vs. single SVRs.

Page 29: A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting

Conclusion

Hybrid SOFM-SVR with filter based feature selection to improve the prediction accuracy and to reduce the training time for the financial daily stock index prediction

Further research directions are using optimization algorithms (e.g., genetic algorithms) to optimize the SVR parameters and performing feature selection using a wrapper-based approach that combines SVR with other optimization tools

Page 30: A hybrid SOFM-SVR with a filter-based feature selection for stock market forecasting

Thank YouThank You