|
When using vowpal wabbit for passive learning tasks, it is easy to retain the final model by using the -f flag. However, when this is hooked up to active learning, I can't seem to retain the model once I've finished labelling. I know that VW knows that the final model is as I've named it (as the debug information is displayed below) but even when I've sent VW all of my examples, VW doesn't seem to end and then it doesn't write the weights to a file. So my question is, is there some kind of message you can send the VW server to tell it that you've finished labelling? And is there a way to retain the final model once you've finished labelling? For reference my VW server command was:
And I'm using the python active_interactor.py found in the VW repository using:
|
|
You may save your model by sending a 'command example' to vowpal_wabbit while it is running. A 'command example' starts with a string rather than a numeric label. In this case, the command prefix should be
will save your in memory model into a file Source code reference:
|