Skip to main content
Log in

Modified dynamic programming approach for offline segmentation of long hydrometeorological time series

  • Original Paper
  • Published:
Stochastic Environmental Research and Risk Assessment Aims and scope Submit manuscript

Abstract

For the offline segmentation of long hydrometeological time series, a new algorithm which combines the dynamic programming with the recently introduced remaining cost concept of branch-and-bound approach is developed. The algorithm is called modified dynamic programming (mDP) and segments the time series based on the first-order statistical moment. Experiments are performed to test the algorithm on both real world and artificial time series comprising of hundreds or even thousands of terms. The experiments show that the mDP algorithm produces accurate segmentations in much shorter time than previously proposed segmentation algorithms.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6

Similar content being viewed by others

Notes

  1. The recursive solution of an entire sequence of minimization problems makes the DP algorithm very attractive for online operation; the same feature, however, is the main difficulty in converting the algorithm to online operation. Indeed, the two inner loops in the Minimization section of the algorithm show that, if a new datum x T+1 is added to the time series, the costs e s,t must be recomputed for every pair (s,t) with s < t ≤ T + 1. Hence, for every new datum T + 1 additional computation must be performed; as T (i.e., the length of the time series) increases the amount of computation required becomes prohibitive, especially for online operation.

  2. Note that here too the assumption of offline segmentation is crucial. Namely, to implement the reduction of upper bound u is possible only if the costs d s,t are known for every value of s,t and, in particular, for t = T, which implies that the final time T is known; this would not be the case for online segmentation.

  3. In previous applications of this data set (Aksoy et al. 2007; Gedikli et al. 2008), the optimal segmentation was mistakenly printed as 14 instead of 16.

  4. All experiments were performed by running a Microsoft Visual Studio 2005 C# implementation of DP and mDP. The executable was run on a Windows PC with HT processor running at 3.00 GHz (CPU) and 2 GB memory (RAM).

