Utilization of Whittaker-Henderson Smoothing Method for Improving Neural Network Forecasting Accuracy

  • Hans Pratyaksa Universitas Gadjah Mada
  • Adhistya Erna Permanasari Universitas Gadjah Mada
  • Silmi Fauziati Universitas Gadjah Mada
Keywords: Forecasting, Pre-processing, Smoothing Method, Whittaker-Henderson, Artificial Neural Network


Health institutions need to ensure the availability of drug stocks for patients. There are challenges related to the uncertainty of the amount of drug use for the next period. Uncertainty can be reduced by analysing historical drug data to predict future demand. Time series can contain spikes or fluctuation pattern which spikes can disguise the main information. Hence, it can affect the accuracy of the prediction model. One widely used forecasting method in the time series data is the artificial neural network (ANN) method. The ANN method requires the pre-processing stage of the data before the training process. The pre-processing stage is essential to obtain information or knowledge. This study focused on applying smoothing methods at the pre-processing stage of the ANN method. The application of the smoothing method was expected to improve the quality of ANN learning data that would lead to better predictive accuracy. This research focuses on implementing the smoothing method in data pre-processing step for ANN method. Smoothing methods used in this research were exponential smoothing (ES) and Whittaker-Henderson (WH) smoothing applied to two time series datasets. The refining method used in this study was the WH method, which was tested on two time series datasets of medicine. The results show that the mean square error (MSE) obtained by applying the WH method was lower than the non-smoothing ANN for both datasets. Evaluation results revealed that implementing WH smoothing method in data pre-processing step for ANN (WH+ANN) provided MSE significantly lower than ANN results with a confidence level of 94% for dataset 1 and 85% for the dataset 2.


M.I. Ramos, J.J. Cubillas, and F.R. Feito, “Improvement of the Prediction of Drugs Demand Using Spatial Data Mining Tools,” J. Med. Syst., Vol. 40, No. 1, pp. 1-9, Jan. 2016.

H. Pratyaksa, A.E. Permanasari, S. Fauziati, and I. Fitriana, “ARIMA Implementation to Predict the Amount of Antiseptic Medicine Usage in Veterinary Hospital,” 2016 1st Int. Conf. Biomed. Eng. (IBIOMED), 2016, pp. 1-4.

C. Qingkui and R. Junhu, “Study on the Demand Forecasting of Hospital Stocks Based on Data Mining and BP Neural Networks,” 2009 Int. Conf. Electron. Commerce, Bus. Intell., 2009, pp. 284-289.

M. Jalalpour, Y. Gel, and S. Levin, “Forecasting Demand for Health Services: Development of A Publicly Available Toolbox,” Oper. Res. Health Care, Vol. 5, pp. 1-9, Jun. 2015.

N.K. Zadeh, M.M. Sepehri, and H. Farvaresh, “Intelligent Sales Prediction for Pharmaceutical Distribution Companies: A Data Mining Based Approach,” Math. Probl. Eng., Vol. 2014, pp. 1-15, May 2014.

Á. Lublóy, “Factors Affecting the Uptake of New Medicines: A Systematic Literature Review,” BMC Health Serv. Res., Vol. 14, pp. 1-25, Oct. 2014.

D. Alba-Cuéllar, et al., “Time Series Forecasting with PSO-Optimized Neural Networks,” 2014 13th Mexican Int. Conf. Artif. Intell., 2014, pp. 102-111.

F. Yu and X. Xu, “A Short-Term Load Forecasting Model of Natural Gas Based on Optimized Genetic Algorithm and Improved BP Neural Network,” Appl. Energy, Vol. 134, pp. 102-113, Dec. 2014.

I. Khandelwal, R. Adhikari, and G. Verma, “Time Series Forecasting Using Hybrid ARIMA and ANN Models Based on DWT Decomposition,” Procedia Comput. Sci., Vol. 48, pp. 173-179, 2015.

F. Nhita, D. Saepudin, Adiwijaya, and U.N. Wisesty, “Comparative Study of Moving Average on Rainfall Time Series Data for Rainfall Forecasting Based on Evolving Neural Network Classifier,” 2015 3rd Int. Symp. Comput., Bus. Intell. (ISCBI), 2015, pp. 112-116.

