Coder Social home page Coder Social logo

Comments (4)

cbravo93 avatar cbravo93 commented on July 20, 2024

Hi @Van1yu3 !

There was indeed a bug in the function, it should be solved now! Thanks a ton for noticing :)

Cheers,

C

from cistopic.

Van1yu3 avatar Van1yu3 commented on July 20, 2024

Hi @cbravo93 !

Thank you for your efforts! After I reinstalled the package, sadly I encountered the same error when nCores=13:
cisTopicObject_tmp <- runCGSModels(cisTopicObject, topic=c(2, 5:15, 20, 25), seed=987, nCores=13, burnin = 120, iterations = 150, addModels=FALSE)

[1] "Formatting data..."in = 120, iterations = 150, addModels=FALSE)
[1] "Exporting data..."
[1] "Running models..."
Error in do.ply(i) :
task 1 failed - "cannot coerce type 'closure' to vector of type 'double'"

and another new error when nCores=1:
cisTopicObject_tmp <- runCGSModels(cisTopicObject, topic=c(2, 5:15, 20, 25), seed=987, nCores=1, burnin = 120, iterations = 150, addModels=FALSE)

[1] "Formatting data..."n = 120, iterations = 150, addModels=FALSE)
[1] "Running models..."
| | 0%Error in as.double(eta) :
cannot coerce type 'closure' to vector of type 'double'

Thanks a lot!

from cistopic.

cbravo93 avatar cbravo93 commented on July 20, 2024

Hi @Van1yu3 !

Can you reinstall and try again?

Thanks!

from cistopic.

Van1yu3 avatar Van1yu3 commented on July 20, 2024

Hi @cbravo93 !

Everything goes well this time. Thank you for your effort!

from cistopic.

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.