diff --git a/bob/bio/base/score/load.py b/bob/bio/base/score/load.py index b4c36d662d74bda1a1607dab4ca83b9a8b6d5627..7a5d76cacba631b1ab09f8049773e43f9910cb7f 100644 --- a/bob/bio/base/score/load.py +++ b/bob/bio/base/score/load.py @@ -152,7 +152,7 @@ def cmc_four_column(filename): Returns: - :class:`list`: A list of tuples, where each tuple contains the + :any:`list`: A list of tuples, where each tuple contains the ``negative`` and ``positive`` scores for one probe of the database. Both ``negatives`` and ``positives`` can be either an 1D :py:class:`numpy.ndarray` of type ``float``, or ``None``. @@ -256,7 +256,7 @@ def cmc_five_column(filename): Returns: - :class:`list`: A list of tuples, where each tuple contains the + :any:`list`: A list of tuples, where each tuple contains the ``negative`` and ``positive`` scores for one probe of the database. """ @@ -343,7 +343,7 @@ def cmc(filename, ncolumns=None): Returns: - :class:`list`: [(neg,pos)] A list of tuples, where each tuple contains the + :any:`list`: [(neg,pos)] A list of tuples, where each tuple contains the ``negative`` and ``positive`` scores for one probe of the database. """ diff --git a/bob/bio/base/score/openbr.py b/bob/bio/base/score/openbr.py index e32bdb0e7d01cabd4463412eac6889f312f438d3..51010f7df69e4e2f34782508aa258f46db01d68d 100644 --- a/bob/bio/base/score/openbr.py +++ b/bob/bio/base/score/openbr.py @@ -62,7 +62,7 @@ def write_matrix( Only the scores of the given models will be considered. - probe_names (:py:class:`list`, optional): A list of strings. If given, + probe_names (:any:`list`, optional): A list of strings. If given, the matrix will be written in the same order as the given probe names (the ``path`` of the probe). The probe names are identical to the third column of the 4-column (or the fourth column of the 5-column) @@ -234,13 +234,13 @@ def write_score_file( score_file (str): Path to the 4 or 5 column style score file that should be written. - models_ids (:py:class:`list`, optional): A list of strings with the client + models_ids (:any:`list`, optional): A list of strings with the client ids of the models that will be written in the first column of the score file. If given, the size must be identical to the number of models (gallery templates) in the OpenBR files. If not given, client ids of the model will be identical to the **gallery index** in the matrix file. - probes_ids (:py:class:`list`, optional): A list of strings with the client + probes_ids (:any:`list`, optional): A list of strings with the client ids of the probes that will be written in the second/third column of the four/five column score file. If given, the size must be identical to the number of probe templates in the OpenBR files. It will be checked that @@ -248,7 +248,7 @@ def write_score_file( probe ids will be estimated automatically, i.e., to fit the OpenBR matrix. - model_names (:py:class:`list`, optional): A list of strings with the model + model_names (:any:`list`, optional): A list of strings with the model path written in the second column of the five column score file. If not given, the model index in the OpenBR file will be used. @@ -256,7 +256,7 @@ def write_score_file( This entry is ignored in the four column score file format. - probe_names (:py:class:`list`, optional): A list of probe path to be + probe_names (:any:`list`, optional): A list of probe path to be written in the third/fourth column in the four/five column score file. If given, the size must be identical to the number of probe templates in the OpenBR files. If not given, the probe index in the OpenBR file will be