Skip to content

Commit

Permalink
rename rho to drift
Browse files Browse the repository at this point in the history
  • Loading branch information
LegrandNico committed Oct 2, 2023
1 parent 95b3a3d commit c876298
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/pyhgf/updates/prediction_error/continuous.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def prediction_error_mean_volatility_parent(
Returns
-------
mu_volatility_parent :
The updated value for the mean of the value parent (:math:`\\pi`).
The updated value for the mean of the value parent (:math:`\\mu`).
"""
# Get the current expected mean for the volatility parent
Expand Down
6 changes: 3 additions & 3 deletions tests/test_binary.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def test_update_binary_input_parents(self):
"kappas_children": None,
"mu": 1.0,
"omega": 1.0,
"rho": 0.0,
"drift": 0.0,
}
node_parameters_2 = {
"pihat": 1.0,
Expand All @@ -77,7 +77,7 @@ def test_update_binary_input_parents(self):
"kappas_children": None,
"mu": 1.0,
"omega": 1.0,
"rho": 0.0,
"drift": 0.0,
}
node_parameters_3 = {
"pihat": 1.0,
Expand All @@ -89,7 +89,7 @@ def test_update_binary_input_parents(self):
"kappas_children": (1.0,),
"mu": 1.0,
"omega": 1.0,
"rho": 0.0,
"drift": 0.0,
}

edges = (
Expand Down
12 changes: 6 additions & 6 deletions tests/test_continuous.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def test_continuous_node_update(self):
"kappas_children": None,
"mu": 1.0,
"omega": 1.0,
"rho": 0.0,
"drift": 0.0,
}
node_parameters_2 = {
"pihat": 1.0,
Expand All @@ -51,7 +51,7 @@ def test_continuous_node_update(self):
"kappas_children": None,
"mu": 1.0,
"omega": 1.0,
"rho": 0.0,
"drift": 0.0,
}
attributes = (
input_node_parameters,
Expand Down Expand Up @@ -110,7 +110,7 @@ def test_continuous_input_update(self):
"kappas_children": None,
"mu": 1.0,
"omega": 1.0,
"rho": 0.0,
"drift": 0.0,
}
node_parameters_2 = {
"pihat": 1.0,
Expand All @@ -122,7 +122,7 @@ def test_continuous_input_update(self):
"kappas_children": (1.0,),
"mu": 1.0,
"omega": 1.0,
"rho": 0.0,
"drift": 0.0,
}
attributes = (
input_node_parameters,
Expand Down Expand Up @@ -192,7 +192,7 @@ def test_scan_loop(self):
"kappas_children": None,
"mu": 1.0,
"omega": -3.0,
"rho": 0.0,
"drift": 0.0,
}
node_parameters_2 = {
"pihat": 1.0,
Expand All @@ -204,7 +204,7 @@ def test_scan_loop(self):
"kappas_children": (1.0,),
"mu": 1.0,
"omega": -3.0,
"rho": 0.0,
"drift": 0.0,
}

attributes = (
Expand Down
4 changes: 2 additions & 2 deletions tests/test_networks.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def test_beliefs_propagation(self):
"kappas_children": None,
"mu": 1.0,
"omega": -3.0,
"rho": 0.0,
"drift": 0.0,
}
node_parameters_2 = {
"pihat": 1.0,
Expand All @@ -50,7 +50,7 @@ def test_beliefs_propagation(self):
"kappas_children": (1.0,),
"mu": 1.0,
"omega": -3.0,
"rho": 0.0,
"drift": 0.0,
}
edges = (
Indexes((1,), None, None, None),
Expand Down

0 comments on commit c876298

Please sign in to comment.