Create a projection matrix with coefficient 1 and 0 such that the ODRF (ODT) has the same partition variables as the Random Forest (CART).
Arguments
- dimX
The number of dimensions.
- numProj
The number of projection directions (default ceiling(sqrt(
dimX
))).- catLabel
A category labels of class
list
in predictors. (default NULL, for details see Examples ofODT
)- ...
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.