basis_onpp {spinifex} | R Documentation |
The basis of Orthogonal Neighborhood Preserving Projection (OLPP)
Description
Orthogonal Neighborhood Preserving Projection (ONPP) is an unsupervised
linear dimension reduction method. It constructs a weighted data graph from
LLE method. Also, it develops LPP method by preserving the structure of local
neighborhoods. For the more details on type
see
Rdimtools::aux.graphnbd()
.
Usage
basis_onpp(data, d = 2, type = c("knn", sqrt(nrow(data))))
Arguments
data |
Numeric matrix or data.frame of the observations, coerced to matrix. |
d |
Number of dimensions in the projection space. |
type |
A vector specifying the neighborhood graph construction.
Expects; |
Value
Orthogonal matrix basis that distinguishes the levels of class
based on local and non-local variation as weighted against the neighborhood
graph.
References
He X (2005). Locality Preserving Projections. PhD Thesis, University of Chicago, Chicago, IL, USA.
See Also
Rdimtools::aux.graphnbd
for
details on type
.
Other basis producing functions:
basis_guided()
,
basis_half_circle()
,
basis_odp()
,
basis_olda()
,
basis_pca()
Examples
dat <- scale_sd(wine[, 2:6])
basis_onpp(data = dat)