Skip to content

Commit acad61e

Browse files
authored
notes of using the earth package with case weights (#992)
1 parent 42d0cf5 commit acad61e

File tree

6 files changed

+14
-0
lines changed

6 files changed

+14
-0
lines changed

man/details_bag_mars_earth.Rd

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/details_mars_earth.Rd

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/rmd/bag_mars_earth.Rmd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ bag_mars(
6262
```{r child = "template-uses-case-weights.Rmd"}
6363
```
6464

65+
Note that the `earth` package documentation has: "In the current implementation, _building models with weights can be slow_."
66+
6567
## References
6668

6769
- Breiman, L. 1996. "Bagging predictors". Machine Learning. 24 (2): 123-140

man/rmd/bag_mars_earth.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ This model can utilize case weights during model fitting. To use them, see the d
9191

9292
The `fit()` and `fit_xy()` arguments have arguments called `case_weights` that expect vectors of case weights.
9393

94+
Note that the `earth` package documentation has: "In the current implementation, _building models with weights can be slow_."
95+
9496
## References
9597

9698
- Breiman, L. 1996. "Bagging predictors". Machine Learning. 24 (2): 123-140

man/rmd/mars_earth.Rmd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ An alternate method for using MARs for categorical outcomes can be found in [dis
5555
```{r child = "template-uses-case-weights.Rmd"}
5656
```
5757

58+
Note that the `earth` package documentation has: "In the current implementation, _building models with weights can be slow_."
59+
5860
## Saving fitted model objects
5961

6062
```{r child = "template-butcher.Rmd"}

man/rmd/mars_earth.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ This model can utilize case weights during model fitting. To use them, see the d
8787

8888
The `fit()` and `fit_xy()` arguments have arguments called `case_weights` that expect vectors of case weights.
8989

90+
Note that the `earth` package documentation has: "In the current implementation, _building models with weights can be slow_."
91+
9092
## Saving fitted model objects
9193

9294

0 commit comments

Comments
 (0)