MCPcopy Create free account
hub / github.com/InternScience/SpectrumLab / _extract_prediction

Method _extract_prediction

spectrumlab/evaluator/base.py:18–19  ·  view source on GitHub ↗
(self, response: str, item: Dict)

Source from the content-addressed store, hash-verified

16
17 @abstractmethod
18 def _extract_prediction(self, response: str, item: Dict) -> str:
19 pass
20
21 @abstractmethod
22 def _calculate_accuracy(self, answer: str, prediction: str, item: Dict) -> bool:

Callers 2

evaluateMethod · 0.95
evaluate_manyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected