lol.project.dp: Data Piling

Description Usage Arguments Value Details Author(s) Examples

View source: R/dp.R

Description

A function for implementing the Maximal Data Piling (MDP) Algorithm.

Usage

1

Arguments

X

[n, d] the data with n samples in d dimensions.

Y

[n] the labels of the samples with K unique labels.

...

optional args.

Value

A list containing the following:

A

[d, r] the projection matrix from d to r dimensions.

ylabs

[K] vector containing the K unique, ordered class labels.

centroids

[K, d] centroid matrix of the K unique, ordered classes in native d dimensions.

priors

[K] vector containing the K prior probabilities for the unique, ordered classes.

Xr

[n, r] the n data points in reduced dimensionality r.

cr

[K, r] the K centroids in reduced dimensionality r.

Details

For more details see the help vignette: vignette("dp", package = "lolR")

Author(s)

Minh Tang and Eric Bridgeford

Examples

1
2
3
4
library(lolR)
data <- lol.sims.rtrunk(n=200, d=30)  # 200 examples of 30 dimensions
X <- data$X; Y <- data$Y
model <- lol.project.dp(X=X, Y=Y)  # use mdp to project into maximal data piling

neurodata/lol documentation built on Oct. 17, 2018, 8:58 a.m.