Neural nets

Neural nets#

sbi.neural_nets.classifier_nn

Returns a function that builds a classifier for learning density ratios.

sbi.neural_nets.likelihood_nn

Returns a function that builds a density estimator for learning the likelihood.

sbi.neural_nets.marginal_nn

Returns a function that builds a density estimator for learning the marginal.

sbi.neural_nets.posterior_flow_nn

Build util function that builds a FlowMatchingEstimator object for flow-based posteriors.

sbi.neural_nets.posterior_nn

Returns a function that builds a density estimator for learning the posterior.

sbi.neural_nets.posterior_score_nn

Build util function that builds a ScoreEstimator object for score-based posteriors.