Skip to content

Fix a couple of documentation typos. #317

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 3 commits into from
May 22, 2020
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
2 changes: 1 addition & 1 deletion R/decision_tree.R
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ print.decision_tree <- function(x, ...) {

#' @export
#' @inheritParams update.boost_tree
#' @param object A random forest model specification.
#' @param object A decision tree model specification.
#' @examples
#' model <- decision_tree(cost_complexity = 10, min_n = 3)
#' model
Expand Down
4 changes: 2 additions & 2 deletions R/mlp.R
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#' @param dropout A number between 0 (inclusive) and 1 denoting the proportion
#' of model parameters randomly set to zero during model training.
#' @param epochs An integer for the number of training iterations.
#' @param activation A single character strong denoting the type of relationship
#' @param activation A single character string denoting the type of relationship
#' between the original predictors and the hidden unit layer. The activation
#' function between the hidden and output layers is automatically set to either
#' "linear" or "softmax" depending on the type of outcome. Possible values are:
Expand Down Expand Up @@ -105,7 +105,7 @@ print.mlp <- function(x, ...) {
#'
#' @export
#' @inheritParams update.boost_tree
#' @param object A random forest model specification.
#' @param object A multilayer perceptron model specification.
#' @examples
#' model <- mlp(hidden_units = 10, dropout = 0.30)
#' model
Expand Down