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

Support for Parameterized SPNs #175

Open
byzakyz opened this issue Jan 28, 2024 · 0 comments
Open

Support for Parameterized SPNs #175

byzakyz opened this issue Jan 28, 2024 · 0 comments
Labels
feature New feature or request

Comments

@byzakyz
Copy link

byzakyz commented Jan 28, 2024

Describe your request

SPNs with some probabilities left undefined as parameters (e.g., p, 1-p). This would allow for the creation of SPNs where nodes are defined with parameters instead of fixed probabilities, like so:
X0 = Categorical(p=p1, scope=0) # p1 is the parameter name

Parameterized log_likelihood Function:
Enhancing the log_likelihood function to operate on parameterized SPNs. The function should be able to return inference results as a function of the parameters (f(p1, ..., pk))

Method for Parameterizing Probabilities in SPNs:
A method that takes an existing SPN and allows users to set some of the probabilities of its nodes as parameters. This would be particularly useful for parameterizing SPNs that have been learned from data.

Briefly explain its use-case

To learn spn from data and paremeterize some of the nodes to create large parameterized networks for benchmarking the computational efficiency and time required for inference across different methods. I am particularly interested in comparing the results for the transformed Markov Chain from the parameterized SPN and how they differ with increased number of parameters.

@byzakyz byzakyz added the feature New feature or request label Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant