powered by
Automatically sets the size of the grid, formula see [Thrun, 2018, p. 93-94].
setGridSize(InputDistances,minp=0.01,maxp=0.99,alpha=4, Verbose = 0)
LC=c(Lines, Columns) size of the grid for Pswarm
Pswarm
[1:n,1:n] symmetric matrix of input distances
default value: 0.01,see quantile, first value in the vector of probs estimates robust minimum of distances
quantile
probs
default value: 0.99, see quantile, last value of the vector of probs estimates robust maximum of distances
Do not change! Intern parameter, Only if Java Version of Pswarm instead of C++ version is used.
optional, integer stating degree of textual feedback. 0 = no output, 1 = basic notifications, 2 = progress bar, 3 = details.
Michael Thrun, Florian Lerch
grid is set such that minimum and maximum distances can be shown on the grid
[Thrun, 2018] Thrun, M. C.: Projection Based Clustering through Self-Organization and Swarm Intelligence, doctoral dissertation 2017, Springer, Heidelberg, ISBN: 978-3-658-20539-3, tools:::Rd_expr_doi("10.1007/978-3-658-20540-9"), 2018.
automatic choice of LC for Pswarm
data("Lsun3D") Data=Lsun3D$Data Cls=Lsun3D$Cls InputDistances=as.matrix(dist(Data)) #If not called separately setGridSize() is called in Pswarm LC=setGridSize(InputDistances)
Run the code above in your browser using DataLab