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

Add utility functions + minor improvements #33

Merged
merged 4 commits into from
Aug 3, 2024
Merged

Conversation

msamsami
Copy link
Owner

@msamsami msamsami commented Aug 3, 2024

  • Add a script for utility functions containing the following two functions:
    • is_dist_supported
    • get_dist_class
  • Use the above utility functions in the GeneralNB implementation
  • Convert to NumPy array even if priors is of type set or tuple in GeneralNB and GaussianWNB
  • Set the minimum version of pytest package to 7.0.0
  • Include the index of the distribution item (in distributions) in the error message when the distribution is not supported
  • Minor improvements

@msamsami msamsami added the enhancement New feature or request label Aug 3, 2024
@msamsami msamsami self-assigned this Aug 3, 2024
@msamsami msamsami merged commit 542a90c into main Aug 3, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant