Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the MA causal experimental component inside the Juypter binding #88

Merged
merged 16 commits into from Dec 13, 2019

Conversation

kenns29
Copy link
Collaborator

@kenns29 kenns29 commented Dec 11, 2019

Summary | Related Issue(s)

Add the MA causal experimental component inside the Jupyter binding (#71)

image

Changes

  1. The Jupyter binding now contains a MACausal component
  2. This component is still in an experimental state and is unrelated to the other components inside the repo
  3. The JS part of the component code is located in bindings/jupyter-modules/jupyter-ma-causal
  4. All the changes of this PR have been reviewed separately in the sub-PRs

Checklist

  • I have made this PR atomic.
  • I have provided enough context for others to review.
  • [ ] I have added tests to cover my changes (for features and bug fixes).
  • [ ] I have updated the documentation and changelogs accordingly.
  • All new and existing tests passed.

kenns29 and others added 14 commits November 25, 2019 11:23
####  Summary | Related Issue(s)

Scaffolding the MA causal project described in [this issue](#71)

#### Changes

Added the `bindings/jupyter-modules/jupyter-ma-causal` experimental module, allow it to be used inside Jupyter as such

![image](https://user-images.githubusercontent.com/7333962/69565131-2b42c400-0f69-11ea-93d0-f4db7035c46b.png)

The line chart draws the two curves representing different uplift effect, with the x axis being the percentile of users ranked according to their likelihood of being influenced by the treatment, and the y axis being the magnitude of the uplift effect scaled between 0 to 1.

The slider will be able to control the percentile of users and the uplift effect corresponding the percentile will be highlighted accordingly.
* adjust right padding to make space for the right most label in the x axis

* auto adjust width and height
* add treatment and control bars

* Addressing the review comments
* add treatment and control bars

* add label for the line indicator

* Addressing the review comments
* add treatment and control bars

* add label for the line indicator

* clean up unused vars

* Addressing the review comments
* remove the scaling hack

* ma-causal-dev-1
* remove the scaling hack

* ma-causal-dev-1

* split the multi line charts to separate charts

* update slidebar and static bar
* remove the scaling hack

* ma-causal-dev-1

* split the multi line charts to separate charts

* update slidebar and static bar

* use 2 decimal for the bar label
@kenns29 kenns29 requested a review from gnavvy December 11, 2019 18:43
@kenns29 kenns29 requested a review from mmui December 11, 2019 18:49
@kenns29 kenns29 merged commit b86c31a into master Dec 13, 2019
@kenns29 kenns29 deleted the ma-causal branch December 13, 2019 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants