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

Interface to naivebayes::multinomial_naive_bayes #59

Open
tomwagstaff-opml opened this issue Jan 12, 2023 · 1 comment
Open

Interface to naivebayes::multinomial_naive_bayes #59

tomwagstaff-opml opened this issue Jan 12, 2023 · 1 comment
Labels
feature a feature request or enhancement tidy-dev-day 🤓 Tidyverse Developer Day rstd.io/tidy-dev-day

Comments

@tomwagstaff-opml
Copy link

Interface to Multinomial Naive Bayes function

Parsnip already offers interfaces to several packages that perform Naive Bayes. However, none of the functions supported seem to accept data in the format of counts of features (particularly useful when you have a document term matrix).

The naivebayes package already supported has a function multinomial_naive_bayes which is designed for that case. But at the moment parsnip only offers an interface to the generic naive_bayes function which doesn't include multinomial naive Bayes as an option.

Could you add support for this function too, please? (See discussion on SO.)

@EmilHvitfeldt EmilHvitfeldt added the feature a feature request or enhancement label Jan 12, 2023
@EmilHvitfeldt
Copy link
Member

This is a good idea! Once I around to doing some {discrim} work I'll make sure to take a look at this

@topepo topepo added the tidy-dev-day 🤓 Tidyverse Developer Day rstd.io/tidy-dev-day label Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement tidy-dev-day 🤓 Tidyverse Developer Day rstd.io/tidy-dev-day
Projects
None yet
Development

No branches or pull requests

3 participants