GithubHelp home page GithubHelp logo

proposal: reorganise stat/... about stat HOT 9 CLOSED

gonum avatar gonum commented on July 17, 2024
proposal: reorganise stat/...

from stat.

Comments (9)

btracey avatar btracey commented on July 17, 2024

How about statuv and statmv instead of "univariate" and "multivariate". It keeps the global context much clearer.

from stat.

kortschak avatar kortschak commented on July 17, 2024

I dislike the stutter that you get from stat/statuv (mirroring the same issue with stat/stattest that has been proposed previously).

from stat.

jonlawlor avatar jonlawlor commented on July 17, 2024

I think it is a good idea to rename. How about something shorter, like stat/uv and stat/mv ?

from stat.

kortschak avatar kortschak commented on July 17, 2024

Yeah, I was considering uv and mv. mv has an unfortunate homoglyph though.

The decision on contents needs input as well.

from stat.

btracey avatar btracey commented on July 17, 2024

I'll admit I don't see the distinctions between stat, mv, and uv. I had thought originally that it was just breaking stat into functions that are univariate and multivariate. In that case it seems like statmv and statuv work well. I'm not concerned about the stutter as it happens in the import and not the code. However, I see that you propose stat, multi and uni. Is there a rough rule of thumb in your mind what sorts of things would go into stat? Is it like matrix where it's just stuff that would need to need to be in multiple packages?

from stat.

btracey avatar btracey commented on July 17, 2024

Where I'm going is I wonder if they need to be different packages at all. distuv and distmv should be different. They implement things with a lot of common names but different signatures. Same thing with sampleuv and samplemv. So far it has not felt to me like there has been a similar tension in stat. Things like mean are easily implementable as a for loop and don't need a multivariate version necessarily.

My problem with multivariate and univariate is that they don't contain any information about what the package is. I would much rather have stutter than have a vague package name. stat/test does not follow this because the package implements tests, so it's fine. univariate is way too vague for what the package actually is.

from stat.

kortschak avatar kortschak commented on July 17, 2024

Is it like matrix where it's just stuff that would need to need to be in multiple packages?

Yes.

Where I'm going is I wonder if they need to be different packages at all.

Maybe we should leave this for some time.

from stat.

btracey avatar btracey commented on July 17, 2024

Perhaps. I do think the name changes to distuv and distmv (and other associated) are good. It makes them feel at the same "heirarchy" level.

from stat.

btracey avatar btracey commented on July 17, 2024

I think we fixed this.

from stat.

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.