Testing your code
Once a solution seems interesting it's time to test its proper execution within the interface.
# Run a local test in a notebook
crunch.test(force_first_train=True, train_frequency=2)# Run a local test in your terminal
crunch test --no-force-first-train --train-frequency 2Usage: crunch test [OPTIONS]
Test your code locally.
Options:
-m, --main-file TEXT Entrypoint of your code. [default: main.py]
--model-directory TEXT Directory where your model is stored. [default:
resources]
--no-force-first-train Do not force the train at the first loop.
--train-frequency INTEGER Train interval. [default: 1]
--help Show this message and exit.Last updated