Skip to content

Conversation

@rmnldwg
Copy link
Collaborator

@rmnldwg rmnldwg commented May 27, 2025

No description provided.

rmnldwg added 11 commits March 19, 2025 13:56
This is actually for LyProX: I want to display the social card of all
repos in the lycosystem on LyProX's landing page. Therefore, they all
need to be in their expected places.
Since Python's expression `a = b or c` will assign `c` to `a` as soon as
`b` is "falsy", e.g. also when `b = 0.0`, I should not use this to check
if a parameter in the model is `None`.
In some cases, initializing with 0.0 may have unintended consequences.
E.g., a probability of 0.0 cannot be renormalized.
0.5 is the new initial value for most parameters, so it does not make
sense to use this to check if upon changing a parameter, the transition
matrix gets deleted.
@rmnldwg rmnldwg merged commit 65178c5 into main May 27, 2025
3 checks passed
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.

2 participants