maks-sh / scikit-uplift

:exclamation: uplift modeling in scikit-learn style in python :snake:
https://www.uplift-modeling.com
MIT License
725 stars 96 forks source link

Add new function fetch_megafon #115

Closed ezhdi closed 3 years ago

ezhdi commented 3 years ago

name: "Add new function fetch_megafon" about: Add Megafon dataset in sklift.datasets described in issue #99

📑 Description of the Change

Add new function fetch_megafon in sklift.datasets that loads and return train part of the Megafon dataset

Verification Process

Release Notes

Additional info

maks-sh commented 3 years ago

Hey!

Thank you 🙌 Amazing work 👍

There are a couple of small comments: 1) Since we do not have the ability to select a target, it makes no sense to create the target_col ' argument. The [fetch_x5](https://github.com/maks-sh/scikit-uplift/blob/master/sklift/datasets/datasets.py#L171) function is made similarly. 2) Unfortunately, now the documentation pages are not created automatically. Therefore, when adding new functions, you need to manually add a page to the desired directory. In your case, this directory isscikit-uplift/docs/api/datasets/. Please create a page along the way with content similar to [fetch_x5](https://raw.githubusercontent.com/maks-sh/scikit-uplift/master/docs/api/datasets/fetch_x5.rst) function. 3) It would be great to add theKey figuressection todescr/megafon.rst` by analogy with the criteo dataset (Format, Size, Rows, etc.).

I apologize that these items were not described in the issue.

ezhdi commented 3 years ago

Hi! fix all comments and bug when import all datasets too

ezhdi commented 3 years ago

Add example of usages for fetch_megafon to the docstrings

maks-sh commented 3 years ago

Thank you for your contribution!

Please do not forget to make a submission on the ods.ai with a link to this PR.