GithubHelp home page GithubHelp logo

Stopping criterion of ALS about implicit HOT 2 CLOSED

benfred avatar benfred commented on August 18, 2024
Stopping criterion of ALS

from implicit.

Comments (2)

benfred avatar benfred commented on August 18, 2024

It usually doesn't hurt to run more iterations - for instance this post run this code and calculated p@5 out at each iteration and found that it converged around 15 iterations or so (which is the default here).

I'm going to add some code for evaluation here (calculating training loss, and maybe MAP) at some point, but I don't think that using that for early termination is worthwhile - it can be slow to calculate things like MAP or P@K because we have to sort the predictions : while the training itself can leverage sparsity of the dataset, sorting means there is a cost for missing items in the validation phase. (the paper you linked to is on the explicit case where you can safely ignore missing items).

from implicit.

benfred avatar benfred commented on August 18, 2024

I added code to calculate the loss at each iteration here da1a7fa
I compared this per iteration in this post: http://benfrederickson.com/fast-implicit-matrix-factorization/ and showed that the training loss per iteration converges after 15 or so iterations. Closing this for now, since I don't think early stopping will make this any faster or more accurate

from implicit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.