PolarSwarm | R Documentation |
Swarm-based Projection method using game theory published in [Thrun/Ultsch, 2020].
PolarSwarm(DataOrDistances, method = "euclidean", PlotIt = FALSE, Cls)
DataOrDistances |
Numerical matrix defined as either
or
|
method |
If |
PlotIt |
Default: FALSE, If TRUE: Plots the projection as a 2d visualization. OutputDimension>2: only the first two dimensions will be shown |
Cls |
Optional,: only relevant if PlotIt=TRUE. Numeric vector, given Classification in numbers: every element is the cluster number of a certain corresponding element of data. |
By exploting swarm intelligence and game theory no parameter have to be set.
List of
ProjectedPoints |
[1:n,2], n by 2 matrix containing coordinates of the Projection |
ModelObject |
output of |
Michael Thrun
[Thrun/Ultsch, 2020] Thrun, M. C., & Ultsch, A.: Swarm Intelligence for Self-Organized Clustering, Artificial intelligence, Vol. 290, pp. 103237, doi 10.1016/j.artint.2020.103237, 2020.
Pswarm
data('Hepta')
Data=Hepta$Data
Distances=as.matrix(dist(Data))
Proj=PolarSwarm(Data)
## Not run:
PlotProjectedPoints(Proj$ProjectedPoints,Hepta$Cls)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.