RotMatRF {ODRF} | R Documentation |
Create a Projection Matrix: Random Forest (RF)
Description
Create a projection matrix with coefficient 1 and 0 such that the ODRF (ODT) has the same partition variables as the Random Forest (CART).
Usage
RotMatRF(dimX, numProj, catLabel = NULL, ...)
Arguments
dimX |
The number of dimensions. |
numProj |
The number of projection directions (default ceiling(sqrt( |
catLabel |
A category labels of class |
... |
Used to handle superfluous arguments passed in using paramList. |
Value
A random matrix to use in running ODT
.
Variable: Variables to be projected.
Number: Number of projections.
Coefficient: Coefficients of the projection matrix.
See Also
RotMatPPO
RotMatRand
RotMatMake
Examples
paramList <- list(dimX = 8, numProj = 3, catLabel = NULL)
set.seed(2)
(RotMat <- do.call(RotMatRF, paramList))
[Package ODRF version 0.0.4 Index]