Giter VIP home page Giter VIP logo

Comments (7)

CodeSense10 avatar CodeSense10 commented on August 21, 2024

Hello, I am getting the same error. Any help will be deeply appreciated. @beechung Thanks.

from latent-factor-models.

beechung avatar beechung commented on August 21, 2024

I think the problem is because after R 3.x, R no long supports DUP=FALSE. The solution is to change from .C(...) to .Call(...) for the C code in src/LDA-RLFM/C/, in a way similar to the following commit.

1c3e0f5

from latent-factor-models.

narutolhy avatar narutolhy commented on August 21, 2024

When I use R 3.x, I have also encountered a lot of problems。 And I used R 2.x, those problems disappered

from latent-factor-models.

CodeSense10 avatar CodeSense10 commented on August 21, 2024

This solved the problem. Thanks a lot @beechung and @narutolhy .

from latent-factor-models.

CodeSense10 avatar CodeSense10 commented on August 21, 2024

There is another issue. In examples.R, line 267: library(arm) is generating an error-
Error in library(arm) : there is no package called ‘arm’
I have placed the arms.c and arms.h files in arslogistic and yet face this problem. @narutolhy

from latent-factor-models.

beechung avatar beechung commented on August 21, 2024

To install a R package, use the following command:
install.packages("arm")

You need to first install it before you can use it.

from latent-factor-models.

CodeSense10 avatar CodeSense10 commented on August 21, 2024

@beechung I used R 2.15.3 instead of R 3.x and that solved the initial problem and the subsequent problems that were present despite changing .C(...) to .Call(...). The current problem is that "arm" package is not available for R 2.15.3. Can you suggest a work around?
Also I want to implement fLDA for my own dataset but I could not find reIndexData and indexTestData as mentioned in prediction.R or any explanation about the dataset used in this code.

from latent-factor-models.

Related Issues (15)

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.