We greatly appreciate your contributions!
The following is a collection of guidelines for contributing to the code repository for the O'Reilly publication "Building Machine Learning Pipelines" by Hannes Hapke & Catherine Nelson.
If you found an error in the book, please report it at https://www.oreilly.com/catalog/errata.csp?isbn=0636920260912.
Please report bugs at https://github.com/Building-ML-Pipelines/building-machine-learning-pipelines/issues.
If you are reporting a bug, we ask you to include:
Bug fixes to our code are always welcome. All bug fixes should be connected to an issue. If you plan to fix a bug, please use the appropriate issue to briefly tell us what you have in mind. If you have found a bug and there is no issue yet, please start by filing an issue.
You can also look through the GitHub issues for bugs. Anything tagged with "bug" is open to whoever wants to fix it.
See the section Contributing to this repository below for instructions on how to set up your environment and create a pull request.
The best way to send general feedback is to file an issue. You can submit errata for the publication here: https://www.oreilly.com/catalog/errata.csp?isbn=0636920260912
This is how you set up a local development environment to work on the code:
Create a fork of the Github repository.
Clone your fork locally:
$ git clone git@github.com:[YOUR USERNAME]/building-machine-learning-pipelines.git
Create a branch for your contribution:
$ git checkout -b name-of-your-contribution
Create a virtualenv to separate your Python dependencies:
$ virtualenv .env && source .env/bin/activate
Download and install all dependencies required for development:
$ make develop
This will automatically download and configure all required dependencies. Your local environment is now ready for you to begin making your changes.
When you're done making changes, please make sure that your code passes style and unit tests.
You can run linting and all testing with this command:
$ make test
In case you want to run only specific tests instead of all available tests, you can call Pytest directly and combine it with a substring. Pytest will only run tests with names matching the substring:
$ pytest -k <substring> -v
You are welcome to add your name to AUTHORS.rst before committing your code!
Commit your changes and push your branch to GitHub:
$ git add . $ git commit -m "Description of your changes." $ git push origin name-of-your-contribution
Check that your pull request meets these guidelines before you submit it:
make test
pass.此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。