Code for the WSDM'17 paper "Multi-Product Utility Maximization for Economic Recommendation"
amazonBabyRegistry directory contains codes for data prepration of the amazonBabyRegister dataset, where raw_transactions are the initially recorded transactions, and new_transactions contain both the real and the manually constructed transactions, by tuning the quantity combinations in a raw transaction while observing to the total budgets of the raw transaction.
The cpp directory contains codes of our model for economic recommendation based on multi-product utiltiy maximization.
We appreciate your citation of the following papers if you use the data or code in this project.
 Qi Zhao, Yongfeng Zhang, Yi Zhang, and Daniel Friedman. "Multi-Product Utility Maximization for Economic Recommendation." In Proceedings of the 10th International Conference on Web Search and Data Mining (WSDM'17). Association for Computing Machinery, 2017.
 Yongfeng Zhang, Qi Zhao, Yi Zhang, Daniel Friedman, Min Zhang, Yiqun Liu, and Shaoping Ma. "Economic Recommendation with Surplus Maximization." In Proceedings of the 25th International Conference on World Wide Web (WWW'16), pp. 73-83. International World Wide Web Conferences Steering Committee, 2016.