pwlf: piecewise linear fitting¶

Fit piecewise linear functions to data!

  • Installation
    • Python Package Index (PyPI)
    • Conda
    • From source
  • How it works
  • Examples
    • fit with known breakpoint locations
    • fit for specified number of line segments
    • fitfast for specified number of line segments
    • force a fit through data points
    • use custom optimization routine
    • pass differential evolution keywords
    • find the best number of line segments
    • model persistence
    • bad fits when you have more unknowns than data
    • fit with a breakpoint guess
    • get the linear regression matrix
    • use of tensorflow
    • fit constants or polynomials
    • specify breakpoint bounds
    • non-linear standard errors and p-values
    • obtain the equations of fitted pwlf
    • weighted least squares fit
    • reproducible results
  • pwlf package contents
    • pwlf.PiecewiseLinFit
    • PiecewiseLinFit
  • About
  • Requirements
  • License

Indices and tables¶

  • Index

  • Search Page

pwlf

Navigation

  • Installation
  • How it works
  • Examples
  • pwlf package contents
  • About
  • Requirements
  • License

Related Topics

  • Documentation overview
    • Next: Installation

Quick search

©2024, Charles Jekel. | Powered by Sphinx 7.3.7 & Alabaster 0.7.16 | Page source