Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/vowpal_wabbit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/demo
diff options
context:
space:
mode:
authorPaul Mineiro <paul-github@mineiro.com>2013-12-22 10:11:16 +0400
committerPaul Mineiro <paul-github@mineiro.com>2013-12-22 10:11:16 +0400
commit3988e7f6fc362d6f3c5646f1b486eb07a56ec1c9 (patch)
tree17d490986ee8c09e7e1a1fb4a9c11de946e413f2 /demo
parenta082b50e736b73c9ef379a51c319da1de6236799 (diff)
movielens demo
Diffstat (limited to 'demo')
-rw-r--r--demo/movielens/Makefile2
-rwxr-xr-xdemo/movielens/README.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/demo/movielens/Makefile b/demo/movielens/Makefile
index 54bce202..3edc9ad9 100644
--- a/demo/movielens/Makefile
+++ b/demo/movielens/Makefile
@@ -70,7 +70,7 @@ lrq.results: ml-1m.ratings.test.vw ml-1m.ratings.train.vw
@echo
@${VW} --loss_function quantile -l 0.1 -b 24 --passes 100 \
-k --cache_file $@.cache -d $(word 2,$+) --holdout_off \
- --lrq um5 --adaptive --invariant -f $@.model
+ --l2 1e-6 --lrq um5 --adaptive --invariant -f $@.model
@echo "********************************************************"
@echo "* testing low-rank interaction model (without dropout) *"
@echo "********************************************************"
diff --git a/demo/movielens/README.md b/demo/movielens/README.md
index 05764ce9..5dd61755 100755
--- a/demo/movielens/README.md
+++ b/demo/movielens/README.md
@@ -34,7 +34,7 @@ as without dropout.
### Demo Instructions ###
- `make shootout`: eventually produces three results indicating test MAE (mean absolute error) on movielens-1M for
- linear: a model without any interactions. basically this creates a user bias and item bias fit. this is a surprisingly strong baseline in terms of MAE, but is useless for recommendation as it induces the same item ranking for all users. It achieves test MAE of 0.733 (at the time of this writing).
- - lrq: the linear model augmented with rank-5 interactions between users and movies, aka, "five latent factors". It achieves test MAE of 0.716. I determined that 5 was the best number to use through experimentation. The additional `vw` command-line flag vs. the linear model is `--lrq um5`.
+ - lrq: the linear model augmented with rank-5 interactions between users and movies, aka, "five latent factors". It achieves test MAE of 0.700. I determined that 5 was the best number to use through experimentation. The additional `vw` command-line flag vs. the linear model is `--l2 1e-6 --lrq um5`.
- lrqdropout: the linear model augmented with rank-10 interactions between users and movies, and trained with dropout. It achieves test MAE of 0.693. Dropout effectively halves the number of latent factors, so unsurprisingly 10 factors seem to work best. The additional `vw` command-line flags vs. the linear model are `--lrq um10 --lrqdropout`.
- the first time you invoke `make shootout` there is a lot of other output. invoking it a second time will allow you to just see the cached results.