-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Address comments on RobustCostFunction implementation #213
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mhmukadam Added responses to the original comments on #148 for quick reference.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM except for some minor comments about where to put log_radius
and raidus
.
4c69af6
to
f31aa06
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
…at of the base cost function.
@mhmukadam Fixed your last comments. I also added another commit that makes |
8386c43
to
517df1b
Compare
517df1b
to
3fd1140
Compare
…ch#213) * Added EPS constants for robust cost and loss. * Renamed Loss -> RobustLoss. * Changed RobustLoss methods so they receive log radius instead of radius. * Added unit test file for RobustCostFunction. Still WIP. * Added unit test for RobustCostFunction's weighted jacobians and errors method. * Removed NotImplementedError from error() and jacobian() and add warning. * Made RobustCostFunction's cost weight a property that redirects to that of the base cost function. * Minor fixes. * Increased tolerance for RobustCostFunction jacobians test. * Minor import fix. * Moved loss.py to robust_loss.py
This addresses some comments made in #148 after merging.