Skip to content

Commit d5778a5

Browse files
authored
Merge pull request #393 from PSIAIMS/xgboost-update-1
Update xgboost.qmd
2 parents fb7a1fc + cc646d5 commit d5778a5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

R/xgboost.qmd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,14 @@ There are multiple packages that can be used to to implement xgboost in R.
1616
- [{xgboost}](https://cran.r-project.org/web/packages/xgboost/index.html)
1717
- [{caret}](https://cran.r-project.org/web/packages/caret/index.html)
1818

19-
{tidymodels} and {caret} easy ways to access xgboost easily. This example will use {tidymodels} because of the functionality included in {tidymodels} and is being heavily supported by Posit.
19+
{tidymodels} and {caret} easy ways to access xgboost easily. This example will use {tidymodels} because of the functionality included in {tidymodels} and is being heavily supported by Posit. {caret} was the precursor to {tidymodels} and it is recommended that you use {tidymodels} over {caret} as no new features are being added.
2020

2121
## Data used
2222

2323
Data used for this example is `birthwt` which is part of the {MASS} package. This data-set considers a number of risk factors associated with birth weight in infants.
2424

2525
```{r}
26+
#| output: false
2627
library(tidyverse)
2728
library(MASS)
2829
library(tidymodels)

0 commit comments

Comments
 (0)