predict.MEml: Predictions for MEml Make predictions using fitted MEml...

Description Usage Arguments Value Author(s)

Description

Predictions for MEml Make predictions using fitted MEml models: MEgbm, MEgbmrules, MErfrules, MEglmtree, MECTree, etc.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
predict.MECTree(object, newdata, type = c("prob", "class")[1], ...)

mkNewReTrms(object, newdata, re.form = NULL, allow.new.levels = FALSE)

mkNewReTrmsV2(object, newdata, re.form = NULL, na.action = na.pass,
  allow.new.levels = FALSE)

predict.MEglmTree(object, newdata, type = c("prob", "class")[1], ...)

predict.MEgbm(object, newdata, type = c("prob", "raw")[1], ...)

predict.MEgbmRules(object, newdata, type = c("prob", "class")[1], ...)

predict.MErfRules(object, newdata, type = c("prob", "class")[1], ...)

predict.MEmixgbm(object, newdata, type = c("prob", "class")[1], ...)

Arguments

object

Fitted model from MECtree.

newdata

A new input data frame.

type

of prediction: "prop" for probabilities and "class" for class labels.

...

Further arguments passed to or from other methods.

Value

A list with items

prob

predicted class probabilities

class

predicted class memberships obtained by thresholding class probabilities at the prevalence rate of the positive class

Author(s)

Che Ngufor Ngufor.Che@mayo.edu


nguforche/Vira documentation built on June 2, 2019, 9:08 p.m.