Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

help with code #24

Open
BayanIbra opened this issue Jan 21, 2019 · 1 comment
Open

help with code #24

BayanIbra opened this issue Jan 21, 2019 · 1 comment

Comments

@BayanIbra
Copy link

How can I run your library? to factorize a matrix in CSV file

@wschin
Copy link
Collaborator

wschin commented Feb 6, 2019

In https://github.com/cjlin1/libmf/tree/master/demo, there are some example files. You need to convert your file into that format; for example,

2 68 -1.0
20 1055 1.0

means user 2 gave item 68 a score -1 and user 20 gave item 1055 a score 1 in a rating matrix where user indexes are row indexes and item indexes are column indexes.
There are also two script files, demo.sh for linux and demo.bat for windows. You can copy-and-paste commands in the two files and the library should just run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants