Skip to content

Commit 3a72e17

Browse files
committed
Docs
1 parent 1846728 commit 3a72e17

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

causal_testing/discovery/hill_climber_discovery.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ def evaluate_fitness(
6868
Evaluate the fitness of a given causal DAG by evaluating the corresponding test cases using a tier based
6969
fitness metric.
7070
lexicographical order (max pass, minimise failure, minimise unknown)
71-
e.g. (X pass, Y fail, Z+1 unknown) is better than (X pass, Y+1 fail, Z unknown)
72-
71+
e.g. (X pass, Y fail, Z+1 unknown) is better than (X pass, Y+1 fail, Z unknown)
7372
7473
:param individual: The candidate individual to evaluate.
7574
:returns: Tuple of the form (X, Y), where X is a triple containing the number of passing, failing, and

docs/source/modules/estimators.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,18 @@ LogisticRegressionEstimator
3030
:show-inheritance:
3131
:noindex:
3232

33+
MultinomialRegressionEstimator
34+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
35+
36+
**Recommended use:** For categorical outcomes (e.g. colurs: Red, Green, Blue).
37+
38+
.. autoclass:: causal_testing.estimation.multinomial_regression_estimator.MultinomialRegressionEstimator
39+
:members:
40+
:exclude-members: from_formula, regressor
41+
:undoc-members:
42+
:show-inheritance:
43+
:noindex:
44+
3345
CubicSplineRegressionEstimator
3446
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3547

0 commit comments

Comments
 (0)