Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RingBDStack/GDAP
/ __init__
Method
__init__
extraction/predict_parser/predict_parser.py:48–51 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
46
47
class
Metric:
48
def
__init__(self):
49
self.tp = 0.
50
self.gold_num = 0.
51
self.pred_num = 0.
52
53
@staticmethod
54
def
safe_div(a, b):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected