MCPcopy Create free account
hub / github.com/MichalDanielDobrzanski/DeepLearningPython / total_cost

Method total_cost

network2.py:303–316  ·  view source on GitHub ↗

Return the total cost for the data set ``data``. The flag ``convert`` should be set to False if the data set is the training data (the usual case), and to True if the data set is the validation or test data. See comments on the similar (but reversed) convention

(self, data, lmbda, convert=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

SGDMethod · 0.95

Calls 3

feedforwardMethod · 0.95
vectorized_resultFunction · 0.70
fnMethod · 0.45

Tested by

no test coverage detected