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

Reuse ProductReplacement initialisation data via homomorphisms #290

Open
ssiccha opened this issue Aug 25, 2021 · 0 comments
Open

Reuse ProductReplacement initialisation data via homomorphisms #290

ssiccha opened this issue Aug 25, 2021 · 0 comments

Comments

@ssiccha
Copy link
Collaborator

ssiccha commented Aug 25, 2021

ProductReplacement initialisation might be expensive. So instead of recomputing that for every node, we can do it once for the root node and then move it around as follows. The initialisation data is simply a list of group elements. Let initSplit be the initialisation data for a splitting node. Then the initialisation data of the ImageRecogNode can be obtained by mapping every entry of initSplit under the homomorphism of the splitting node. The data for the kernel can then be generated by taking for an entry x of initSplit, taking a preimage y of its image under the homomorphism and taking the factor x / y.

Two questions:

  • is this faster than initialising PR for each node? Maybe computing the images is too expensive.
  • does this introduce dependencies between previously independent stochastic variables which break things?

(TODO I need to explain this better: One thing to keep in mind: be careful to set the SLPs correctly. There is a location where SLPs of the gens are deleted)

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

No branches or pull requests

1 participant