Giter Site home page Giter Site logo

R Session aborted about cmfrec HOT 4 CLOSED

naggefreschle avatar naggefreschle commented on May 23, 2024
R Session aborted

from cmfrec.

Comments (4)

david-cortes avatar david-cortes commented on May 23, 2024

Thanks for the bug report. Will fix this soon, but in the meantime: calling ContentBased requires having the same number of rows in X and U, without padding either with NAs to accommodate the other.

from cmfrec.

david-cortes avatar david-cortes commented on May 23, 2024

Now it should (a) avoid aborting the R session when something like this fails; (b) throw an informative message if the data is not suitable for default option start_with_ALS=TRUE.

To install the latest version from github:

remotes::install_github("david-cortes/cmfrec")

from cmfrec.

naggefreschle avatar naggefreschle commented on May 23, 2024

I already saw the problem with different dimensions and fixed it.
I still receive the error about DLASCLS. Where is this coming from?
Rstudio is not aborting anymore

from cmfrec.

david-cortes avatar david-cortes commented on May 23, 2024

Thanks for the update. I've now expanded a bit the docs to add that option start_with_ALS=TRUE can lead to errors like this. If you are observing this error, you might probably need to pass start_with_ALS=FALSE and increase the number of iterations (maxiter), although it might be a symptom that there is something wrong with your data (e.g. empty or duplicate users/items).

from cmfrec.

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.