MCPcopy Create free account
hub / github.com/lazyprogrammer/machine_learning_examples / load

Method load

ann_class2/tf_with_save.py:121–124  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

119
120 @staticmethod
121 def load(filename):
122 with open(filename) as f:
123 j = json.load(f)
124 return TFLogistic(j['model'], j['D'], j['K'])
125
126
127def main():

Callers 1

mainFunction · 0.45

Calls 1

TFLogisticClass · 0.85

Tested by

no test coverage detected