Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix to save the state of FTRL models (#1912)
* first version of the KT algorithm * changed from 'kt' to 'approximate cocob' and implemented normalization by average lenght of the feature vectors * variant that works with squared loss * fixed all bugs: works great in binary classification, slightly worse than default one in ooa and cbify * cleaned version, no bias used * bias and fix bug * another bug fix * removed bias and added default params for logistic * prediction is now stateless * added comments * added tests * fix to ftrl state saving * moved ftrl_size to a parameter of save_load_online_state
- Loading branch information
1 parent
61aafc8
commit 538e9bb
Showing
4 changed files
with
31 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters