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

libfm benchmark #7

Open
geffy opened this issue Jul 23, 2016 · 3 comments
Open

libfm benchmark #7

geffy opened this issue Jul 23, 2016 · 3 comments

Comments

@geffy
Copy link
Owner

geffy commented Jul 23, 2016

Need to compare tffm and libfm in terms of speed and quality.

@Vimos
Copy link

Vimos commented Aug 15, 2016

tffm is working quite well on my machine, much faster than other single core libraries like libfm and fastFM. But I found a small problem for regression, tffm tends to give higher values than libfm or fastFM, I guess this may be caused by not given max or min of predictions.

In libfm, there is a line

double p = predict_case(data); 
p = std::min(max_target, p);
p = std::max(min_target, p);

I don't think these code is a must, making it configurable definitely offers more choices.

@Vimos
Copy link

Vimos commented Aug 24, 2016

Another interesting point, tffm seems using a lot more memory, a recent test shows that after init with about 40GB memory, the peak for each epoch may reach 70-80GB, but drops to 40GB at the end of each epoch.

@geffy
Copy link
Owner Author

geffy commented Sep 14, 2016

As I know, TF tends to allocate a lot of memory even if it doesn't actually use it. But you are right, no memory optimization been done here.

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

No branches or pull requests

2 participants