Git Product home page Git Product logo

libnmf's People

Contributors

satwik77 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

libnmf's Issues

kernel NMF (KMNF) works only on square matrices

X = np.random.rand(10,11)
a = KNMF(X,rank = 4)
a.compute_factors(param = 0.5)

Traceback (most recent call last):
File "/home/esysss/.local/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 3398, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 1, in <cell line: 1>
a.compute_factors(param = 0.5)
File "/home/esysss/.local/lib/python3.8/site-packages/libnmf/knmf.py", line 62, in compute_factors
self.update_w(A)
File "/home/esysss/.local/lib/python3.8/site-packages/libnmf/knmf.py", line 78, in update_w
AH = A.dot(self.H.T)
ValueError: shapes (10,10) and (11,4) not aligned: 10 (dim 1) != 11 (dim 0)

MemoryError

MemoryError: Unable to allocate 696. MiB for an array with shape (9554, 9554) and data type float64 ๏ผŒ
i use pycharm to run python code , maybe this is a memory problem about machine or IDE , BUT I want to advise , you can set a choice of the dtype = "float32" , so the users can run codes using a low machine .
BTW , my computer memory is 8GB , so i doubt it is the package prolem.

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.