Description Usage Arguments Value Author(s) References See Also Examples
Uses class-specific cores to compute local proections. The core distances and the orthogonal distance of each local projection are used to compute an LDA model. The models are then aggregated to an overall model.
1 | localDiscrimination(data, class, k, dist=NULL)
|
data |
A data matrix containing the training data for the local projection based discrimination model. The observations are stored row-wise. |
class |
The class of observations, stored as a factor variable. |
k |
A tung parameter determining the degree of locality to be used for the local projections. It can be set to any natural number between 3 and the smallest group size-1. A good starting point is 50% of the smallest group size. |
core |
The indices of observations used for the core. |
group |
The class of the observation initializing the local projection. |
projection |
A projection matrix used to project obersvations onto the core space. Computed using an SVD. |
vf |
Variable Filter. Variables with no variation within the core observations are removed as they cannot be re-scaled. |
location |
Estimation of location. |
scale |
Estimation of scatter. |
core.location |
Core based estimation of location. |
core.scale |
Core based estimation of scatter. |
frequency |
The frequency of the core occuring. |
quality |
A class specific description of the quality of the LDA model. |
cv.posterior |
Matrix of oosterior probabilities for each observation for each class computey by cross validation. |
lda |
The local LDA model of class "lda" |
df.core |
The centered and scaled core representation of the training observations. |
Thomas Ortner (thomas.ortner@tuwien.ac.at)
Ortner, T., Hoffmann, I., Filzmoser, P., Zaharieva, M., Breiteneder, C., and Brodinova, S., ā€¯Multigroup discrimination based on weighted local projections. Submitted to Journal of Computational and Graphical Statistics.
See Also predict.localDiscrimination, plot.localDiscrimination
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.