Skip to content

Commit c651492

Browse files
authored
DOC: Minor correction to documentation (#975)
* DOC: an predictions -> a prediction * DOC: variables names -> variable names
1 parent 383fb56 commit c651492

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

bambi/interpret/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ def from_param(
366366

367367

368368
class Result(NamedTuple):
369-
"""The result of an predictions, comparisons, or slopes computation.
369+
"""The result of a prediction, comparison, or slope computation.
370370
371371
A `Result` contains a high-level summary dataframe and the original draws (samples)
372372
used to compute that summary.

bambi/models.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class Model:
7878
second a lambda function expressing the desired constraint.
7979
If a constraint involves n variables, you can pass n 2-tuples or pass a tuple which first
8080
element is an n-tuple and second element is a lambda function with n arguments. The number
81-
and order of the lambda function has to match the number and order of the variables names.
81+
and order of the lambda function has to match the number and order of the variable names.
8282
dropna : bool, optional
8383
When `True`, rows with any missing values in either the predictors or outcome are
8484
automatically dropped from t, optionalhe dataset in a listwise manner.
@@ -652,9 +652,9 @@ def plot_priors(
652652
distribution. Defaults to `None` which means to include both observed and
653653
unobserved RVs.
654654
filter_vars : {"like", "regex"} or None, optional
655-
If `None`, interpret `var_names` as the real variables names.
656-
If `"like"`, interpret `var_names` as substrings of the real variables names.
657-
If `"regex"`, interpret `var_names` as regular expressions on the real variables names.
655+
If `None`, interpret `var_names` as the real variable names.
656+
If `"like"`, interpret `var_names` as substrings of the real variable names.
657+
If `"regex"`, interpret `var_names` as regular expressions on the real variable names.
658658
Forwarded to [](`arviz_plots.plot_dist`).
659659
kind : str, optional
660660
Type of plot to display (`"kde"` or `"hist"`). For discrete variables this argument

0 commit comments

Comments
 (0)