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

Function avg_darknesses

mnist_average_darkness.py:39–52  ·  view source on GitHub ↗

Return a defaultdict whose keys are the digits 0 through 9. For each digit we compute a value which is the average darkness of training images containing that digit. The darkness for any particular image is just the sum of the darknesses for each pixel.

(training_data)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected