Thank you for your interest in contributing to Apache Mahout!
Prerequisites: Python 3.10 (>=3.10,<3.11), Poetry, Git
pip install -U poetryor follow the instructions in the Poetry official documentation.
git clone https://github.com/apache/mahout.git
cd mahout
poetry install --extras devpoetry run pre-commit installCreate a new issue in GitHub and discuss your ideas with the community.
Create a new branch for your changes:
git checkout -b your-feature-nameMake your changes, then commit (pre-commit hooks will run automatically):
git add .
git commit -m "Description of your changes"
git pushRun the test suite using pytest:
poetry run pytestRun pre-commit hooks:
poetry run pre-commit runOr run pre-commit hooks on all files:
poetry run pre-commit run --all-filesCreate a pull request on GitHub. Please follow the pull request template to provide a detailed description of your changes.
qumat/- Core library codedocs/- Documentationexamples/- Examples and Jupyter notebookstesting/- Test files (using pytest)website/- Website source code (using Jekyll)