ResearchTrend.AI
  • Papers
  • Communities
  • Events
  • Blog
  • Pricing
Papers
Communities
Social Events
Terms and Conditions
Pricing
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 1905.02149
8
1
v1v2 (latest)

Efficient Second-Order Shape-Constrained Function Fitting

6 May 2019
D. Durfee
Yu Gao
Anup B. Rao
Sebastian Wild
ArXiv (abs)PDFHTML
Abstract

We give an algorithm to compute a one-dimensional shape-constrained function that best fits given data in weighted-L∞L_{\infty}L∞​ norm. We give a single algorithm that works for a variety of commonly studied shape constraints including monotonicity, Lipschitz-continuity and convexity, and more generally, any shape constraint expressible by bounds on first- and/or second-order differences. Our algorithm computes an approximation with additive error ε\varepsilonε in O(nlog⁡Uε)O\left(n \log \frac{U}{\varepsilon} \right)O(nlogεU​) time, where UUU captures the range of input values. We also give a simple greedy algorithm that runs in O(n)O(n)O(n) time for the special case of unweighted L∞L_{\infty}L∞​ convex regression. These are the first (near-)linear-time algorithms for second-order-constrained function fitting. To achieve these results, we use a novel geometric interpretation of the underlying dynamic programming problem. We further show that a generalization of the corresponding problems to directed acyclic graphs (DAGs) is as difficult as linear programming.

View on arXiv
Comments on this paper