fastolda | R Documentation |
Perform a fast Orthogonal Linear Discriminant Analysis (OLDA) based on provided data and class labels.
fastolda(X, Y, preproc = center(), reg = 0.01)
X |
A |
Y |
A |
preproc |
A pre-processing step, such as |
reg |
A |
This function performs OLDA by pre-processing the data, computing difference-based scatter matrices, and then solving for a discriminant projection.
The final result is returned as a discriminant_projector
object from the multivarious
package.
A discriminant_projector
object containing:
rotation
: The matrix of loadings (d x r) where r is the reduced dimension.
s
: The scores matrix (n x r), i.e., X %*% rotation
.
sdev
: Standard deviations of the scores.
labels
: The class labels.
preproc
: The preprocessing object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.