Skip to content
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
4 changes: 2 additions & 2 deletions man/details_auto_ml_h2o.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/details_boost_tree_h2o.Rd

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

1 change: 1 addition & 0 deletions man/details_linear_reg_gls.Rd

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

5 changes: 3 additions & 2 deletions man/details_linear_reg_h2o.Rd

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

6 changes: 4 additions & 2 deletions man/details_logistic_reg_h2o.Rd

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

14 changes: 8 additions & 6 deletions man/details_mlp_h2o.Rd

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

5 changes: 3 additions & 2 deletions man/details_multinom_reg_h2o.Rd

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

3 changes: 2 additions & 1 deletion man/details_naive_Bayes_h2o.Rd

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

5 changes: 3 additions & 2 deletions man/details_poisson_reg_h2o.Rd

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

2 changes: 1 addition & 1 deletion man/details_proportional_hazards_glmnet.Rd

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

10 changes: 6 additions & 4 deletions man/details_rand_forest_h2o.Rd

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

6 changes: 4 additions & 2 deletions man/details_rule_fit_h2o.Rd

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

1 change: 1 addition & 0 deletions man/glmnet-details.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/boost_tree_h2o.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ boost_tree(
##
## Model fit template:
## agua::h2o_train_xgboost(x = missing_arg(), y = missing_arg(),
## weights = missing_arg(), validation_frame = missing_arg(),
## col_sample_rate = integer(), ntrees = integer(), min_rows = integer(),
## max_depth = integer(), learn_rate = numeric(), min_split_improvement = numeric(),
## stopping_rounds = integer())
Expand Down Expand Up @@ -98,6 +99,7 @@ boost_tree(
##
## Model fit template:
## agua::h2o_train_xgboost(x = missing_arg(), y = missing_arg(),
## weights = missing_arg(), validation_frame = missing_arg(),
## col_sample_rate = integer(), ntrees = integer(), min_rows = integer(),
## max_depth = integer(), learn_rate = numeric(), min_split_improvement = numeric(),
## stopping_rounds = integer())
Expand Down
1 change: 1 addition & 0 deletions man/rmd/glmnet-details.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ all_tidy_coefs
## 9 (Intercept) 9 30.3 2.45 0.640
## 10 (Intercept) 10 31.1 2.23 0.673
## # … with 630 more rows
## # ℹ Use `print(n = ...)` to see more rows
```

```r
Expand Down
1 change: 1 addition & 0 deletions man/rmd/linear_reg_gls.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ lme_fit %>% tidy() %>%
## # A tibble: 0 × 6
## # … with 6 variables: term <chr>, estimate <dbl>, std.error <dbl>, df <dbl>,
## # statistic <dbl>, p.value <dbl>
## # ℹ Use `colnames()` to see all variable names
```

```r
Expand Down
5 changes: 3 additions & 2 deletions man/rmd/linear_reg_h2o.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ linear_reg(penalty = 1, mixture = 0.5) %>%
## Computational engine: h2o
##
## Model fit template:
## agua::h2o_train_glm(x = missing_arg(), y = missing_arg(), lambda = 1,
## alpha = 0.5, family = "gaussian")
## agua::h2o_train_glm(x = missing_arg(), y = missing_arg(), weights = missing_arg(),
## validation_frame = missing_arg(), lambda = 1, alpha = 0.5,
## family = "gaussian")
```

## Preprocessing requirements
Expand Down
6 changes: 4 additions & 2 deletions man/rmd/logistic_reg_h2o.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ logistic_reg() %>%
## Computational engine: h2o
##
## Model fit template:
## agua::h2o_train_glm(x = missing_arg(), y = missing_arg(), family = "binomial")
## agua::h2o_train_glm(x = missing_arg(), y = missing_arg(), weights = missing_arg(),
## validation_frame = missing_arg(), family = "binomial")
```

To use a non-default argument in [h2o::h2o.glm()], pass in as an engine argument to `set_engine()`:
Expand All @@ -58,7 +59,8 @@ logistic_reg() %>%
## Computational engine: h2o
##
## Model fit template:
## agua::h2o_train_glm(x = missing_arg(), y = missing_arg(), compute_p_values = TRUE,
## agua::h2o_train_glm(x = missing_arg(), y = missing_arg(), weights = missing_arg(),
## validation_frame = missing_arg(), compute_p_values = TRUE,
## family = "binomial")
```

Expand Down
14 changes: 8 additions & 6 deletions man/rmd/mlp_h2o.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,10 @@ mlp(
## Computational engine: h2o
##
## Model fit template:
## agua::h2o_train_mlp(x = missing_arg(), y = missing_arg(), hidden = integer(1),
## l2 = double(1), hidden_dropout_ratios = double(1), epochs = integer(1),
## activation = character(1), rate = double(1))
## agua::h2o_train_mlp(x = missing_arg(), y = missing_arg(), weights = missing_arg(),
## validation_frame = missing_arg(), hidden = integer(1), l2 = double(1),
## hidden_dropout_ratios = double(1), epochs = integer(1), activation = character(1),
## rate = double(1))
```

## Translation from parsnip to the original package (classification)
Expand Down Expand Up @@ -102,9 +103,10 @@ mlp(
## Computational engine: h2o
##
## Model fit template:
## agua::h2o_train_mlp(x = missing_arg(), y = missing_arg(), hidden = integer(1),
## l2 = double(1), hidden_dropout_ratios = double(1), epochs = integer(1),
## activation = character(1), rate = double(1))
## agua::h2o_train_mlp(x = missing_arg(), y = missing_arg(), weights = missing_arg(),
## validation_frame = missing_arg(), hidden = integer(1), l2 = double(1),
## hidden_dropout_ratios = double(1), epochs = integer(1), activation = character(1),
## rate = double(1))
```


Expand Down
5 changes: 3 additions & 2 deletions man/rmd/multinom_reg_h2o.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ multinom_reg(penalty = double(1), mixture = double(1)) %>%
## Computational engine: h2o
##
## Model fit template:
## agua::h2o_train_glm(x = missing_arg(), y = missing_arg(), family = missing_arg(),
## lambda = double(1), alpha = double(1), family = "multinomial")
## agua::h2o_train_glm(x = missing_arg(), y = missing_arg(), weights = missing_arg(),
## validation_frame = missing_arg(), lambda = double(1), alpha = double(1),
## family = "multinomial")
```

## Preprocessing requirements
Expand Down
3 changes: 2 additions & 1 deletion man/rmd/naive_Bayes_h2o.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ naive_Bayes(Laplace = numeric(0)) %>%
## Computational engine: h2o
##
## Model fit template:
## agua::h2o_train_nb(x = missing_arg(), y = missing_arg(), laplace = numeric(0))
## agua::h2o_train_nb(x = missing_arg(), y = missing_arg(), weights = missing_arg(),
## validation_frame = missing_arg(), laplace = numeric(0))
```

## Initializing h2o
Expand Down
5 changes: 3 additions & 2 deletions man/rmd/poisson_reg_h2o.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ poisson_reg(penalty = double(1), mixture = double(1)) %>%
## Computational engine: h2o
##
## Model fit template:
## agua::h2o_train_glm(x = missing_arg(), y = missing_arg(), lambda = double(1),
## alpha = double(1), family = "poisson")
## agua::h2o_train_glm(x = missing_arg(), y = missing_arg(), weights = missing_arg(),
## validation_frame = missing_arg(), lambda = double(1), alpha = double(1),
## family = "poisson")
```

## Preprocessing requirements
Expand Down
2 changes: 1 addition & 1 deletion man/rmd/proportional_hazards_glmnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ proportional_hazards(penalty = double(1), mixture = double(1)) %>%
## Computational engine: glmnet
##
## Model fit template:
## censored::glmnet_fit_wrapper(formula = missing_arg(), data = missing_arg(),
## censored::coxnet_train(formula = missing_arg(), data = missing_arg(),
## weights = missing_arg(), alpha = double(1))
```

Expand Down
10 changes: 6 additions & 4 deletions man/rmd/rand_forest_h2o.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ rand_forest(
## Computational engine: h2o
##
## Model fit template:
## agua::h2o_train_rf(x = missing_arg(), y = missing_arg(), mtries = integer(1),
## ntrees = integer(1), min_rows = integer(1))
## agua::h2o_train_rf(x = missing_arg(), y = missing_arg(), weights = missing_arg(),
## validation_frame = missing_arg(), mtries = integer(1), ntrees = integer(1),
## min_rows = integer(1))
```

`min_rows()` and `min_cols()` will adjust the number of neighbors if the chosen value if it is not consistent with the actual data dimensions.
Expand Down Expand Up @@ -75,8 +76,9 @@ rand_forest(
## Computational engine: h2o
##
## Model fit template:
## agua::h2o_train_rf(x = missing_arg(), y = missing_arg(), mtries = integer(1),
## ntrees = integer(1), min_rows = integer(1))
## agua::h2o_train_rf(x = missing_arg(), y = missing_arg(), weights = missing_arg(),
## validation_frame = missing_arg(), mtries = integer(1), ntrees = integer(1),
## min_rows = integer(1))
```

## Preprocessing requirements
Expand Down
6 changes: 4 additions & 2 deletions man/rmd/rule_fit_h2o.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ rule_fit(
## Computational engine: h2o
##
## Model fit template:
## agua::h2o_train_rule(x = missing_arg(), y = missing_arg(), rule_generation_ntrees = integer(1),
## agua::h2o_train_rule(x = missing_arg(), y = missing_arg(), weights = missing_arg(),
## validation_frame = missing_arg(), rule_generation_ntrees = integer(1),
## max_rule_length = integer(1), lambda = numeric(1))
```

Expand Down Expand Up @@ -94,7 +95,8 @@ rule_fit(
## Computational engine: h2o
##
## Model fit template:
## agua::h2o_train_rule(x = missing_arg(), y = missing_arg(), rule_generation_ntrees = integer(1),
## agua::h2o_train_rule(x = missing_arg(), y = missing_arg(), weights = missing_arg(),
## validation_frame = missing_arg(), rule_generation_ntrees = integer(1),
## max_rule_length = integer(1), lambda = numeric(1))
```

Expand Down