{"id":15870995,"url":"https://github.com/rayraegah/recsys","last_synced_at":"2025-10-14T18:33:25.824Z","repository":{"id":119164796,"uuid":"188142130","full_name":"Rayraegah/recsys","owner":"Rayraegah","description":"Recommendation system using factorization machine","archived":false,"fork":false,"pushed_at":"2019-05-23T01:53:45.000Z","size":33,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T22:32:02.369Z","etag":null,"topics":["factorization-machines","python","recommender-system"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Rayraegah.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-23T01:50:56.000Z","updated_at":"2021-11-16T14:25:09.000Z","dependencies_parsed_at":"2023-03-24T10:34:24.740Z","dependency_job_id":null,"html_url":"https://github.com/Rayraegah/recsys","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"e5079feed2605e6e5770709ef83717e28b233f6a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Rayraegah/recsys","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rayraegah%2Frecsys","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rayraegah%2Frecsys/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rayraegah%2Frecsys/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rayraegah%2Frecsys/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rayraegah","download_url":"https://codeload.github.com/Rayraegah/recsys/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rayraegah%2Frecsys/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279020352,"owners_count":26086866,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["factorization-machines","python","recommender-system"],"created_at":"2024-10-06T00:41:18.350Z","updated_at":"2025-10-14T18:33:25.782Z","avatar_url":"https://github.com/Rayraegah.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"FACTORIZATION MACHINE\n-------  \nFactorization Machine implementation in tensorflow 1.12.0.  \nUse the reference training code on-the-fly using the following command:  \n\n```\n#--------------------------how to train----------------------------#\n./train.sh \u003ctraining_path\u003e \u003cvalidation_path\u003e \u003csave_model_dir\u003e \u003cbatch_size\u003e \u003cembedding_size\u003e \\\n           \u003coptimizer [adagrad, adam]\u003e \u003clr\u003e \u003ctask [finish, like]\u003e \u003ctrack [1, 2]\u003e  \n```\n \nCODE STRUCTURE\n--------------  \n\n\u003cpre\u003e\u003ccode\u003e \n#--------------------------run script------------------------------#\ntrain.sh  \n\n#----------------------------train---------------------------------#\ntrain.py  \n\n#------------------------common operation--------------------------#\ncommon/  \n  \u0026nbsp; \u0026nbsp; \u0026nbsp; model_args.py  \n  \n#--------convert input text data into tensorflow batch need--------#\ndata_io/  \n \u0026nbsp; \u0026nbsp; \u0026nbsp; data_parser.py  \n\n#-------------prepare model and build up main framework------------#\nmodels/  \n \u0026nbsp; \u0026nbsp;\u0026nbsp;  model.py  \n\n#---------------common algorithm and models for recom--------------#\nmodel_zoo/  \n \u0026nbsp; \u0026nbsp; \u0026nbsp; fm.py  \n\n#-----------------utils for str or data processing-----------------#\nutils/  \n \u0026nbsp; \u0026nbsp; \u0026nbsp; utils.py\n \u003c/code\u003e\u003c/pre\u003e\n\n\nALGORITHM: FACTORIZATION MACHINE\n--------------------------------\n\n![image](images/fm.jpg)\n\nBASELINE\n-------  \nOur baseline results with 5 features (user_id, user_city, item_id，author_id，item_city):   \n\n  * TRACK2 LIKE TASK: \n  ```  \n    auc: 86.5% \n    #------------------------params-------------------------#\n    embedding_size = 40\n    optimizer = adam  \n    lr = 0.0005\n  ```\n  * TRACK FINISH TASK: \n  ```  \n    auc: 69.8% \n    #------------------------params-------------------------#\n    embedding_size = 40\n    optimizer = adam   \n    lr = 0.0001\n  ```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frayraegah%2Frecsys","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frayraegah%2Frecsys","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frayraegah%2Frecsys/lists"}