-
Notifications
You must be signed in to change notification settings - Fork 555
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 Gaussian Naive Bayes #4079
Merged
+532
−0
Merged
Add Gaussian Naive Bayes #4079
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
d0ecf57
Initial gaussian naive bayes variant
cjnolet 053f8f3
Adding tests for gaussian naive bayes
cjnolet 3d4ca96
Merge branch '013-fea-kmeans-da' into fea-ext-naive_bayes_variants
cjnolet 7a0bf65
A couple changes. Starting to test end to end to at least verify the …
cjnolet ddda055
Merge branch 'branch-0.15' into fea-ext-naive_bayes_variants
cjnolet caea9d2
A little progress. There are still some different things to consider …
cjnolet 7477a7b
A few updates to the test. We are producing the right results, just a…
cjnolet a1b95ad
Initial port of Bernoulli & Categorical naive bayes. Also adding `bin…
cjnolet 2ca8938
Merge branch 'branch-21.08' into fea-ext-naive_bayes_variants
lowener 29d8173
Merge branch 'branch-21.08' into fea-ext-naive_bayes_variants
lowener e144d28
Update naive bayes refactor
lowener a89f7cd
Update Gaussian Naive Bayes code
lowener 4a71a32
Adding working version of GNB and Bernoulli and their test
lowener 42dc80c
Update init and binarize primitive
lowener 130d4ae
Adding working CategoricalNB
lowener f9480d9
Separating code to keep Multinomial and Bernoulli only
lowener f87cafd
Merge branch 'branch-21.08' into 21.08-multinomial-nb
lowener 9945d93
Fix style
lowener 8f4eee9
Update copyright
lowener e6cb185
Fix docstring
lowener 3063586
Update tests to compare with sklearn and factorize naive bayes init
lowener 63133c4
Fix style
lowener defbf41
Fix count_features_dense write order
lowener c63dab4
Fix class_prior parameter
lowener 5a03348
Add Gaussian NB and tests
lowener 07dcfa8
update api.rst
lowener e6b70af
fix style
lowener 9ed4984
Merge branch 'branch-21.08' into 21.08-gaussian-nb
lowener 2053118
Fix style
lowener 750779e
Update GaussianNB doc for preferred sparse format
lowener File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add Gaussian NB and tests
commit 5a03348b545f3774ad492d17437fe61f2fc383f5
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might want to make a mention here that the "optimal" input for the sparse matrix is COOrdinate format, otherwise it will be copied in order to convert to that format.