big.model.matrix: Create a model frame when there are many predictors.

Description Usage Arguments Details

View source: R/helpers.R

Description

Create a model frame when there are many predictors.

Usage

1
big.model.matrix(fo, data, n.cores)

Arguments

fo

A formula.

data

A data frame.

n.cores

The number of cores to use in parallel processing.

Details

The function breaks the formula's right had side into it's component part, and uses each to construct a model matrix without an intercept. So the returned object has no intercept, but xgboost ought to be able to cope.


harrysouthworth/mhdm documentation built on Feb. 4, 2022, 12:25 a.m.