Git Product home page Git Product logo

Comments (6)

theogf avatar theogf commented on June 15, 2024 1

I really can't see what the difference is from the user's perspective

In one case, obsdim is pretty obviously the observation dimension, on the other side with ColVecs I will need to go through the docs, understand what it is and what it does and how to correctly use it.

In any case, I'll concede this point if you're really keen on it being a thing, and given that it's consistent with KF

Thanks! I will take care of making the PR

On the other hand, I have to say the structure is already pretty nice to use and I am looking forward to integrate it to AGP.jl

from abstractgps.jl.

willtebbutt avatar willtebbutt commented on June 15, 2024

Yup, requires either a ColVecs or RowVecs otherwise how do you know what convention the user is employing?

from abstractgps.jl.

theogf avatar theogf commented on June 15, 2024

Shouldn't we do like in KF.jl and put a wrapper for matrices by adding a obsdim keyword? Or decide of an arbitrary convention?

from abstractgps.jl.

willtebbutt avatar willtebbutt commented on June 15, 2024

I really don't see what the advantage is over just using ColVecs / RowVecs. One way of doing things is strictly better than two unless there's a really good reason to have two ways of doing things.

from abstractgps.jl.

theogf avatar theogf commented on June 15, 2024

This is probably going to be the same dialog again but :
I really don't believe we should force users to "convert" their data in a different format. I agree that it should be used in the internals but the user should not have to see it.
Again as a lambda user if I want to use a package I would just like to throw my matrix to the model eventually giving what is the dimensionality without having to wrap it first into some format.

from abstractgps.jl.

willtebbutt avatar willtebbutt commented on June 15, 2024

Agreed, this is going to go down the same line again.

Again as a lambda user if I want to use a package I would just like to throw my matrix to the model eventually giving what is the dimensionality without having to wrap it first into some format.

At the risk of labouring the point, wrapping your matrix is telling the package how to treat the dimensions of your data, nothing more. I really can't see what the difference is from the user's perspective between writing

f(ColVecs(X))

and

f(X; obsdim=2)

, particularly if we provide a good error message for f(X) that says how to handle multi-input data.

In any case, I'll concede this point if you're really keen on it being a thing, and given that it's consistent with KF

from abstractgps.jl.

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.