Skip to content

Commit

Permalink
# pylint: disable=wrong-spelling-in-comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Jun 6, 2024
1 parent 846c280 commit 0cfb8d4
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions mcmc/mcmc_cholesky_vertex.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
.abstract_generates_data_specification \
import AbstractGeneratesDataSpecification
from spinn_front_end_common.interface.ds import DataSpecificationGenerator
# pylint: disable=wrong-spelling-in-comment


class MCMCCholeskyRegions(Enum):
Expand Down
1 change: 1 addition & 0 deletions mcmc_examples/arma/arma.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
from mcmc_examples.arma.arma_float_model import ARMAFloatModel
# from mcmc_examples.lighthouse.lighthouse_fixed_point_model \
# import ARMAFixedPointModel
# pylint: disable=wrong-spelling-in-comment

# Data to use for 1000 data points (read from file)
data_10000 = numpy.loadtxt("data_10000.csv", delimiter=",")
Expand Down
1 change: 1 addition & 0 deletions mcmc_examples/arma/arma_fixed_point_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
from mcmc.mcmc_model import MCMCModel
from mcmc.mcmc_parameter import MCMCParameter
from mcmc.mcmc_state_variable import MCMCStateVariable
# pylint: disable=wrong-spelling-in-comment


class ARMAFixedPointModel(MCMCModel):
Expand Down
9 changes: 9 additions & 0 deletions mcmc_examples/lighthouse/lighthouse_fixed_point_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
from mcmc.mcmc_model import MCMCModel
from mcmc.mcmc_parameter import MCMCParameter
from mcmc.mcmc_state_variable import MCMCStateVariable
# pylint: disable=wrong-spelling-in-comment


class LightHouseFixedPointModel(MCMCModel):
Expand All @@ -39,6 +40,8 @@ def __init__(
scaling of t transition distribution for MH jumps in beta direction
:param beta_min: The minimum value of beta
:param beta_max: The maximum value of beta
:param root_finder: The root_finder value to be used
:param cholesky: The cholesky value to be used
"""

self._alpha_jump_scale = alpha_jump_scale
Expand Down Expand Up @@ -74,8 +77,14 @@ def get_state_variables(self) -> List[MCMCStateVariable]:

@property
def root_finder(self):
"""
The root_finder value passed into the init
"""
return self._root_finder

@property
def cholesky(self):
"""
The cholesky value as passed into the init
"""
return self._cholesky

0 comments on commit 0cfb8d4

Please sign in to comment.