piecewise_linear_fit_py
piecewise_linear_fit_py copied to clipboard
Are derivatives avaiable for the objective function...?
Proof of concept using torch autograd methods shows that it should be possible to compute the derivative of the sum-of-squares of the residuals with respect to the breakpoints. https://github.com/cjekel/piecewise_linear_fit_py/blob/torch/examples/get_torch_derivatives.py