Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cure-lab/deep-active-learning
/ update
Method
update
utils.py:35–39 ·
view source on GitHub ↗
(self, val, n=1)
Source
from the content-addressed store, hash-verified
33
self.count = 0
34
35
def
update(self, val, n=1):
36
self.val = val
37
self.sum += val * n
38
self.count += n
39
self.avg = self.sum / self.count
40
41
42
Callers
12
train
Method · 0.95
train
Method · 0.95
train
Method · 0.95
train
Method · 0.95
train
Method · 0.95
train
Method · 0.95
train
Method · 0.95
train
Method · 0.95
_train
Method · 0.95
train
Method · 0.95
train
Method · 0.95
main
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected