MCPcopy Create free account
hub / github.com/alexrame/fishr / update

Method update

domainbed/algorithms.py:67–75  ·  view source on GitHub ↗

Perform one update step, given a list of (x, y) tuples for all environments. Admits an optional list of unlabeled minibatches from the test domains, when task is domain_adaptation.

(self, minibatches, unlabeled=None)

Source from the content-addressed store, hash-verified

65 self.hparams = hparams
66
67 def update(self, minibatches, unlabeled=None):
68 """
69 Perform one update step, given a list of (x, y) tuples for all
70 environments.
71
72 Admits an optional list of unlabeled minibatches from the test domains,
73 when task is domain_adaptation.
74 """
75 raise NotImplementedError
76
77 def predict(self, x):
78 raise NotImplementedError

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected