https://github.com/adamlauretig/ny_r_talk
Slides and Code for NY R Users Meetup on January 9, 2020, "A Common Model, Separated by Two Disciplines: Bayesian Factorization Machines with Stan and R" presented by Adam Lauretig
https://github.com/adamlauretig/ny_r_talk
Last synced: 3 months ago
JSON representation
Slides and Code for NY R Users Meetup on January 9, 2020, "A Common Model, Separated by Two Disciplines: Bayesian Factorization Machines with Stan and R" presented by Adam Lauretig
- Host: GitHub
- URL: https://github.com/adamlauretig/ny_r_talk
- Owner: adamlauretig
- Created: 2019-12-18T01:48:55.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-11-13T20:21:32.000Z (over 1 year ago)
- Last Synced: 2024-08-13T07:13:32.983Z (6 months ago)
- Language: R
- Homepage:
- Size: 14.3 MB
- Stars: 10
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - adamlauretig/ny_r_talk - Slides and Code for NY R Users Meetup on January 9, 2020, "A Common Model, Separated by Two Disciplines: Bayesian Factorization Machines with Stan and R" presented by Adam Lauretig (R)
README
# Bayesian Factorization Machines in R and Stan
Slides and Code for NY R Users Meetup on January 9, 2020, presented by Adam Lauretig.Files are as follows:
1. `simulate_fm.R`: code to generate data from a factorization machine.
2. `simulate_data_for_talk.R`: code to generate the simulated datasets used in the presentation
3. `fit_fm_model_1.R`, `stan_fm_1.stan`: The basic $N(0, 1)$ factorization machines.
4. `fit_fm_model_2.R`, `stan_fm_2.stan`: The hierarchical factorization machines.
5. `fit_fm_model_3.R`, `stan_fm_3.stan`: The Fearon & Laitin replication, using `repdata.dta`, and code to visualize latent factors.
6. `lauretig_talk_slides.pdf`: Talk slides