Skip to content

Commit 3eef254

Browse files
committed
Merge branch 'realese/v0.2.0'
2 parents 9e4baa6 + 379e1ca commit 3eef254

File tree

79 files changed

+2228
-719
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+2228
-719
lines changed

.github/CODE_OF_CONDUCT.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to making participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, sex characteristics, gender identity and expression,
9+
level of experience, education, socio-economic status, nationality, personal
10+
appearance, race, religion, or sexual identity and orientation.
11+
12+
## Our Standards
13+
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
16+
17+
* Using welcoming and inclusive language
18+
* Being respectful of differing viewpoints and experiences
19+
* Gracefully accepting constructive criticism
20+
* Focusing on what is best for the community
21+
* Showing empathy towards other community members
22+
23+
Examples of unacceptable behavior by participants include:
24+
25+
* The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
* Trolling, insulting/derogatory comments, and personal or political attacks
28+
* Public or private harassment
29+
* Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
* Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
33+
34+
## Our Responsibilities
35+
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
39+
40+
Project maintainers have the right and responsibility to remove, edit, or
41+
reject comments, commits, code, wiki edits, issues, and other contributions
42+
that are not aligned to this Code of Conduct, or to ban temporarily or
43+
permanently any contributor for other behaviors that they deem inappropriate,
44+
threatening, offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies both within project spaces and in public spaces
49+
when an individual is representing the project or its community. Examples of
50+
representing a project or community include using an official project e-mail
51+
address, posting via an official social media account, or acting as an appointed
52+
representative at an online or offline event. Representation of a project may be
53+
further defined and clarified by project maintainers.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58+
reported by contacting the project team. All
59+
complaints will be reviewed and investigated and will result in a response that
60+
is deemed necessary and appropriate to the circumstances. The project team is
61+
obligated to maintain confidentiality with regard to the reporter of an incident.
62+
Further details of specific enforcement policies may be posted separately.
63+
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
65+
faith may face temporary or permanent repercussions as determined by other
66+
members of the project's leadership.
67+
68+
## Attribution
69+
70+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72+
73+
[homepage]: https://www.contributor-covenant.org
74+
75+
For answers to common questions about this code of conduct, see
76+
https://www.contributor-covenant.org/faq

.github/CONTRIBUTING.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# Contributing to scikit-uplift
2+
3+
First off, thanks for taking the time to contribute! 🙌👍🎉
4+
5+
All development is done on GitHub: https://github.com/maks-sh/scikit-uplift.
6+
7+
## Submitting a bug report or a feature request
8+
9+
We use GitHub issues to track all bugs and feature requests.
10+
Feel free to open an issue if you have found a bug or wish to see a feature implemented at https://github.com/maks-sh/scikit-uplift/issues.
11+
12+
## Contributing code
13+
14+
### How to contribute
15+
16+
The code in the master branch should meet the current release.
17+
So, please make a pull request to the ``dev`` branch.
18+
19+
1. Fork the [project repository](https://github.com/maks-sh/scikit-uplift).
20+
2. Clone your fork of the scikit-uplift repo from your GitHub account to your local disk:
21+
``` bash
22+
$ git clone [email protected]:YourLogin/scikit-uplift.git
23+
$ cd scikit-learn
24+
```
25+
3. Add the upstream remote. This saves a reference to the main scikit-uplift repository, which you can use to keep your repository synchronized with the latest changes:
26+
``` bash
27+
$ git remote add upstream https://github.com/maks-sh/scikit-uplift.git
28+
```
29+
4. Synchronize your ``dev`` branch with the upstream ``dev`` branch:
30+
``` bash
31+
$ git checkout dev
32+
$ git pull upstream dev
33+
```
34+
5. Create a feature branch to hold your development changes:
35+
``` bash
36+
$ git checkout -b feature/my_new_feature
37+
```
38+
and start making changes. Always use a feature branch. It’s a good practice.
39+
6. Develop the feature on your feature branch on your computer, using Git to do the version control. When you’re done editing, add changed files using ``git add`` and then ``git commit``.
40+
Then push the changes to your GitHub account with:
41+
42+
``` bash
43+
$ git push -u origin feature/my_new_feature
44+
```
45+
7. Create a pull request from your fork into ``dev`` branch.
46+
47+
### Styleguides
48+
49+
#### Python
50+
51+
We follow the PEP8 style guide for Python. Docstrings follow google style.
52+
53+
#### Git Commit Messages
54+
55+
* Use the present tense ("Add feature" not "Added feature")
56+
* Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
57+
* Limit the first line to 72 characters or less
58+
* Reference issues and pull requests liberally after the first line
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
name: "Bug Report"
3+
about: Submit a bug report to help us improve scikit-uplift
4+
---
5+
6+
## 🐛 Bug
7+
8+
<!-- A clear and concise description of what the bug is. -->
9+
10+
## To Reproduce
11+
12+
Steps to reproduce the behavior:
13+
14+
1.
15+
1.
16+
1.
17+
18+
<!-- If you have a code sample, error messages, stack traces, please provide it here as well -->
19+
20+
## Expected behavior
21+
22+
<!-- A clear and concise description of what you expected to happen. -->
23+
24+
## Environment
25+
26+
- scikit-uplift version (e.g., 0.1.2):
27+
- scikit-learn version (e.g., 0.22.2):
28+
- Python version (e.g., 3.7):
29+
- OS (e.g., Linux):
30+
- Any other relevant information:
31+
32+
## Additional context
33+
34+
<!-- Add any other context about the problem here. -->
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
name: "Documentation"
3+
about: Report an issue related to https://scikit-uplift.readthedocs.io#
4+
---
5+
6+
## 📚 Documentation
7+
8+
<!-- A clear and concise description of what content in https://scikit-uplift.readthedocs.io is an issue. -->
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: "Feature request"
3+
about: Suggest an idea for improve scikit-uplift
4+
---
5+
6+
## 💡 Feature request
7+
8+
<!-- One paragraph explanation of the feature. -->
9+
10+
## Motivation
11+
12+
<!-- Why are we doing this? What use cases does it support? What is the expected outcome? -->
13+
14+
## Additional context
15+
16+
<!-- Add any other context or references. -->
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
name: "Pull request"
3+
about: Make changes in scikit-uplift
4+
---
5+
6+
## 📑 Description of the Change
7+
8+
<!--
9+
10+
We must be able to understand the design of your change from this description. If we can't get a good idea of what the code will be doing from the description here, the pull request may be closed at the maintainers' discretion. Keep in mind that the maintainer reviewing this PR may not be familiar with or have worked with the code here recently, so please walk us through the concepts.
11+
12+
-->
13+
14+
## Verification Process
15+
16+
<!--
17+
18+
What process did you follow to verify that your change has the desired effects?
19+
20+
- How did you verify that all new functionality works as expected?
21+
- How did you verify that all changed functionality works as expected?
22+
23+
-->
24+
25+
## Release Notes
26+
27+
<!--
28+
29+
Please describe the changes in a single line that explains this improvement in
30+
terms that a user can understand. This text will be used in release history.
31+
32+
If this change is not user-facing or notable enough to be included in release notes
33+
you may use the strings "Not applicable" or "N/A" here.
34+
35+
Examples:
36+
37+
- Fix typo in TwoModels docstring.
38+
- Add tutorial “Example of usage model from sklift.models in sklearn.pipeline”.
39+
- Add plot_uplift_by_percentile.
40+
41+
-->
42+
43+
## Additional info
44+
45+
<!-- Add any other information or references. -->

0 commit comments

Comments
 (0)