Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/geekcomputers/Python
/ get_matrix
Method
get_matrix
ML/src/python/neuralforge/utils/metrics.py:153–154 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
151
}
152
153
def
get_matrix(self) -> np.ndarray:
154
return
self.matrix
155
156
def
accuracy(predictions, targets):
157
correct = (predictions == targets).sum()
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected