Skip to content

Add robust_log and robust_exp to link functions#74

Merged
simon-hirsch merged 13 commits intomainfrom
robustify_links
Apr 28, 2025
Merged

Add robust_log and robust_exp to link functions#74
simon-hirsch merged 13 commits intomainfrom
robustify_links

Conversation

@simon-hirsch
Copy link
Copy Markdown
Owner

No description provided.

Copy link
Copy Markdown
Collaborator

@BerriJ BerriJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing suspicious found.

@BerriJ BerriJ requested a review from Copilot April 25, 2025 14:31
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request adds robust_log and robust_exp based implementations as well as inverse softplus link functions, expanding the available link function options. The changes include modifications to test definitions, new implementations in softpluslinks.py and robust_math.py, updates to the package’s exports in init.py, and logging improvements in online_gamlss.py.

Reviewed Changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tests/test_link_functions.py Updated test cases to include the new inverse softplus link functions.
src/rolch/link/sqrtlinks.py No changes beyond reordering of link function groups.
src/rolch/link/softpluslinks.py Added InverseSoftPlusLink and InverseSoftPlusShift*Link classes using robust math.
src/rolch/link/robust_math.py Introduced robust_log, robust_exp, and related helper functions for stability.
src/rolch/link/loglinks.py No functional changes; maintained consistency with robust math usage.
src/rolch/link/identitylinks.py No functional changes.
src/rolch/link/init.py Updated module exports; note duplicate entry for SqrtShiftTwoLink.
src/rolch/estimators/online_gamlss.py Added logging message for conditional start values during parameter fitting.
src/rolch/init.py Updated exports to include the new inverse softplus link functions.
docs/links.md Documented the newly added link function options.
Comments suppressed due to low confidence (1)

src/rolch/link/init.py:19

  • Duplicate export of 'SqrtShiftTwoLink' detected. Please remove the redundant entry to keep the module exports clean and consistent.
    "SqrtShiftTwoLink",

Copy link
Copy Markdown
Collaborator

@BerriJ BerriJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can merge this now.

@simon-hirsch simon-hirsch merged commit 6713aa6 into main Apr 28, 2025
23 checks passed
@simon-hirsch simon-hirsch deleted the robustify_links branch April 28, 2025 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants