Supervised classification-based stock prediction and portfolio optimization

Sercan Ö. Arik, Sukru Burc Eryilmaz, Adam GoldbergarXiv 2014

Introduction

While high-frequency trading dominates headlines with millisecond-level execution, mid-to-long-term portfolio management remains anchored in "fundamental analysis." This process involves the detailed review of corporate balance sheets and income statements to assess intrinsic value. However, with over 27,000 stocks listed on the NYSE alone, human analysts face a significant scalability challenge. This research explores the automation of fundamental analysis using a supervised machine learning framework to distinguish "bullish" stocks—those likely to outperform the market—from "bearish" ones.

Methodology

The core of the proposed system is a binary classification model. To address the inherent noise and volatility in annual financial reporting, the researchers employed several signal processing and dimensionality reduction techniques.

Preprocessing and Smoothing

Financial data often exhibits "jumpy" behavior due to one-off accounting adjustments or seasonal variations. To reveal underlying long-term trends, the authors applied a Discrete Cosine Transform (DCT). By treating the sequence of financial parameters as a signal and filtering out high-frequency components, the data was smoothed to prevent the model from overreacting to transient noise.

Smoothing financial features using Discrete Cosine Transform (DCT) with varying coefficients to reveal underlying trends.

Classification and Optimization

Following smoothing, Principal Component Analysis (PCA) was used to reduce dimensionality by eliminating the bottom 15% of principal values. The study compared four algorithms: Decision Trees, k-Nearest Neighbors (k-NN), Naive Bayes, and Support Vector Machines (SVM). The SVM, implemented with a Gaussian kernel and tuned via exponential grid search, emerged as the most effective model due to its ability to handle complex, non-linear relationships in high-dimensional spaces.

Data Preparation

The study utilized a comprehensive dataset from the New York Stock Exchange (NYSE) covering the period from 1993 to 2013.

Filtering Criteria

To ensure data integrity, the initial pool of 27,000 stocks was filtered based on history and data availability. Only companies with at least 10 years of history and 50% feature availability were retained. Furthermore, the smallest 152 companies by market capitalization were excluded to focus on stocks driven by fundamentals rather than speculative volatility.

Market capitalization distribution across the dataset; the red shaded region indicates the small-cap stocks excluded to prioritize fundamental-driven performance.

Feature Selection

The model initially considered 69 fundamental parameters, such as total assets, operating income, and accounts receivable. This was pruned to 52 high-quality features after removing those with excessive missing data.

Results and Discussion

The SVM model demonstrated superior performance, outperforming other classification methods by over 3%. In testing against 2013 data, the model achieved a predictive accuracy of approximately 58.8% for bullish stocks and 57.9% for bearish stocks. While these percentages may seem modest, a consistent edge above 55% is highly significant in financial markets.

In a practical application, a portfolio constructed by equally weighting the "bullish" stocks identified by the SVM yielded a 3% higher growth than the NYSE Composite Index over a three-month window. The robustness of these results was confirmed across 100 random realizations, maintaining an accuracy above 56.2%.

Conclusion and Future Work

This research confirms that fundamental accounting data contains significant predictive power when processed through modern machine learning frameworks. The use of DCT for signal smoothing was particularly effective in mitigating financial "noise."

Future work will focus on refining the portfolio construction process. Instead of uniform weighting, the authors propose using regression models to predict specific price targets. Additionally, integrating risk-management metrics, such as the Sharpe Ratio, and exploring more advanced SVM kernels could further enhance the system's performance and reliability in diverse market conditions.

Summary updated

BibTeX
@misc{arik2014supervised,
  author = {Sercan Ö. Arik and Sukru Burc Eryilmaz and Adam Goldberg},
  title = {{Supervised classification-based stock prediction and portfolio optimization}},
  year = {2014},
  eprint = {1406.0824},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1406.0824},
}
Figure