InstrumentalVariable.build#

InstrumentalVariable.build()[source]#

No-op: IV constructs its graph lazily inside the model’s fit.

Deliberate exception to the “graph inspectable after build() acceptance criterion (issue #1092): InstrumentalVariableRegression fuses graph construction into its fused fit entry point, so pm.model_to_graphviz(exp.model) only becomes meaningful after fit(). Splitting that model into separate build/sample phases is tracked as the IV prior-capability follow-up on issue #1092.

Returns:

The same experiment, for chaining.

Return type:

Self