Run
In summary, we have constructed the four basic pieces of spock.
- A
spockclass that defines our parameters (Basics) - Generated the
spocknamespace object (Building) - Referenced
spockparameters in other code (Building) - Created a configuration file (Configuration Files)
Now we can run our basic neural network example.
Running Our Code#
To run tutorial.py we pass the path to the configuration file as a command line argument:
python tutorial.py --config tutorial.yamlHelp#
To get help for parameters need to run our tutorial.py script:
python tutorial.py --helpThe complete basic example can be found here.