DistRegBuilder.add_response()
DistRegBuilder.add_response()#
- DistRegBuilder.add_response(response, distribution)[source]#
Adds the response to the model builder.
- Parameters
response (
Any
) – The response vector or matrix.distribution (
type
[Union
[Distribution
,Distribution
]]) – The conditional distribution of the response variable. Either a string identifying a TFP distribution, or alternatively, a TFP-compatible distribution class. If a class is provided instead of a string, the user needs to make sure it uses the right NumPy implementation.
- Return type