D.I. Wilson, “The Black Art of Smoothing,” Elect., Automat. Technol., June/July Issue, pp. 35-36, 2006.

O. Ostashchuk, “Time Series Data Prediction and Analysis,” Master thesis, Czech Technical University in Prague, Prague, Czech Republic, 2017.

D. Garcia, “Robust Smoothing of Gridded Data in One and Higher Dimensions with Missing Values,” Comput. Statist., Data Anal., Vol. 54, No. 4, pp. 1167-1178, Apr. 2010.

H.L. Weinert, “Efficient Computation for Whittaker-Henderson Smoothing,” Computat. Statist., Data Anal., Vol. 52, No. 2, pp. 959-974, Oct. 2007.

J.J. Stickel, “Data Smoothing and Numerical Differentiation by A Regularization Method,” Comput., Chem. Eng., Vol. 34, No. 4, pp. 467-475, Apr. 2010.

I. Suryani and R.S. Wahono, “Penerapan Exponential Smoothing untuk Transformasi Data dalam Meningkatkan Akurasi Neural Network pada Prediksi Harga Emas,” J. Intell. Syst., Vol. 1, No. 2, pp. 67-75, Dec. 2015.

I.N. Soyiri and D.D. Reidpath, “An Overview of Health Forecasting,” Environ. Health, Prev. Med., Vol. 18, pp. 1-9, Jan. 2013.

I.K. Utami, “Seleksi Input untuk Artificial Neural Network Menggunakan Binary Particle Swarm Optimization dalam Pemodelan Runtun Waktu Kasus Avian Influenza,” Master thesis, Universitas Gadjah Mada, Yogyakarta, Indonesia, 2016.

G. Lachtermacher and J.D. Fuller, “Backpropagation in Time-Series Forecasting,” J. Forecast., Vol. 14, No. 4, pp. 381-393, Jul. 1995.

F.S. Wong, “Time Series Forecasting Using Back Neural Networks,” Neurocomputing, Vol. 2, No. 4, pp. 147-159, Jul. 1991.

A. Azadeh, M. Sheikhalishahi, M. Tabesh, and A. Negahban, “The Effects of Pre-Processing Methods on Forecasting Improvement of Artificial Neural Networks,” Aust. J. Basic, Appl. Sci., Vol. 5, No. 6, pp. 570-580, Jun. 2011.

S. Anbazhagan and N. Kumarappan, “Day-Ahead Deregulated Electricity Market Price Forecasting Using Neural Network Input Featured by DCT,” Energy Convers., Manage., Vol. 78, No. 2, pp. 711-719, Feb. 2014.

A.S. Nocon and W.F. Scott, “An Extension of the Whittaker–Henderson Method of Graduation,” Scand. Actuar. J., Vol. 2012, No. 1, pp. 70-79, Mar. 2012.

P.H.C. Eilers, “A Perfect Smoother,” Anal. Chem., Vol. 75, No. 14, pp. 3631-3636, May 2003.

H. Abolfazli, S.M. Asadzadeh, and S.M. Asadzadeh, “Forecasting Rail Transport Petroleum Consumption Using an Integrated Model of Autocorrelation Functions-Artificial Neural Network,” Acta Polytech. Hungarica, Vol. 11, No. 2, pp. 203-214, Jan. 2014.

Z. Tang and P.A. Fishwick, “Feedforward Neural Nets as Models for Time Series Forecasting,” ORSA J. Comput., Vol. 5, No. 4, pp. 374-385, Nov. 1993.

P.G. Zhang, E. Patuwo, and M. Y. Hu, “Forecasting with Artificial Neural Networks: The State of the Art,” Int. J. Forecasting, Vol. 14, No. 1, pp. 35-62, Mar. 1998.

S.Y. Kang, “An Investigation of the Use of Feedforward Neural Networks for Forecasting,” Ph.D. dissertation, Kent State University, Ohio, USA, 1991.

How to Cite
Hans Pratyaksa, Adhistya Erna Permanasari, & Silmi Fauziati. (2022). Utilization of Whittaker-Henderson Smoothing Method for Improving Neural Network Forecasting Accuracy. Jurnal Nasional Teknik Elektro Dan Teknologi Informasi, 11(1), 16-22. https://doi.org/10.22146/jnteti.v11i1.3489