Skip to content

Commit

Permalink
(Issue #114) Fix typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
jared321 committed Sep 17, 2024
1 parent 4eb2e43 commit ff4c40c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/Taweret/core/base_mixer.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def prior(self):
@abstractmethod
def set_prior(self):
'''
User must provide function that sets a member varibale called
User must provide function that sets a member variable called
``_prior``.
Dictionary of prior distributions. Format should be compatible with
sampler.
Expand Down Expand Up @@ -230,8 +230,8 @@ def train(self):
'''
Run sampler to learn parameters. Method should also create class
members that store the posterior and other diagnostic quantities
import for plotting
MAP values should also caluclate and set as member variable of
important for plotting
MAP values should also calculate and set as member variable of
class
Return:
Expand Down
5 changes: 2 additions & 3 deletions src/Taweret/core/base_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ def evaluate(self, model_parameters):
@abstractmethod
def log_likelihood_elementwise(self):
r'''
Calculate log_likelihood for array of points given, and return with
array with same shape[0]
Calculate log_likelihood for array of points given
Returns:
--------
Expand All @@ -61,7 +60,7 @@ def log_likelihood_elementwise(
@abstractmethod
def set_prior(self):
'''
User must provide function that sets a member varibale called _prior.
User must provide function that sets a member variable called _prior.
Dictionary of prior distributions. Format should be compatible with
sampler.
Expand Down
2 changes: 1 addition & 1 deletion src/Taweret/mix/trees.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def set_prior(
:param float base:
The base parameter in the tree prior.
:param float overallsd:
An initial estimate of the erorr standard deviation.
An initial estimate of the error standard deviation.
This value is used to calibrate the scale parameter in
variance prior.
:param float overallnu:
Expand Down

0 comments on commit ff4c40c

Please sign in to comment.