Learn R Programming

DRquality (version 0.2.1)

RAAR: Rescaled average agreement rate

Description

Rescaled average agreement rate deduced by the co-ranking matrix from LCMC.

Usage

RAAR(Data, ProjectedPoints, kmax = nrow(Data) - 2, PlotIt = TRUE)

Value

A list containing:

Raar

Rescaled average agreement rate

Aar

Average agreement rate

Arguments

Data

Matrix containing n cases in rows, d variables in columns or a distance matrix which in this case has to be symmetric

ProjectedPoints

n by OutputDimension matrix containing coordinates of the Projection

kmax

maximum of intervall 1:kmax of k nearest neighbors

PlotIt

Optional: Should the output be plottet. Default: TRUE

Author

Michael Thrun

References

Lee, J. A., Peluffo-Ordonez, D. H., & Verleysen, M. Multiscale stochastic neighbor embedding: Towards parameter-free dimensionality reduction. Paper presented at the Proceedings of 22st European Symposium on Artificial Neural Networks, Computational Intelligence And Machine Learning (ESANN) (2014).

Examples

Run this code
# \donttest{
if(requireNamespace("FCPS")){
data(Hepta,package="FCPS")
projection=cmdscale(dist(Hepta$Data), k=2)
RAAR(Hepta$Data,projection,kmax=nrow(Hepta$Data)-2,PlotIt=TRUE)
}
# }
# \dontshow{
n=100
Data=cbind(rnorm(100),rnorm(100,2,3))
RAAR(Data,cbind(runif(n),runif(n)),kmax=nrow(Data)-2,PlotIt=TRUE)
# }

Run the code above in your browser using DataLab