RotMatRF | R Documentation |
Create a projection matrix with coefficient 1 and 0 such that the ODRF (ODT) has the same partition variables as the Random Forest (CART).
RotMatRF(dimX, numProj, catLabel = NULL, ...)
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. |
A random matrix to use in running ODT
.
Variable: Variables to be projected.
Number: Number of projections.
Coefficient: Coefficients of the projection matrix.
RotMatPPO
RotMatRand
RotMatMake
paramList <- list(dimX = 8, numProj = 3, catLabel = NULL)
set.seed(2)
(RotMat <- do.call(RotMatRF, paramList))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.