aac_metrics.classes.spider_max module¶
- class SPIDErMax(
- return_all_scores: bool = True,
- *,
- return_all_cands_scores: bool = False,
- n: int = 4,
- sigma: float = 6.0,
- cache_path: str | Path | None = None,
- java_path: str | Path | None = None,
- tmp_path: str | Path | None = None,
- n_threads: int | None = None,
- java_max_memory: str = '8G',
- timeout: None | int | Iterable[int] = None,
- verbose: int = 0,
Bases:
AACMetric[tuple[SPIDErMaxScores,SPIDErMaxScores] |Tensor]SPIDEr-max class.
For more information, see
spider().- compute() tuple[SPIDErMaxScores, SPIDErMaxScores] | Tensor[source]¶