Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

Commit

Permalink
Expose RVIdentifier in public API (#955)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #955

See #954 (comment)

Reviewed By: horizon-blue

Differential Revision: D30378532

fbshipit-source-id: ca0af33b07aa4681b1abd87be22b3683daa0dc75
  • Loading branch information
Feynman Tsing-Yang Liang authored and facebook-github-bot committed Sep 16, 2021
1 parent 4875411 commit 4bd93f1
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions src/beanmachine/ppl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@
empirical,
simulate,
)
from .model import functional, get_beanmachine_logger, param, random_variable
from .model import (
functional,
get_beanmachine_logger,
param,
random_variable,
RVIdentifier,
)


LOGGER = get_beanmachine_logger()
Expand All @@ -29,23 +35,24 @@
__all__ = [
"CompositionalInference",
"Diagnostics",
"GlobalHamiltonianMonteCarlo",
"GlobalNoUTurnSampler",
"Predictive",
"RejectionSampling",
"RVIdentifier",
"SingleSiteAncestralMetropolisHastings",
"SingleSiteHamiltonianMonteCarlo",
"SingleSiteNewtonianMonteCarlo",
"SingleSiteNoUTurnSampler",
"SingleSiteRandomWalk",
"SingleSiteUniformMetropolisHastings",
"GlobalHamiltonianMonteCarlo",
"GlobalNoUTurnSampler",
"effective_sample_size",
"empirical",
"experimental",
"functional",
"param",
"random_variable",
"effective_sample_size",
"split_r_hat",
"r_hat",
"Predictive",
"empirical",
"random_variable",
"simulate",
"split_r_hat",
]

0 comments on commit 4bd93f1

Please sign in to comment.