Skip to content

Commit 51471a8

Browse files
committed
Error in comments
1 parent 1b6cb01 commit 51471a8

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

CompStats/metrics.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ def macro_f1(y_true, *y_pred, labels=None,
307307
sample_weight=None, zero_division='warn',
308308
num_samples: int=500, n_jobs: int=-1, use_tqdm=True,
309309
**kwargs):
310-
""":py:class:`~CompStats.interface.Perf` with :py:func:`~sklearn.metrics.f1_score` (as :py:attr:`score_func`) with the parameteres needed to compute the macro score. The parameters not described can be found in :py:func:`~sklearn.metrics.macro_f1`
310+
""":py:class:`~CompStats.interface.Perf` with :py:func:`~sklearn.metrics.f1_score` (as :py:attr:`score_func`) with the parameteres needed to compute the macro score. The parameters not described can be found in :py:func:`~sklearn.metrics.f1_score`
311311
312312
:param y_true: True measurement or could be a pandas.DataFrame where column label 'y' corresponds to the true measurement.
313313
:type y_true: numpy.ndarray or pandas.DataFrame
@@ -332,7 +332,7 @@ def macro_recall(y_true, *y_pred, labels=None,
332332
sample_weight=None, zero_division='warn',
333333
num_samples: int=500, n_jobs: int=-1, use_tqdm=True,
334334
**kwargs):
335-
""":py:class:`~CompStats.interface.Perf` with :py:func:`~sklearn.metrics.recall_score` (as :py:attr:`score_func`) with the parameteres needed to compute the macro score. The parameters not described can be found in :py:func:`~sklearn.metrics.macro_recall`
335+
""":py:class:`~CompStats.interface.Perf` with :py:func:`~sklearn.metrics.recall_score` (as :py:attr:`score_func`) with the parameteres needed to compute the macro score. The parameters not described can be found in :py:func:`~sklearn.metrics.recall_score`
336336
337337
:param y_true: True measurement or could be a pandas.DataFrame where column label 'y' corresponds to the true measurement.
338338
:type y_true: numpy.ndarray or pandas.DataFrame
@@ -357,7 +357,7 @@ def macro_precision(y_true, *y_pred, labels=None,
357357
sample_weight=None, zero_division='warn',
358358
num_samples: int=500, n_jobs: int=-1, use_tqdm=True,
359359
**kwargs):
360-
""":py:class:`~CompStats.interface.Perf` with :py:func:`~sklearn.metrics.precision_score` (as :py:attr:`score_func`) with the parameteres needed to compute the macro score. The parameters not described can be found in :py:func:`~sklearn.metrics.macro_precision`
360+
""":py:class:`~CompStats.interface.Perf` with :py:func:`~sklearn.metrics.precision_score` (as :py:attr:`score_func`) with the parameteres needed to compute the macro score. The parameters not described can be found in :py:func:`~sklearn.metrics.precision_score`
361361
362362
:param y_true: True measurement or could be a pandas.DataFrame where column label 'y' corresponds to the true measurement.
363363
:type y_true: numpy.ndarray or pandas.DataFrame

quarto/CompStats.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ execute:
1818
Collaborative competitions have gained popularity in the scientific and technological fields. These competitions involve defining tasks, selecting evaluation scores, and devising result verification methods. In the standard scenario, participants receive a training set and are expected to provide a solution for a held-out dataset kept by organizers. An essential challenge for organizers arises when comparing algorithms' performance, assessing multiple participants, and ranking them. Statistical tools are often used for this purpose; however, traditional statistical methods often fail to capture decisive differences between systems' performance. CompStats implements an evaluation methodology for statistically analyzing competition results and competition. CompStats offers several advantages, including off-the-shell comparisons with correction mechanisms and the inclusion of confidence intervals.
1919
:::
2020

21-
::: {.card title='Installing using conda'}
21+
::: {.card title='Installing using conda' .flow}
2222

2323
`CompStats` can be install using the conda package manager with the following instruction.
2424

@@ -27,7 +27,7 @@ conda install --channel conda-forge CompStats
2727
```
2828
:::
2929

30-
::: {.card title='Installing using pip'}
30+
::: {.card title='Installing using pip' .flow}
3131
A more general approach to installing `CompStats` is through the use of the command pip, as illustrated in the following instruction.
3232

3333
```{sh}

0 commit comments

Comments
 (0)