The document is under construction.
TCS 2021's Class submission for the course Data Mining - 20XT83
- Python: 3.11.x
- NumPy: Version 2.2.0
- Pandas: Version 2.0.0
- Scikit-learn: Version 1.6.0
- MLxtend: Version 0.23.0
- GSPpy: Version 0.23.3
- River: Version 0.22.0
- Kafka: Version 2.0.4
- Keras: Version 3.7.0
- Tensorflow: Version 2.18.0
- Pytorch: Version 2.5.1
- Streamlit : Version 1.41.0
pytest ~= 6.2.4 pylint ~= 2.9.6
Our project uses GitHub Actions to automatically run code quality checks on all pull requests. Please ensure your contributions pass these checks before submitting.
All code must pass the following PyLint checks(Reference):
| Code | Description |
|---|---|
| C0103 | Use valid and descriptive variable/function names |
| C0112 | Don't use empty docstrings |
| C0114 | Include module docstrings |
| C0116 | Include function docstrings |
| E0102 | Avoid function redefinition |
| R5501 | Use elif instead of else followed by if |
| C0301 | Keep lines within reasonable length |
| E0108 | Don't use duplicate argument names |
| Code | Description |
|---|---|
| C0410 | Avoid multiple imports on the same line |
| W0611 | Remove unused imports |
| C0411 | Follow proper import order |
| C0415 | Place imports at the top of the file |
| Code | Description |
|---|---|
| R0801 | Avoid duplicate code |
| Code | Description |
|---|---|
| R1714 | Use in operator when appropriate |
| W0612 | Remove unused variables |
| W0613 | Remove unused function arguments |
| W0614 | Avoid unused wildcard imports |
Try achieving a coverage score >80.
These checks help maintain code quality and consistency throughout the project. Pull requests failing these checks will need revision before merging.
Please use the valid channel on discussions tab for any other queries.
Before creating a new branch, check your current branch:
git branchUse the following command to create a new branch:
git checkout -b my-feature-branchOR
git switch -c my-feature-branchThis creates and switches to the new branch.
Edit your files, then stage them:
git add filenameOr stage all changes:
git add .git commit -m "Added new feature"Push the branch to GitHub:
git push origin my-feature-branch- Go to your GitHub repository.
- Click on Pull Requests → New Pull Request.
- Select your branch and compare it with
main. - Add a title, description, and submit the PR.
Once done, switch back to the main branch:
git switch mainOR
git checkout mainUpdate it with the latest changes:
git pull origin main