# CDL **Repository Path**: millaras/CDL ## Basic Information - **Project Name**: CDL - **Description**: Code for 'Collaborative Deep Learning for Recommender Systems' - SIGKDD - **Primary Language**: Unknown - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-12-10 - **Last Updated**: 2024-06-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README This is the code for CDL (collaborative deep learning). It consists of two parts: a matlab component and a C++ component. To run this code you need to make sure: 0. you have the mult_nor.mat file located in cdl-release/example (can be downloaded from www.wanghao.in/code/cdl-release.rar) 1. you have matlab with GPU support 2. you have installed the GSL library (see www.gnu.org/software/gsl/) After installing GSL, please remember to add the path of the dynamic library (the directory with files like libgsl.so.0.10.0) to LD_LIBRARY_PATH in your .bashrc. Or you can directly change the code in cdl.m around Line 586 where LD_LIBRARY_PATH is exported. To save the pain of handling memory and variables in mex, we directly compiled a C++ program for the updates of U and V and call the program from matlab. If your program runs without trouble, congratulations! If not, you may have to re-compiled the C++ component which is in the folder 'ctr-part'. You will need to install the GSL before doing that. To quickly run the program you can directly call the cdl_main.m. To quickly know what CDL is doing click on collaborative-dl.ipynb (demo in this notenook uses the MXNet-version code, not this matlab/C++ version). MXNet version for simplified CDL: https://github.com/js05212/MXNet-for-CDL. Data: https://www.wanghao.in/data/ctrsr_datasets.rar. Slides: http://wanghao.in/slides/CDL_slides.pdf and http://wanghao.in/slides/CDL_slides_long.pdf. Other implementations (third-party): [Tensorflow code](https://github.com/gtshs2/Collaborative_Deep_Learning) by [gtshs2](https://github.com/gtshs2). [Keras code](https://github.com/zoujun123/Keras-CDL) by [zoujun123](https://github.com/zoujun123). [Python code](https://github.com/xiaoouzhang/Collaborative-Deep-Learning-for-Recommender-Systems) by [xiaoouzhang](https://github.com/xiaoouzhang). #### Reference: [Collaborative Deep Learning for Recommender Systems](http://wanghao.in/paper/KDD15_CDL.pdf) ``` @inproceedings{DBLP:conf/kdd/WangWY15, author = {Hao Wang and Naiyan Wang and Dit{-}Yan Yeung}, title = {Collaborative Deep Learning for Recommender Systems}, booktitle = {SIGKDD}, pages = {1235--1244}, year = {2015} } ```