Skip to content

Continuous intermediate variables + population dynamics#151

Open
FedericoFlorio wants to merge 183 commits intostecrotti:mainfrom
FedericoFlorio:reframe
Open

Continuous intermediate variables + population dynamics#151
FedericoFlorio wants to merge 183 commits intostecrotti:mainfrom
FedericoFlorio:reframe

Conversation

@FedericoFlorio
Copy link
Copy Markdown
Contributor

Here, two features are introduced:

  1. The possibility to perform population dynamics updates on a pupolation of messages
  2. The possibility to define Tensor Trains for continuous variables, expanded in the Fourier basis. These are used in the MPBP updates for the Glauber Ising dynamics, where continuous "y" variables are employed to treat factors with real and disordered couplings with their neighbors.

@FedericoFlorio
Copy link
Copy Markdown
Contributor Author

The problem with these tests is that the new version of TensorTrains (my last merge) is not loaded here.

λ :: Vector{F}
ρ :: Vector{F}
α :: Vector{F}
λ :: SparseMatrixCSC{F} # infection probabilities
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

I'll do some nitpicking (as @abraunst would say :) ) and point out that if we're storing lambda as a matrix we don't really need the graph anymore.
If you feel like changing it it would be clearner, otherwise no big deal

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes, I guess we can leave this file as it is.
Frankly, I did not intend to modify this, I think I messed up a bit with the rebase.
I guess I cannot edit the PR, can you?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Just push changes to your branch, the PR gets automatically updated.

@stecrotti
Copy link
Copy Markdown
Owner

I can release a new version of TensorTrains with your updates in it. After that you'll need to update this PR by setting the dependency of MPBP on Tensor Trains at the new version.

Should i merge and include stecrotti/TensorTrains.jl#92 in the release?

@FedericoFlorio
Copy link
Copy Markdown
Contributor Author

I think so. But let's wait @abraunst

@abraunst
Copy link
Copy Markdown
Collaborator

I think so. But let's wait @abraunst

It's not needed for this PR, but indeed it would be nice to have stecrotti/TensorTrains.jl#92 in the release.

@abraunst
Copy link
Copy Markdown
Collaborator

I think so. But let's wait @abraunst

It's not needed for this PR, but indeed it would be nice to have stecrotti/TensorTrains.jl#92 in the release.

done :)

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