Skip to content

Commit cf06205

Browse files
DavisVaughantopepo
andauthored
Don't link to mixOmics (#751)
* Don't link to mixOmics This causes a Note about mixOmics not being available for cross referencing when parsnip is checked as a revdep of any package that it depends on, like hardhat. That forces a manual inspection by CRAN. * hardhat update * re-doc Co-authored-by: Max Kuhn <[email protected]>
1 parent d879482 commit cf06205

22 files changed

+47
-38
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Imports:
2525
ggplot2,
2626
globals,
2727
glue,
28-
hardhat (>= 1.0.0),
28+
hardhat (>= 1.1.0),
2929
lifecycle,
3030
magrittr,
3131
prettyunits,

man/rmd/C5_rules_C5.0.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ For this engine, there is a single mode: classification
77

88

99

10-
This model has 1 tuning parameters:
10+
This model has 2 tuning parameters:
1111

1212
- `trees`: # Trees (type: integer, default: 1L)
1313

14+
- `min_n`: Minimal Node Size (type: integer, default: 2L)
15+
1416
Note that C5.0 has a tool for _early stopping_ during boosting where less iterations of boosting are performed than the number requested. `C5_rules()` turns this feature off (although it can be re-enabled using [C50::C5.0Control()]).
1517

1618
## Translation from parsnip to the underlying model call (classification)

man/rmd/bag_tree_rpart.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ bag_tree(tree_depth = integer(1), min_n = integer(1), cost_complexity = double(1
107107
##
108108
## Model fit template:
109109
## ipred::bagging(formula = missing_arg(), data = missing_arg(),
110-
## cp = double(1), maxdepth = integer(1), minsplit = integer(1))
110+
## weights = missing_arg(), cp = double(1), maxdepth = integer(1),
111+
## minsplit = integer(1))
111112
```
112113

113114

man/rmd/boost_tree_mboost.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ boost_tree() %>%
4242
##
4343
## Model fit template:
4444
## censored::blackboost_train(formula = missing_arg(), data = missing_arg(),
45-
## family = mboost::CoxPH())
45+
## weights = missing_arg(), family = mboost::CoxPH())
4646
```
4747

4848
`censored::blackboost_train()` is a wrapper around [mboost::blackboost()] (and other functions) that makes it easier to run this model.

man/rmd/decision_tree_partykit.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ decision_tree(tree_depth = integer(1), min_n = integer(1)) %>%
104104
##
105105
## Model fit template:
106106
## parsnip::ctree_train(formula = missing_arg(), data = missing_arg(),
107-
## maxdepth = integer(1), minsplit = min_rows(0L, data))
107+
## weights = missing_arg(), maxdepth = integer(1), minsplit = min_rows(0L,
108+
## data))
108109
```
109110

110111
`censored::cond_inference_surv_ctree()` is a wrapper around [partykit::ctree()] (and other functions) that makes it easier to run this model.

man/rmd/decision_tree_rpart.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ decision_tree(
9999
##
100100
## Model fit template:
101101
## pec::pecRpart(formula = missing_arg(), data = missing_arg(),
102-
## cp = double(1), maxdepth = integer(1), minsplit = min_rows(0L,
103-
## data))
102+
## weights = missing_arg(), cp = double(1), maxdepth = integer(1),
103+
## minsplit = min_rows(0L, data))
104104
```
105105

106106
## Preprocessing requirements

man/rmd/discrim_flexible_earth.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@ discrim_flexible(
4444
## Computational engine: earth
4545
##
4646
## Model fit template:
47-
## mda::fda(formula = missing_arg(), data = missing_arg(), nprune = integer(0),
48-
## degree = integer(0), pmethod = character(0), method = earth::earth)
47+
## mda::fda(formula = missing_arg(), data = missing_arg(), weights = missing_arg(),
48+
## nprune = integer(0), degree = integer(0), pmethod = character(0),
49+
## method = earth::earth)
4950
```
5051

5152
## Preprocessing requirements

man/rmd/discrim_linear_mda.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ discrim_linear(penalty = numeric(0)) %>%
3434
## Computational engine: mda
3535
##
3636
## Model fit template:
37-
## mda::fda(formula = missing_arg(), data = missing_arg(), lambda = numeric(0),
38-
## method = mda::gen.ridge, keep.fitted = FALSE)
37+
## mda::fda(formula = missing_arg(), data = missing_arg(), weights = missing_arg(),
38+
## lambda = numeric(0), method = mda::gen.ridge, keep.fitted = FALSE)
3939
```
4040

4141
## Preprocessing requirements

man/rmd/gen_additive_mod_mgcv.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ gen_additive_mod(adjust_deg_free = numeric(1), select_features = logical(1)) %>%
2626
```
2727

2828
```
29-
## GAM Specification (regression)
29+
## GAM Model Specification (regression)
3030
##
3131
## Main Arguments:
3232
## select_features = logical(1)
@@ -50,7 +50,7 @@ gen_additive_mod(adjust_deg_free = numeric(1), select_features = logical(1)) %>%
5050
```
5151

5252
```
53-
## GAM Specification (classification)
53+
## GAM Model Specification (classification)
5454
##
5555
## Main Arguments:
5656
## select_features = logical(1)

man/rmd/mlp_brulee.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ mlp(
5353
```
5454

5555
```
56-
## Single Layer Neural Network Specification (regression)
56+
## Single Layer Neural Network Model Specification (regression)
5757
##
5858
## Main Arguments:
5959
## hidden_units = integer(1)
@@ -91,7 +91,7 @@ mlp(
9191
```
9292

9393
```
94-
## Single Layer Neural Network Specification (classification)
94+
## Single Layer Neural Network Model Specification (classification)
9595
##
9696
## Main Arguments:
9797
## hidden_units = integer(1)

0 commit comments

Comments
 (0)