Open cjekel opened 4 years ago
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
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