Skip to content

Commit

Permalink
upd roxygen
Browse files Browse the repository at this point in the history
  • Loading branch information
pat-s committed May 26, 2019
1 parent 41966a7 commit 7207207
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions R/RLearner_regr_randomForest.R
Expand Up @@ -165,11 +165,11 @@ bootstrapStandardError = function(.learner, .model, .newdata,
}

# Computes the mc bias-corrected jackknife after bootstrap
# @param aggregated.predictions [\code{vector(n)}]
# @param aggregated.predictions `vector(n)`
# Vector of length n of predictions, aggregated over all individual predictions
# @param individual.predictions [\code{matrix}]
# @param individual.predictions `matrix`
# The individual predictions. Each row represents one individual and each column represents the predictions of one base learner.
# @param bag.counts [\code{matrix}]
# @param bag.counts `matrix`
# These are the inbag counts of the model. Each row represents an observation of the training set and each row represents one base learner.
# The number indicates how often this observation exists in the bootstrap sample for the respective base learner.
jacknifeStandardError = function(aggregated.predictions, individual.predictions, bag.counts) {
Expand All @@ -189,7 +189,7 @@ jacknifeStandardError = function(aggregated.predictions, individual.predictions,
}

# computes the standard deviation across trees
# @param individual.predictions [\code{matrix}]
# @param individual.predictions `matrix`
# The individual predictions. Each row represents one individual and each column represents the predictions of one base learner.
sdStandardError = function(individual.predictions) {
apply(individual.predictions, 1, sd)
Expand Down

0 comments on commit 7207207

Please sign in to comment.