Skip to content

Code optimisation and readability - Naive Bayes Classifier  #213

@ruhi47

Description

@ruhi47

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions