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

跑social related algorithm 报exception #278

Closed
xiayank opened this issue Oct 12, 2018 · 1 comment
Closed

跑social related algorithm 报exception #278

xiayank opened this issue Oct 12, 2018 · 1 comment

Comments

@xiayank
Copy link

xiayank commented Oct 12, 2018

您好,我现在有一个问题,我想用epinions(http://www.trustlet.org/downloaded_epinions.html)这个dataset来推荐带social trust物品。

所以我把librec/data/filmtrust/rating下的txt file换成了epinions的rating.txt,把/librec/data/test/test-append-dir/trust-1.txt换成了epinions的trust.txt。

现在是可以用这个rating.txt去跑SVD++的,但是当我想去跑context下的rating算法(比如trustsvd, sorec)就会有
Exception in thread "main" java.lang.NumberFormatException: For input string: "@�" 这样的exception. 并且之后再想去跑svd++,也会有相同的exception。很奇怪。希望能得到解答。谢谢!

@SunYatong
Copy link
Collaborator

你看下你的数据文件里的格式,和 librec 里内置数据集的文件格式一致么

@xiayank xiayank closed this as completed Nov 30, 2018
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