You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To get a deterministic model, you can pass in a value for the random seed to the fit method; however, there is no way to pass that in from the command line. Could we add an optional parameter to the train function of the CLI?
Also, it would be interesting if the value could be printed when a random value IS chosen.
We're retraining the engine every time we build. Pass rate is about 25% right now, because sometimes the engine is accurate and sometime it isn't. It's be cool to know if a particular range of values correlates with success.
The text was updated successfully, but these errors were encountered:
Hey @Shotgun167 ,
I have done a bit of work to revamp the snips-nlu CLI, and I took the opportunity to add a random_seed parameter to the training CLI:
However, it is not possible in general to print the random_state used as it is an instance of numpy.random.RandomState which cannot be serialized easily.
* Import modules lazily to speed up startup time
* Use argparse instead of plac
* Add random_seed parameter to training CLI
addresses #816
* Fix issue with versions in CLI
* Fix issue with Python2.7
* Add tests for CLI argparser
* Do not import lazily snips_nlu subpackages
* Update Changelog
To get a deterministic model, you can pass in a value for the random seed to the fit method; however, there is no way to pass that in from the command line. Could we add an optional parameter to the train function of the CLI?
Also, it would be interesting if the value could be printed when a random value IS chosen.
We're retraining the engine every time we build. Pass rate is about 25% right now, because sometimes the engine is accurate and sometime it isn't. It's be cool to know if a particular range of values correlates with success.
The text was updated successfully, but these errors were encountered: