jbytecode / LinRegOutliers

Direct and robust methods for outlier detection in linear regression
MIT License
44 stars 6 forks source link

Implement multiple dispatch for ransac for issue 14 #17

Closed tantei3 closed 4 years ago

tantei3 commented 4 years ago

ransac algorithm has been modified to support mulitiple dispatch for (y, X) and use interal ols methods instead of GLM package.

The existing test case passes so there shouldn't be any new introduced errors. One thing though was that initially ols encountered singularity exception, and I had to wrap the calls to it in a try-catch block. I don't think ols is supposed to throw an exception there though. Maybe if ols uses pinv then it can be handled better?