Skip to content

Commit

Permalink
notes of using the earth package with case weights (#992)
Browse files Browse the repository at this point in the history
  • Loading branch information
topepo authored Jul 20, 2023
1 parent 42d0cf5 commit acad61e
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions man/details_bag_mars_earth.Rd

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

3 changes: 3 additions & 0 deletions man/details_mars_earth.Rd

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

2 changes: 2 additions & 0 deletions man/rmd/bag_mars_earth.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ bag_mars(
```{r child = "template-uses-case-weights.Rmd"}
```

Note that the `earth` package documentation has: "In the current implementation, _building models with weights can be slow_."

## References

- Breiman, L. 1996. "Bagging predictors". Machine Learning. 24 (2): 123-140
Expand Down
2 changes: 2 additions & 0 deletions man/rmd/bag_mars_earth.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ This model can utilize case weights during model fitting. To use them, see the d

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

Note that the `earth` package documentation has: "In the current implementation, _building models with weights can be slow_."

## References

- Breiman, L. 1996. "Bagging predictors". Machine Learning. 24 (2): 123-140
Expand Down
2 changes: 2 additions & 0 deletions man/rmd/mars_earth.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ An alternate method for using MARs for categorical outcomes can be found in [dis
```{r child = "template-uses-case-weights.Rmd"}
```

Note that the `earth` package documentation has: "In the current implementation, _building models with weights can be slow_."

## Saving fitted model objects

```{r child = "template-butcher.Rmd"}
Expand Down
2 changes: 2 additions & 0 deletions man/rmd/mars_earth.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ This model can utilize case weights during model fitting. To use them, see the d

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

Note that the `earth` package documentation has: "In the current implementation, _building models with weights can be slow_."

## Saving fitted model objects


Expand Down

0 comments on commit acad61e

Please sign in to comment.