Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code optimisation and readability - Naive Bayes Classifier #213

Open
ruhi47 opened this issue Jun 19, 2024 · 1 comment
Open

Code optimisation and readability - Naive Bayes Classifier #213

ruhi47 opened this issue Jun 19, 2024 · 1 comment

Comments

@ruhi47
Copy link

ruhi47 commented Jun 19, 2024

Improvements:
Consistency and Readability:
Use consistent variable naming throughout the class (divided_classes, joint_prob, likelihood, etc.).

Efficiency:
Consider vectorization or optimization techniques for better performance, especially in loops iterating over data points.

Documentation:
Ensure all functions have clear docstrings describing parameters and return values for better readability and understanding.

@ruhi47 ruhi47 changed the title Code optimisation and readability Code optimisation and readability - Naive Bayes Classifier Jun 19, 2024
@ruhi47
Copy link
Author

ruhi47 commented Jun 19, 2024

I am GSSOC'24 Contributor. Please assign this issue to me. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant