We appreciate your interest in contributing to this data science project! Please follow the guidelines below to ensure that your contributions are aligned with the project's standards.
- Fork the Repository:
- Click on the "Fork" button at the top right corner of the repository page. This will create a copy of the repository in your GitHub account.
- Clone Your Fork:
- Clone your forked repository to your local machine:
git clone https://github.com/Mubashir-Ul-Hassan/data-science-projects.git
- Clone your forked repository to your local machine:
- Create a Branch:
- Create a new branch for your feature or bug fix:
git checkout -b main
- Create a new branch for your feature or bug fix:
- Make Your Changes:
- Add new code or make improvements. Be sure to follow the code quality guidelines mentioned below.
- Commit Your Changes:
- Commit your changes with a clear and descriptive commit message:
git add . git commit -m
- Commit your changes with a clear and descriptive commit message:
- Push to Your Fork:
- Push the changes to your forked repository:
git push origin main
- Push the changes to your forked repository:
- Submit a Pull Request:
- Go to the original repository on GitHub and submit a pull request (PR) from your forked branch.
- Provide a clear description of what changes you’ve made and link to any related issue, if applicable.
To ensure a smooth collaboration, please adhere to the following guidelines:
-
Code Quality:
- Write clear, maintainable code with meaningful comments where necessary.
- Follow Python's PEP 8 coding style guide.
- Use docstrings to document your functions and classes.
-
Commenting:
- Comment on complex sections of code to explain their purpose and logic.
- Keep your comments concise and relevant.
-
Testing:
- If applicable, ensure that your code passes all tests. If the project includes unit tests, please add tests for any new functionality or modifications you introduce.
-
Running Scripts:
- Before submitting a PR, ensure that all scripts run without errors.
- If you add a new script, include instructions in the
README.md
file on how to execute it.
-
Dependencies:
- Include any new libraries required for your changes in the
requirements.txt
file. - Use the following command to add new dependencies:
pip freeze > requirements.txt
- Include any new libraries required for your changes in the
-
Datasets:
- If you're adding new data, include a brief description in the relevant folder or file explaining the dataset and its source.
- Large datasets should not be directly uploaded to the repository. Instead, provide links to where they can be downloaded.
-
Submission Requirements:
- Ensure your scripts are well-documented.
- If you're submitting data analysis, provide visualizations and summaries where applicable.
- Clearly explain any new models, algorithms, or techniques used in your contribution.
Please be respectful and considerate in all communications. We expect contributors to follow our Code of Conduct to maintain an inclusive and welcoming environment.