GithubHelp home page GithubHelp logo

Comments (2)

vedaldi avatar vedaldi commented on May 3, 2024

Dear Luk,

for matrices in VLFeat we use column-major storage (mostly to be compatible with MATLAB and other numerical packages) and row-major for images (for compatibility with image processing and graphical libraries). In this sense, the documentation is correct in saying that features are stored one per column, although admittedly in C very often one thinks "row major" a priori. I will try to think of a way to clarify this better in the docs.

Thank you for your note!

Andrea

On 31 Aug 2013, at 12:50, luk [email protected] wrote:

Hi,
The documentation indicates the data matrix has one feature vector per column

[...] data has dimension rows and numData columns.

However, afaic througout fisher.c and gmm.c data access seems to be row major and thus assumes a feature vector per row for example

for(dim = 0; dim < dimension; dim++) {
TYPE diff = data[i_d_dimension + dim] - means[i_cl_dimension + dim] ;
I would propose to adapt the documentation accordingly :)


Reply to this email directly or view it on GitHub.

from vlfeat.

luk avatar luk commented on May 3, 2024

Thanks for your rapid answer! It's true row/col major and the concatentation of vector data are two different things. Maybe adding your explanetory words from this issue to the "General support functionalities" section of the doc would alredy help someone not to make the same mistake as I did :)

Thank you very much for your work!
Lukas

from vlfeat.

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.