You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: unify build_posterior in base class for all trainers (#1610)
* fix: spelling update
* refactor(NeuralInference): define methods for building the posterior
* refactor(nle): update build_posterior method to use parent class implementation
* refactor(npe): update build_posterior method to use parent class implementation
* refactor(nre): update build_posterior method to use parent class implementation
* refactor(npse): implement required abstract method from parent class
* refactor(npse, fmpe): remove and replace build_posterior method with superclass method
* refactor: update build_posterior estimator annotation
* refactor: move _get_potential_function method from build_posterior to _create_posterior
* refactor: update _get_potential_function return type
* refactor: Update conditional arrangement for _create_posterior
* docs: update vector_field_potential docstring
* test(build_posterior): raise error for invalid density_estimator
* refactor(build_posterior): move estimator and prior checking into helper functions
* refactor: rearrange method order
* refactor: remove comment and update return type for abstract method train
* refactor: update method ordering for trainer classes to follow convention
* refactor(FMPE, NPSE): add vectorfield_sampling_parameters parameter
* test: update NRE_A to NRE base class
* test(FMPE, NPSE): add vectorfield_sampling_parameters to build_posterior argument
Copy file name to clipboardExpand all lines: docs/tutorials/00_getting_started.ipynb
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -117,7 +117,7 @@
117
117
"cell_type": "markdown",
118
118
"metadata": {},
119
119
"source": [
120
-
"The `sbi` toolbox uses neural networks to learn the relationship between parameters and data. In this exampmle, we will use neural perform posterior estimation (NPE). To run NPE, we first instatiate a trainer, which we call `inference`:"
120
+
"The `sbi` toolbox uses neural networks to learn the relationship between parameters and data. In this example, we will use neural perform posterior estimation (NPE). To run NPE, we first instatiate a trainer, which we call `inference`:"
0 commit comments