Skip to content

notes of using the earth package with case weights #992

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 1 commit into from
Jul 20, 2023
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_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