MCPcopy Create free account
hub / github.com/MultiPath/CopyNet / get_test_data

Function get_test_data

emolga/utils/test_utils.py:4–27  ·  view source on GitHub ↗

classification=True overrides output_shape (i.e. output_shape is set to (1,)) and the output consists in integers in [0, nb_class-1]. Otherwise: float output with shape output_shape.

(nb_train=1000, nb_test=500, input_shape=(10,), output_shape=(2,),
                  classification=True, nb_class=2)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected