Git Product home page Git Product logo

nbmf's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

ducptruong

nbmf's Issues

Package installation issue

Hello! Great package and nice paper, congratulations.

I think the current way of loading your package (from your example scripts) is to use devtools::load_all(). Is it possible to do any of the following?

  1. Remove the object files (*.o) which is OS-specific? I had to delete them, and use R CMD INSTALL to recompile the cpp files and install the package.
  2. Make a tar gz source file so the package can be installed from there?

Or preferably, list installation instructions for the package? e.g. using devtools::install_github()

Thanks!

error when using BernoulliNMF

Hello,

I'm getting a "Cube::init(): requested size is too large" error when using BernoulliNMF. I have tried rebuilding Rcpp and RcppArmadillo with the ARMA_64BIT_WORD feature enabled which I did by adding

PKG_CPPFLAGS = -DARMA_64BIT_WORD=1

to my Makevars file and then re-building both Rcpp and RcppArmadillo. I then reinstalled

devtools::install_github('alumbreras/NBMF')

after rebuilding Rcpp and RcppArmadillo. Unfortunately, I ended up getting the same error message.

I'm not the most experienced R user, but based on what searching I did it sounds like the code is having trouble allocating a large matrix? For what it's worth, The input dataset is a 11451 x 971 matrix. Is this too large of a matrix to use in BernoulliNMF? Is there a way around this problem?

Thanks!

image

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.