Skip to content
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

Change log(x+1) to log1p(x) in LogTransformer #178

Merged
merged 6 commits into from
Feb 20, 2024
Merged

Conversation

ChaitanMohr
Copy link
Contributor

changed instances of log(x + 1) to log1p(x) which is better conditioned for small x

Copy link
Contributor

@davidhopkinson26 davidhopkinson26 left a comment

Choose a reason for hiding this comment

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

simple change and happy with it.

Could you please add a section to the changelog and increment version.py to 1.2.2. If you look at the raw files for the Changelog.md you should be able to see the correct format to link in the PR and format the section headers etc.

@davidhopkinson26 davidhopkinson26 changed the title Feature/log issue Change log(x+1) to log1p(x) in LogTransformer Feb 20, 2024
Copy link
Contributor

@davidhopkinson26 davidhopkinson26 left a comment

Choose a reason for hiding this comment

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

looks good! happy with changes

@ChaitanMohr ChaitanMohr merged commit 6e32db5 into main Feb 20, 2024
1 check passed
@ChaitanMohr ChaitanMohr deleted the feature/log_issue branch February 20, 2024 16:50
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.

Employ log1p(x) rather than log(1+x) in LogTransformer(..., add_1 = true)
2 participants