GaussianVariable.mu
- GaussianVariable.mu()
Returns the mean of the variable, or the intercept of its equation when the variable has parents in a CLG.
- Returns:
The mean (or intercept) of the variable.
- Return type:
float
Example
import pyagrum.clg as gclg
v = gclg.GaussianVariable("X", 1.5, 0.3)
v.mu()
# 1.5
Class