xrf (version 0.2.0)

xrf: Fit an eXtreme RuleFit model

Description

S3 method for building an "eXtreme RuleFit" model. See xrf.formula for preferred entry point

Usage

xrf(object, ...)

Arguments

object

an object describing the model to be fit

...

additional arguments

Examples

Run this code
# NOT RUN {
m <- xrf(Petal.Length ~ ., iris,
         xgb_control = list(nrounds = 20, max_depth = 2),
         family = 'gaussian')

# }

Run the code above in your browser using DataLab