The main module includes the Fit function, which runs the bootstrap restarting algorithm.
.. automodule:: piecewise_regression.main :members:
The model selection module is experimental. It compares models with different n_breakpoints using the Bayesian Information Criterion.
.. automodule:: piecewise_regression.model_selection :members: