Types
SOM.Som
— Type.struct Som
Structure to hold all data of a trained SOM.
Fields:
codes::Array{Float64,2}
: 2D-array of codebook vectors. One vector per rowcolNames::Array{String,1}
: names of the attribute with which the SOM is trainednormParams::DataFrame
: normalisation parameters for each column of training data. Column headers corresponds with colNames.norm::Symbol
: normalisation type; one of:none, :minmax, :zscore
xdim::Int
: number of neurons in x-directionydim::Int
: number of neurons in y-directionnCodes::Int
: total number of neuronsgrid::Array{Float64,2}
: 2D-array of coordinates of neurons on the map (2 columns (x,y)] for rectangular and hexagonal maps 3 columns (x,y,z) for spherical maps)indices::DataFrame
: X-, Y-indices of the neuronstopol::Symbol
: topology of the SOM; one of:rectangular, :hexagonal, :spherical
toroidal::Bool
: iftrue
, the SOM is toroidal (has no edges)population::Array{Int,1}
: 1D-array of numbers of training samples mapped to each neuron.