Testing your code
Once a solution seems interesting it's time to test its proper execution within the interface.
The crunch test command allows you to perform a local test of your code, on the public test set provided by the organizer. This test set is purposefully very small and will not be taken into account for the scoring on the public leaderboard.
This function of the crunch package will run your code locally, simulating how it is called in the cloud
You can set up the retraining frequency as you wish
A training frequency of 2 means that the system will retrain your model every two dates
In a notebook,
force_first_train=True
indicates that your model will be trained on the first date of the test setSimilarly,
--no-force-first-train
controls the same parameter for terminal calls to the function (Note that in this case, using this flag will do the opposite asforce_first_train=True
in the notebook case)
Last updated