Git Product home page Git Product logo

Comments (3)

syanga avatar syanga commented on July 17, 2024

Leaving init.py blank is fine, although you might want to add import statements depending on your higher level project structure, if any

from ksvd-sparse-dictionary.

VaeBoss avatar VaeBoss commented on July 17, 2024

Hello, we know that the dictionary D is multiplied by the sparse coefficient X to get the original signal Data. Unfortunately, when I do not specify the initial dictionary, the dimension of the sparse coefficient is missing:
For example: the signal dimension is 64 * 8000, the dictionary dimension is: 64 * 600, but the dimension of the sparse coefficient is 600 * 7400, I don't know where the problem is, please answer, thank you

from ksvd-sparse-dictionary.

syanga avatar syanga commented on July 17, 2024

If your signal data has dimension 64 * 8000, your dictionary needs to have dimension 64 * m and your sparse coefficient needs dimension m * 8000, for any dimension m (or reverse the 64 and 8000, depending on what you need). This is true if your signal data is decomposed as: Data = D * X.

If you provide a more specific example of your code, I could try to help.

from ksvd-sparse-dictionary.

Related Issues (2)

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.