![](/img/trans.png)
[英]Is learning rate automatically decreased between passes when vw LDA is run with `--save_resume`
[英]When we specify “--algorithms=sgd” in vw-hyperopt, does it run with adaptive, normalised and invariant updates?
混淆是因為當我們在 vw 命令行中指定 --sgd 時,它運行經典的 sgd,沒有自適應、規范化和不變的更新。 那么,當我們在 vw-hyperopt 中將算法指定為 sgd 時,它是作為經典運行還是帶有特殊更新? 是否必須在 vw-hyperopt 中指定算法? 哪個是默認算法? 謝謝你。
查看源代碼確認這里--algorithm sgd
的含義只是--algorithm sgd
默認值。
這與vw --sgd
不同。 它不會通過將--sgd
傳遞給vw
來禁用默認值。 IOW:是的,自適應、標准化和不變的更新仍然有效。
另外:您可以通過查看當前目錄中由vw-hyperopt
創建的日志文件來進一步驗證這一點,並驗證其中沒有--sgd
選項。 此日志包括它為訓練和測試而執行的完整vw
命令行,例如:
2020-09-08 00:58:45,053 INFO [root/vw-hyperopt:239]: executing the following command (training): vw -d mydata.train -f ./current.model --holdout_off -c ... --loss_function quantile
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.