{"id":20682270,"url":"https://github.com/dmlc/experimental-mf","last_synced_at":"2025-04-22T12:20:50.245Z","repository":{"id":32863521,"uuid":"36457383","full_name":"dmlc/experimental-mf","owner":"dmlc","description":"cache-friendly multithread matrix factorization","archived":false,"fork":false,"pushed_at":"2016-06-29T04:40:19.000Z","size":61,"stargazers_count":88,"open_issues_count":0,"forks_count":32,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-03-29T15:04:36.076Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dmlc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-28T18:19:20.000Z","updated_at":"2025-02-01T18:58:58.000Z","dependencies_parsed_at":"2022-07-24T17:47:06.000Z","dependency_job_id":null,"html_url":"https://github.com/dmlc/experimental-mf","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmlc%2Fexperimental-mf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmlc%2Fexperimental-mf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmlc%2Fexperimental-mf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmlc%2Fexperimental-mf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmlc","download_url":"https://codeload.github.com/dmlc/experimental-mf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250237851,"owners_count":21397403,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T22:13:11.587Z","updated_at":"2025-04-22T12:20:50.101Z","avatar_url":"https://github.com/dmlc.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fast Matrix Factorization\n\n## Features\n   * Cache-friendly Multithread Matrix Factorization.\n   * Fast Multithread Stochastic Gradient Langevin Dynamics (SGLD) for Matrix Factorization.\n   * Fast Multithread Differentially Private Matrix Factorization.\n   * Matrix Factorization with Adaptive Regularizer.\n\n## Data\nWe support Google's Protobuf as input. Try data/getdata.cc to convert from userwise raw data to protobuf format:\n\n    ./getdata -r [userwise_raw_data] -w [protobuf_binary] --method [protobuf] --size [int]\n  A sample of userwise raw data looks like:\n\n    0:\n    11,5.0\n    21,3.0\n    1:\n    9,5.0\n    12,1.0\n\n  where there are two users '0' and '1'.\n\n  Or if you only have rating wise raw data, you can first convert to a userwise raw data:\n\n    ./getdata -r [rating_wise_raw] -w [userwise_raw_data] --method [userwise] --split [int]\n\n  A sample of rating_wise_raw data with a header looks like:\n\n    100000\n    0,1,5.0\n    0,2,1.0\n  where the header indicates the number of ratings, and follows by user_id, item_id and rating in each line.\n\n## Environment Requirment\n  * GCC 4.9 or higher\n\n    ```bash\n    tar zxf gcc-4.9.2.tar.gz;cd gcc-4.9.2;contrib/download_prerequisites;cd ..;mkdir buildc;cd buildc;../gcc-4.9.2/configure --disable-multilib;make -j 32;sudo make install;cd ..;\n    ```\n  * Intel TBB\n\n    ```bash\n    sudo apt-get install libtbb-dev\n    ```\n  * Google Protobuf\n\n    ```bash\n    sudo apt-get install -y libprotobuf-dev; sudo apt-get install -y protobuf-compiler;\n    ```\n  * Intel MKL\n\n\n## Reference\n[1] [Fast Differentially Private Matrix Factorization](http://arxiv.org/abs/1505.01419). Ziqi Liu, Yu-Xiang Wang, Alex Smola.\n\n[2] Learning recommender systems with adaptive regularization. Steffen Rendle.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmlc%2Fexperimental-mf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmlc%2Fexperimental-mf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmlc%2Fexperimental-mf/lists"}