Giter Site home page Giter Site logo

Comments (7)

aravs16 avatar aravs16 commented on May 10, 2024

Hi I can work on this. This is my first contribution. A little guidance would be helpful.

from expan.

jbao avatar jbao commented on May 10, 2024

Hi @aravs16 , thanks for volunteering, this issue is mostly about syncing up the default arguments in

https://github.com/zalando/expan/blob/dev/expan/core/experiment.py#L715

and

https://github.com/zalando/expan/blob/dev/expan/core/binning.py#L732

Ideally we could somehow distinguish between categorical and numerical bins, but if that's not possible, we may also completely leave out the argument nbins, since a random number probably would not make sense. Let us know if anything is unclear;-)

from expan.

aravs16 avatar aravs16 commented on May 10, 2024

@jbao Thank you!

Can we make nbins = 8 in both places and then pass nbins//2 on this line:
https://github.com/zalando/expan/blob/dev/expan/core/binning.py#L768 ?

from expan.

jbao avatar jbao commented on May 10, 2024

hmm, I think we should make nbins transparent to the user, and not doing any post-processing within the function itself, what do you think?

from expan.

yagudin avatar yagudin commented on May 10, 2024

Hi @jbao, in my opinion, we should set nbins=None in definitions of sga() and creat_binning(). And add post-processing ≈ if nbins == None: nbins = 8 if is_numeric else 4 followed with a warning.

from expan.

gbordyugov avatar gbordyugov commented on May 10, 2024

Hi everyone,

I found using None as a flag for default (as opposite to undefined) value quite pervasive in ExpAn (for example, None in place of KPI names or feature names implies "do all"). Was it a deliberate design decision? What happens to those options where we want None to signalize the absence of information, rather than the intention to use default values?

from expan.

jbao avatar jbao commented on May 10, 2024

I think we should specify the default value explicitly in the argument if we have one (e.g. in the case of nbins), and use None to imply that the function will take all possible input values (e.g. in the case of kpi_subset). What do you think?

from expan.

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.