Skip to content

Commit

Permalink
fixed docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasrizzo committed Dec 24, 2016
1 parent 23edb65 commit d895045
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion catsim/irt.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def max_info(a: float = 1, b: float = 0, c: float = 0, d: float = 1) -> float:


def max_info_hpc(items: numpy.ndarray):
"""Implementation of :py:func:`max_info` using :py:package:`numpy` and :py:package:`numexpr` in which the theta
"""Implementation of :py:func:`max_info` using :py:mod:`numpy` and :py:mod:`numexpr` in which the theta
value that maximizes the information function for all items is returned in a `numpy.ndarray`.
:param items: array containing the four item parameters.
Expand Down
8 changes: 4 additions & 4 deletions catsim/selection.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ class AStratifiedSelector(StratifiedSelector):
represents the position in the test of the current item the examinee is being
presented.
.. image:: ../docs/alpha-strat.*
.. image:: ../sphinx/alpha-strat.*
:param test_size: the number of items the test contains. The selector uses this parameter
to create the correct number of strata.
Expand Down Expand Up @@ -504,7 +504,7 @@ class AStratifiedBBlockingSelector(StratifiedSelector):
bank, and so on. This method tries to balance the distribution of both
parameters between all strata, after perceiving that they are correlated.
.. image:: ../docs/b-blocking.*
.. image:: ../sphinx/b-blocking.*
:param test_size: the number of items the test contains. The selector uses this parameter to
create the correct number of strata.
Expand All @@ -530,7 +530,7 @@ class MaxInfoStratificationSelector(StratifiedSelector):
non-administered item from stratum :math:`k`, in which :math:`k` represents the
position in the test of the current item the examinee is being presented.
.. image:: ../docs/mis.*
.. image:: ../sphinx/mis.*
This method claims to work better than the :math:`a`-stratified method by
[Chang99]_ for the three-parameter logistic model of IRT, since item difficulty
Expand Down Expand Up @@ -571,7 +571,7 @@ class MaxInfoBBlockingSelector(StratifiedSelector):
positioned in the same place in the proficiency scale in 3PL. This may also
apply, although not mentioned by the authors, for the 4PL.
.. image:: ../docs/mis-b.*
.. image:: ../sphinx/mis-b.*
:param test_size: the number of items the test contains. The selector uses this parameter to
create the correct number of strata.
Expand Down

0 comments on commit d895045

Please sign in to comment.