DOI: 10.11648/j.ijdsa.20261205.13 ISSN: 2575-1891
The Impact of Varying Window Sizes on the Performance of a Hybrid CNN-LSTM Model A Case of Forecasting USD VS KES
Crispus Mwangi, Martin Kithinji, Mutua Kilai Financial time series are characterized by non-linearity, inherent volatility, and changing temporal patterns making accurate predictions very challenging. This study deploys a CNN-LSTM hybrid model to predict the USD/KES exchange rate giving particular emphasis to the effect the size of the historical input window has on the hybrid model forecasting performance. The study relied on Daily USD/KES exchange-rate data obtained from the Central Bank of Kenya to train, evaluate and validate the hybrid model. This data was prepossessed and transformed into sequential inputs using different window configurations, allowing the models to learn from varying amounts of historical information. The study combined a CNN-based local pattern extraction with an LSTM-based temporal dependency learning model to develop a hybrid CNN-LSTM model. The hybrid's model performance was then subjected to a comparison with standalone CNN and LSTM model and evaluated using Root Mean Square Error (RMSE) and Mean Absolute Error (MAE) The hybrid CNN-LSTM prediction results indicated that the model was more effective in prediction among the evaluated architecture. The choice of the input window sizes affected the model's ability to learn and capture trends in the time series data. The results from the rolling-window experiments demonstrated that shorter and moderately sized historical windows can provide a more responsive representation of recent exchange-rate movements than an expanding window, particularly during periods of pronounced market variation. These findings highlight the importance of considering both model architecture and input-window design when developing deep-learning approaches for USD/KES exchange-rate forecasting. The study provides an empirical basis for selecting appropriate historical window sizes when applying hybrid deep-learning models to volatile financial time series in the Kenyan foreign-exchange market.
More from our Archive
-
DOI: 10.68381/jca02008 2026
Proximal Smoothness and the Lower-C
2
Property F. H. Clarke, R. J. Stern, P. R. Wolenski
-
DOI: 10.68381/jca13044 2026
Characterizations of Prox-Regular Sets in Uniformly Convex Banach Spaces Frédéric Bernard, Lionel Thibault, Nadia Zlateva
-
DOI: 10.68381/jca15047 2026
Brøndsted-Rockafellar Property and Maximality of Monotone Operators Representable by Convex Functions in Non-Reflexive Banach Spaces Maicon Marques Alves, Benar Fux Svaiter
-
DOI: 10.68381/jca16027 2026
Proximal Smoothness and the Exterior Sphere Condition Chadi Nour, Ron J. Stern, Jean Takche
-
DOI: 10.68381/jca16053 2026
A New Old Class of Maximal Monotone Operators Maicon Marques Alves, Benar Fux Svaiter
-
DOI: 10.68381/jca13045 2026
Maximal Monotonicity via Convex Analysis Jonathan Borwein
-
DOI: 10.68381/jca08009 2026
Variational Inequalities and Regularity Properties of Closed Sets in Hilbert Spaces Giovanni Colombo, Vladimir V. Goncharov
-
DOI: 10.68381/jca17060 2026
Existence and Uniqueness of Solutions for Non-Autonomous Complementarity Dynamical Systems Bernard Brogliato, Lionel Thibault
-
DOI: 10.68381/jca01001 2026
Variational Sum of Monotone Operators H. Attouch, J.-B. Baillon, M. Théra
-
DOI: 10.68381/jca22017 2026
Weak Convexity of Sets and Functions in a Banach Space Grigorii E. Ivanov