Learn R Programming

rerf (version 2.0.4)

RandMatRF: Create a Random Matrix: Random Forest (RF)

Description

Create a Random Matrix: Random Forest (RF)

Usage

RandMatRF(p, d, catMap = NULL, ...)

Arguments

p

the number of dimensions.

d

the number of desired columns in the projection matrix.

catMap

a list specifying specifies which one-of-K encoded columns in X correspond to the same categorical feature.

...

used to handle superfluous arguments passed in using paramList.

Value

A random matrix to use in running RerF.

Examples

Run this code
# NOT RUN {
p <- 8
d <- 3
paramList <- list(p = p, d = d)
set.seed(4)
(a <- do.call(RandMatRF, paramList))
# }

Run the code above in your browser using DataLab