Slides and Code for NY R Users Meetup on January 9, 2020, presented by Adam Lauretig.
Files are as follows:
-
simulate_fm.R
: code to generate data from a factorization machine. -
simulate_data_for_talk.R
: code to generate the simulated datasets used in the presentation -
fit_fm_model_1.R
,stan_fm_1.stan
: The basic$N(0, 1)$ factorization machines. -
fit_fm_model_2.R
,stan_fm_2.stan
: The hierarchical factorization machines. -
fit_fm_model_3.R
,stan_fm_3.stan
: The Fearon & Laitin replication, usingrepdata.dta
, and code to visualize latent factors. -
lauretig_talk_slides.pdf
: Talk slides