Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

SnnsRObject-somPredictCurrPatSetWinners

Get most of the relevant results from a som


Description

SnnsR low-level function to get most of the relevant results from a SOM.

Usage

## S4 method for signature 'SnnsR'
somPredictCurrPatSetWinners(updateFuncParams=c(0.0, 0.0, 1.0), 
saveWinnersPerPattern=TRUE, targets=NULL)

Arguments

updateFuncParams

parameters passed to the networks update function

saveWinnersPerPattern

should a list with the winners for every pattern be saved?

targets

optional target classes of the patterns

Value

a list with three elements:

nWinnersPerUnit

For each unit, the amount of patterns where this unit won is given. So, this is a 1d vector representing the normal version of the som.

winnersPerPattern

a vector where for each pattern the number of the winning unit is given. This is an intermediary result that normally won't be saved.

labeledUnits

a matrix which – if the targets parameter is given – contains for each unit (rows) and each class present in the targets (columns), the amount of patterns of the class where the unit has won. From the labeledUnits, the labeledMap can be computed, e.g. by voting of the class labels for the final label of the unit.

See Also


RSNNS

Neural Networks using the Stuttgart Neural Network Simulator (SNNS)

v0.4-12
LGPL (>= 2) | file LICENSE
Authors
Christoph Bergmeir [aut, cre, cph], José M. Benítez [ths], Andreas Zell [ctb] (Part of original SNNS development team), Niels Mache [ctb] (Part of original SNNS development team), Günter Mamier [ctb] (Part of original SNNS development team), Michael Vogt [ctb] (Part of original SNNS development team), Sven Döring [ctb] (Part of original SNNS development team), Ralf Hübner [ctb] (Part of original SNNS development team), Kai-Uwe Herrmann [ctb] (Part of original SNNS development team), Tobias Soyez [ctb] (Part of original SNNS development team), Michael Schmalzl [ctb] (Part of original SNNS development team), Tilman Sommer [ctb] (Part of original SNNS development team), Artemis Hatzigeorgiou [ctb] (Part of original SNNS development team), Dietmar Posselt [ctb] (Part of original SNNS development team), Tobias Schreiner [ctb] (Part of original SNNS development team), Bernward Kett [ctb] (Part of original SNNS development team), Martin Reczko [ctb] (Part of original SNNS external contributors), Martin Riedmiller [ctb] (Part of original SNNS external contributors), Mark Seemann [ctb] (Part of original SNNS external contributors), Marcus Ritt [ctb] (Part of original SNNS external contributors), Jamie DeCoster [ctb] (Part of original SNNS external contributors), Jochen Biedermann [ctb] (Part of original SNNS external contributors), Joachim Danz [ctb] (Part of original SNNS development team), Christian Wehrfritz [ctb] (Part of original SNNS development team), Patrick Kursawe [ctb] (Contributors to SNNS Version 4.3), Andre El-Ama [ctb] (Contributors to SNNS Version 4.3)
Initial release
2019-09-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.