Skip to main content

On fast and simple algorithms for finding Maximal subarrays and applications in learning theory

  • Conference paper
  • First Online:
Computational Learning Theory (EuroCOLT 1997)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 1208))

Included in the following conference series:

Abstract

Consider the following problem SUB(k, n). Given an array A = (a 1,..., an) of real elements a i and a natural number k, find (at most) k disjoint subarrays A 1,...,Ak in A such that the sum of the elements contained in the subarrays is maximum.

In this paper, we present a simple algorithm, based on Dynamic Programming, solving SUB(k, n) in time O(kn). Extracting the main idea of the dynamic programming scheme, we are able to extend the algorithm such that it is applicable for a wider class of related optimization problems. We show efficient applications of this algorithm in the area of agnostic learning by means of minimum disagreement, such as learning k intervals or identifying objects in a pixel matrix. In particular, the algorithm enables us to generate optimal functions inside a special class of piecewise constant functions. In restricted settings, our algorithm is better by a factor of sample-size-order compared to solutions induced by the dynamic scheme presented in [5].

Furthermore, we develop a generalization of a tree data structure introduced in [1]. Using this tree structure, we can solve corresponding online learning tasks efficiently.

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

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Peter Auer, Robert C. Holte, Wolfgang Maass. Theory and Applications of Agnostic PAC-Learning with Small Decision Trees. Proceedings of the 12th International Conference on Machine Learning, 1995.

    Google Scholar 

  2. Anselm Blumer, Andrej Ehrenfeucht, David Haussler, Manfred K. Warmuth. Learnability and the Vapnik-Chervonenkis Dimensíon. Journal of the Association for Computing Machinery, 36, 1989, p. 929–965.

    Google Scholar 

  3. Truxton Fulton, Simon Kasif, Steven Salzberg. Efficient Algorithms for Finding Multi-way Splits for Decision Trees. Proceedings of the 12th International Conference on Machine Learning, 1995, p. 244–251.

    Google Scholar 

  4. Michael Kearns, Yishay Mansour, Andrew Y. Ng, Dana Ron. An Experimental and Theoretical Comparison of Model Selection Methods. Proceedings of the 8th Annual Conference on Computation Learning Theory, 1995. p. 21–30.

    Google Scholar 

  5. Michael Kearns, Robert E. Schapire, Linda M. Sellie. Towards Efficient Agnostic Learning. Machine Learning, 17, 1994, p. 115–141.

    Google Scholar 

  6. Wolfgang Maass. Efficient Agnostic PAC-Learning with Simple Hypotheses. Proceedings of the 7th Annual Conference on Computation Learning Theory, 1994.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Shai Ben-David

Rights and permissions

Reprints and permissions

Copyright information

© 1997 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Birkendorf, A. (1997). On fast and simple algorithms for finding Maximal subarrays and applications in learning theory. In: Ben-David, S. (eds) Computational Learning Theory. EuroCOLT 1997. Lecture Notes in Computer Science, vol 1208. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-62685-9_17

Download citation

  • DOI: https://doi.org/10.1007/3-540-62685-9_17

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-62685-5

  • Online ISBN: 978-3-540-68431-2

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics