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

Loss is_smooth attribute #89

Closed
tbalke opened this issue Nov 12, 2021 · 1 comment · Fixed by #184
Closed

Loss is_smooth attribute #89

tbalke opened this issue Nov 12, 2021 · 1 comment · Fixed by #184
Assignees
Labels
improvement Improvement of existing code, including addressing of omissions or inconsistencies
Milestone

Comments

@tbalke
Copy link
Contributor

tbalke commented Nov 12, 2021

Currently PGM requires the losses to be smooth (f.is_smooth = True) in order to run although at the same time some of our losses are not smooth, for example, PoissonLoss.

It is still often possible to run PGM (see Poisson examples and TV example) even though the losses are not smooth everywhere by forcing the is_smooth flag to be true.

I suggest re-thinking the use of is_smooth in conjunction with PGM.

Originally posted by @tbalke in #78 (comment)

@bwohlberg bwohlberg added the discussion required Some discussion necessary to decide how to address this issue label Dec 21, 2021
@bwohlberg bwohlberg added this to the Release 0.0.2 milestone Dec 21, 2021
@tbalke
Copy link
Contributor Author

tbalke commented Jan 14, 2022

Agreement during recent meeting, to just remove the attribute.

@bwohlberg bwohlberg removed the discussion required Some discussion necessary to decide how to address this issue label Jan 18, 2022
tbalke added a commit that referenced this issue Jan 19, 2022
@bwohlberg bwohlberg linked a pull request Jan 20, 2022 that will close this issue
1 task
@bwohlberg bwohlberg added the improvement Improvement of existing code, including addressing of omissions or inconsistencies label Jan 25, 2022
tbalke added a commit that referenced this issue Jan 27, 2022
remove is_smooth attribute (#89)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement of existing code, including addressing of omissions or inconsistencies
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants