Comments (7)
Hi I can work on this. This is my first contribution. A little guidance would be helpful.
from expan.
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.
@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.
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.
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.
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.
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)
- UnicodeDecodeError: 'gbk' codec can't decode byte 0x9d in position 2812 HOT 3
- Default Parameters of Constructor of Experiment class HOT 2
- CausalTree HOT 1
- Think of a more elegant way to handle SGA HOT 3
- Applying bins to data frames HOT 2
- Infinitely large confidence intervals produced by group_sequential_delta() HOT 4
- Group Sequential - Percentile Issue HOT 10
- SGA Percentile Issue HOT 7
- Sample size with an unequal split ratio HOT 1
- Result Structure Improvement HOT 4
- Improving documentation HOT 1
- An interesting way to remove variant
- Bayesian modeling scheme
- Tutorial seems to be outdated HOT 3
- Test differences date by date HOT 6
- tox fails with py36. (succeeds with py27 though) HOT 1
- Why features are iterated in a for loop? HOT 2
- why use stan instead of pymc3? HOT 2
- What happened? HOT 3
- Possible to clarify what should be included in "data?"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from expan.