I just came across https://github.com/jbytecode/LinRegOutliers which implements other outlier-rejection methods but the API looks specific for linear regression and here we want to be agnostic to what the actually fitting function / model is -- maybe some of this code could be helpful for making more general implementations though.
I just came across https://github.com/jbytecode/LinRegOutliers which implements other outlier-rejection methods but the API looks specific for linear regression and here we want to be agnostic to what the actually fitting function / model is -- maybe some of this code could be helpful for making more general implementations though.