https://github.com/cran/DatabionicSwarm
Raw File
Tip revision: f6de06577b06bc6552963bf8d828d1d247404086 authored by Michael Thrun on 13 October 2023, 11:30:02 UTC
version 1.2.1
Tip revision: f6de065
trainstepC.Rd
\name{trainstepC}
\alias{trainstepC}
\title{
Internal function for sESOM
}
\description{
Does the training for fixed bestmatches in one epoch of the sESOM algorithm (see [Thrun, 2018] for details).
}
\usage{
trainstepC(vx,vy, DataSampled,BMUsampled,Lines,Columns, Radius, toroid)
}
\arguments{
\item{vx}{array [1:Lines,1:Columns,1:Weights], WeightVectors that will be
trained, internally transformed von NumericVector to cube}
\item{vy}{array [1:Lines,1:Columns,1:2], meshgrid for output distance
computation}
\item{DataSampled}{NumericMatrix, n cases shuffled Dataset[1:n,1:d] by
\code{sample} }
\item{BMUsampled}{NumericMatrix, n cases shuffled BestMatches[1:n,1:2] by
\code{sample} in the same way as \code{DataSampled}}
\item{Lines}{double, Height of the grid}
\item{Columns}{double, Width of the grid}
\item{Radius}{double, The current Radius that should be used to define
neighbours to the bm}
\item{toroid}{bool, Should the grid be considered with cyclically connected
borders?}
}
\value{WeightVectors, array[1:Lines,1:Columns,1:weights] with the adjusted Weights}
\details{
Algorithm is described in [Thrun, 2018, p. 48, Listing 5.1].
}
\note{Usually not for seperated usage!}
\references{
[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, \doi{10.1007/978-3-658-20540-9}, 2018. 
}
\author{
Michael Thrun
}
back to top