References

  • Aksoy H (2007) Hydrological variability of the European part of Turkey. Iran J Sci Technol Trans B 31(B2):225–236

    CAS  Google Scholar 

  • Aksoy H, Unal NE, Gedikli A (2007) Letter to the editor. Stoch Environ Res Risk Assess 21(4):447–449

    Article  Google Scholar 

  • Aksoy H, Unal NE, Alexandrov V, Dakova S, Yoon J (2008a) Hydrometeorological analysis of northwestern Turkey with links to climate change. Int J Climatol 28(8):1047–1060

    Article  Google Scholar 

  • Aksoy H, Gedikli A, Unal NE, Kehagias A (2008b) Fast segmentation algorithms for long hydrometeorological time series. Hydrol Process 22:4600–4608

    Article  Google Scholar 

  • Basseville M, Nikiforov IV (1993) Detection of abrupt changes: theory and application. PRT Prentice Hall, Englewood Cliffs, NJ

  • Buishand TA (1982) Some methods for testing the homogeneity of rainfall records. J Hydrol 58:11–27

    Article  Google Scholar 

  • Dahamsheh A, Aksoy H (2007) Structural characteristics of annual precipitation data in Jordan. Theor Appl Climatol 88(3–4):201–212

    Article  Google Scholar 

  • Dobigeon N, Tourneret JY (2007) Joint segmentation of wind speed and direction using a hierarchical model. Comput Stat Data Anal 51:5603–5621

    Article  Google Scholar 

  • Fortin V, Perreault L, Salas JD (2004) Restropective analysis and forecasting of streamflows using a shifting level models. J Hydrol 296:135–163

    Article  Google Scholar 

  • Gedikli A, Aksoy H, Unal NE (2008) Segmentation algorithm for long time series analysis. Stoch Environ Res Risk Assess 22(3):291–302

    Article  Google Scholar 

  • Gedikli A, Aksoy H, Unal NE (2009) AUG-Segmenter: a user-friendly tool for segmentation of long time series. J Hydroinformatics (in press)

  • Hipel KW, McLeod AI (1994) Time series modelling of water resources and environmental systems. Elsevier, Amsterdam

    Google Scholar 

  • Hubert P (2000) The segmentation procedure as a tool for discrete modeling of hydrometeorological regimes. Stoch Environ Res Risk Assess 14:297–304

    Article  Google Scholar 

  • Hubert P, Carbonnel JP, Chaouche A (1989) Segmentation des series hydrométéorologiques—application à des séries de précipitations et de débits de l’afrique de l’ouest. J Hydrol 110(3–4):349–367

    Article  Google Scholar 

  • Hubert P, Bader J-C, Bendjoudi H (2007) Un siècle de débits annuels du fleuve Sénégal. J Hydrol Sci 52(1):68–73

    Article  Google Scholar 

  • Hughes MK, Graumlich LJ (1996) Climatic variations and forcing mechanisms of the last 2000 years, vol 141. Multi-millenial dendroclimatic studies from the western United States. NATO ASI Series, pp 109–124

  • Kehagias A (2004) A hidden Markov model segmentation procedure for hydrological and environmental time series. Stoch Environ Res Risk Assess 18:117–130

    Article  Google Scholar 

  • Kehagias A, Fortin V (2006) Time series segmentation with shifting means hidden Markov models, Nonlin. Process Geophys 13:339–352

    Article  Google Scholar 

  • Kehagias A, Nidelkou E, Petridis V (2006) A dynamic programming segmentation procedure for hydrological and environmental time series. Stoch Environ Res Risk Assess 20:77–94

    Article  Google Scholar 

  • Kehagias A, Petridis V, Nidelkou E (2007) Reply by the authors to the letter by Aksoy et al. Stoch Environ Res Ris Assess 21:451–455

    Article  Google Scholar 

  • Koutsoyiannis D (2006) Nonstationarity versus scaling in hydrology. J Hydrol 324:239–254

    Article  Google Scholar 

  • Kundzewicz ZW, Robson AJ (2004) Change detection in hydrological records—a review of the methodology. J Hydrol Sci 49(1):7–19

    Article  Google Scholar 

  • Labbé C, Labbé D, Hubert P (2004) Automatic segmentation of texts and corpora. J Quant Linguist 11(3):193–213

    Article  Google Scholar 

  • Morettin PA, Mesquita AR, Rocha JGC (1987) Rainfall at Fortaleza in Brazil revisited. Time Ser Anal Theory Pract 6:67–85 Editor: O.D. Anderson

    Google Scholar 

  • Radziejewski M, Kundzewicz ZW (2004) Detectability of changes in hydrological records. J Hydrol Sci 49(1):39–51

    Article  Google Scholar 

  • Scheffe M (1959) The analysis of variance. Wiley, New York

    Google Scholar 

  • Tsakalias G, Koutsoyiannis D (1999) A comprehensive system for the exploration and analysis of hydrological data. Water Resour Manag 13:269–302

    Article  Google Scholar 

  • Xiong L, Guo S (2004) Trend test and change-point detection for the annual discharge series of the Yangtze River at the Yichang hydrological station. J Hydrol Sci 49(1):99–112

    Article  Google Scholar 

Download references

Acknowledgments

The authors thank the IAHS Secretary General Dr. Pierre Hubert of Université P. & M. Curie, Paris, France, for sharing his software of automatic segmentation algorithm online. The user-friendly version of the algorithms can be supplied to those who show interest and make a request to the authors. This manuscript has been submitted when the second author (H. Aksoy) was working at Leuphana Universität Lüneburg, Campus Suderburg in Germany as an experienced researcher invited by the Alexander von Humboldt Foundation of Germany.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Hafzullah Aksoy.

Appendices

Appendix A (Dynamic Programming)

Appendix B (Modified Dynamic Programming)

Rights and permissions

Reprints and permissions

About this article

Cite this article

Gedikli, A., Aksoy, H., Erdem Unal, N. et al. Modified dynamic programming approach for offline segmentation of long hydrometeorological time series. Stoch Environ Res Risk Assess 24, 547–557 (2010). https://doi.org/10.1007/s00477-009-0335-x

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00477-009-0335-x

Keywords

Navigation