Skip to content

add missing comment about usekernel in naive_Bayes naivebayes #714

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

Merged
merged 2 commits into from
May 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions man/details_naive_Bayes_naivebayes.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/rmd/naive_Bayes_klaR.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This model has `r nrow(param)` tuning parameter:
param$item
```

Note that `usekernel` is always set to `TRUE` for the `klaR` engine.
Note that the engine argument `usekernel` is set to `TRUE` by default when using the `klaR` engine.

## Translation from parsnip to the original package

Expand Down
2 changes: 1 addition & 1 deletion man/rmd/naive_Bayes_klaR.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This model has 2 tuning parameter:

- `Laplace`: Laplace Correction (type: double, default: 0.0)

Note that `usekernel` is always set to `TRUE` for the `klaR` engine.
Note that the engine argument `usekernel` is set to `TRUE` by default when using the `klaR` engine.

## Translation from parsnip to the original package

Expand Down
2 changes: 2 additions & 0 deletions man/rmd/naive_Bayes_naivebayes.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ This model has `r nrow(param)` tuning parameter:
param$item
```

Note that the engine argument `usekernel` is set to `TRUE` by default when using the `naivebayes` engine.

## Translation from parsnip to the original package

`r uses_extension("naive_Bayes", "naivebayes", "classification")`
Expand Down
2 changes: 2 additions & 0 deletions man/rmd/naive_Bayes_naivebayes.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ This model has 2 tuning parameter:

- `Laplace`: Laplace Correction (type: double, default: 0.0)

Note that the engine argument `usekernel` is set to `TRUE` by default when using the `naivebayes` engine.

## Translation from parsnip to the original package

The **discrim** extension package is required to fit this model.
Expand Down