3833474386

3833474386



5


2 LIST NB. 2. MULTILAYER PERCEPTRON (MLP)

Ex. 2.6. * Important! Calculate the first derivative of the logistic activation function

Ex. 2.7. * The tangens hiperbolicus (tanh) activation function is defined as:

—oo < o < oo, 0 > 0


Plot the tanh activation function using various values of the parameter 0.

Show that the tanh function eq.(3) can be expressed by the logistic fiogi eq.(2) function as follows

ftanh{x) = 2flogi{x) - 1.

Ex. 2.8. ** (book by Osowski 1996 p. 39) Show that the derivative of the tanh activation function is equal to


or, alternatively, this derivative may be expressed through the logistic activation function as

Ex. 2.9. ** Say, we consider only the two first attributes of the ińs flowers (i.e. the first two colurans of the data matrix iris).

Define an additional data vector ind of size 150 (=n, the total nb of rows in the iris data. The vector should take only values 1, 2, 3 - depending on the group the żth flower belongs to:

1,    if the ith flower is Setosa

ind(i)i=


2,    if the ith flower is Versicolor

3,    id the ith flower is Virginica 0, otherwise.

Using the plot function, make a scatterplot displaying each iris flower - characterized by its first two attributes with a marker and color specific for the group of irises, the subsequent flower belongs to.

Ex. 2.11 Run the demo: nnd4db - decision boundary. Explain the principles of its work.

Ex. 2.12 Run the demo: nndlOlc learning classification. Explain the principles of its work.

Ex. 2.13 Run the demo: nndlOnc - noise cancellation. Explain the principles of its work.

Ex. 2.15 Matlab functions for dealing with MLP

The functions for creating, training and working with MLP are:

[function net = mlp(nin, nhidden, nout, outfunc);]

Creates a network called ’net’ with one hidden layer. Input parameters: nin - number of inputs, denoted by us as ’d’



Wyszukiwarka

Podobne podstrony:
2 LIST NB. 2. MULTILAYER PERCEPTRON (MLP)2 List nb. 2. Multilayer perceptron (MLP) symbol means ’pre
6 2 LIST NB. 2. MULTILAYER PERCEPTRON (MLP) nhidden number of hidden units denoted by us as ’H’ nout
I LIST NB. 1. WORKING WITH MATLAB cc= HH; /, [4 5 6 7 8 9 ];    % x-variables in the
9. Chemical kinetics - calculating the ratę constant of the reactions and the progress of elementary
To calculate the conduction heat loss, q5, from the extemal wali to the surrounding area, the total
Suzuki RM250 9 14 GENERAL INFORMATION A WARNING *    Proper semce and repair procedur
11 11 2 T topie explain that the topie of the speech is is important to the audience.
17.7.2000 lENl Official Journal of the European Communities L 178/7 (50) It is important that t
17.7.2000 lENl Official Journal of the European Communities L 178/7 (50) It is important that t
image050 xJ hi Data Needed for Casson Calculations This program calculates a least-squares fil of ra
image051 (2) «* Data Needed for Casson Calcułationsxj This piogiam całculates a laast-squa»es fit of
img36 EX.3. Smali Angle Scattering SAXS image of nanocrystalline SiC measured at BI, HASYLAB, DESY S
182 STRESS ANALYSIS A General method of calculating the effect of axial constraint on torsions of di
MR293R19057 1 IMPORTANT If the screan is removed ueing an oscillating blade type cutter, one must:
2. 2. 3. www.mtuexam.blogspot.in 10 W/m2.K. Calculate the value of highcst current that may bc passe
UHAM098 Checklist This list is intended to help you to determine the type of headache you are likely
5a (40) 1.4. Expression of results Calculate the active MgO and CaO content as CaO from the eguation

więcej podobnych podstron