-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f5713aa
commit 7a5bfb2
Showing
1 changed file
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,18 @@ | ||
# Collective Matrix Factorization | ||
This is an implmentation of Collective Matrix Factorization using Newton methond to minimize loss. (Note: This code is modified from Zhongqi Lu.) | ||
This is an implmentation of Collective Matrix Factorization using Newton methond to minimize objective loss. | ||
|
||
# Input Data Format | ||
Each relation is stored as a matrix in coordinate format. That is, it has three columns: row, col, value. | ||
''' | ||
3944,2641,2 | ||
4644,2015,3 | ||
1119,1980,4 | ||
''' | ||
|
||
# Quick Usage | ||
''' | ||
$ Python3 cmf.py | ||
''' | ||
|
||
# Reference | ||
* Singh, Ajit P., and Geoffrey J. Gordon. Relational learning via collective matrix factorization. Proceedings of the 14th ACM SIGKDD international conference on Knowledge discovery and data mining. ACM, 2008. |