3833474387

3833474387



6


2 LIST NB. 2. MULTILAYER PERCEPTRON (MLP)

nhidden number of hidden units denoted by us as ’H’ nout - number of outputs, denoted by us as ’c’

outfunc transfer function used by the output layer ('linear', 'logistic', softmax’)

[function [net, options] = netopt(net, options, x, t, alg); | Function for training the created ’net’ network with the training data ’x’ (of size nl x d) and target data ’t’ of size nl x nout. Options for training and kind output are given in the vector options(l:18) — consult the function glm for the meaning of individual elements of options.

The function 'netopt' accepts as ’alg’ the following algorithms:

'conjgrad’, ’quasinew’, ’scg’.

[function [y] = mlpfwd(net, x)7] Function using the learned network ’net’ for performing the de-sired task from the domain of regression (predictions) and classification. The task is performed for data ’x’ of size nxd. The output is ’y’ of size n x c = nout.

We may wish to obtain in the output additional information about the work of the hidden layer. Then we cali [y.z.a] = mlpfwd(net, x);

The network output matrix ’z’ of size n x H contains the (transformed by tank) output of the hidden layer forwarded to the output layer.

The network output matrix ’a’ of size n x c contains the activations of the output neurons before applying to them the transfer function ’outfun’ attached to the ’net’ network.

Ex. 2.15 Calculate a decision boundary for the iris flowers belonging to the subgroups ’setosa’ and ’versicolor’. Calculations for 2 variables only.

Create from the available data iris(l:100, 1:2) a training set and a test set. Create an appropriate network, train it using the established training data.

Examine the structure of the Matlab struct ’net’.

Ex. 2.16 Check the performance of the network, using the established 'test data’.

Visualize graphically the obtained results and write a comment on the behavior of the trained network.

Ex. 2.17 * Confusion matrix. Use the functions | fh=conffig(y, t) | or function [C,rate]=confmat(Y,T)-for visualization of the results obtained in Exercise 2.15 (ąuality of discrimination between the two species of iris) yielded by the network 'net'.



Wyszukiwarka

Podobne podstrony:
5 2 LIST NB. 2. MULTILAYER PERCEPTRON (MLP) Ex. 2.6. * Important! Calculate the first derivative of
2 LIST NB. 2. MULTILAYER PERCEPTRON (MLP)2 List nb. 2. Multilayer perceptron (MLP) symbol means ’pre
326 Great Basin Natura list MemoirsNo. 11 __ 1973. Comparative sterol composition of adult fe- male
ST Z11 16 ST-Z11■ REPLACEMENT PARTS LIST. ..Cabinet & Chassis Parts Notes: 1. Part numbers are i
I LIST NB. 1. WORKING WITH MATLAB cc= HH; /, [4 5 6 7 8 9 ];    % x-variables in the
306 LE POUVOIR SUBLIMINAL from unconscious perceptual processes. Canadian Journal of Psychology, 40,
IRC 23:04:51 File Windows Join List Query Spec id 1 - IRC session -1-1 —End of /MOTD coiwnan [?=[■]
Workshop on Multilingual Language Acquisition, Processing and Use6 - 7 May 2017 Organised by th
psychologia religii1 155 -    /1967b/: Self-perception: an altemative interpretation
REIDER PART 217 List, and 339 L2 nerve root, compression of, assessment of, 357, 359 motor cxaminat
35508 ST Z11 16 ST-Z11■ REPLACEMENT PARTS LIST. ..Cabinet & Chassis Parts Notes: 1. Part numbers
łonie Liquid A.C. Power Switch ^ Miniaturized prototype models of electro-ionic con-łrol units rnade
22 chological factor influenced by nomadism as well as further the whole of the culture and beliefs.
O O O Flood Letter to CoB.pdf - PDF Studio 7 Pro by Qoppa Software 3 •H ^ E3 W <1 1 of 1 0 w
3228 napvedo THERE S A CAR PARKEO OUT OF THE EROTIKA SEX SHOP. WITH ALLTHE WINDOWS COYEREO BY STICKE
110 Zofia Kaczorowska In order to present the results of certain larger physiographic units linked b
CSG319 Unit 26NumbersCardinal Numbers Here is a list of Spanish Cardinal numbers (los numeros cardi-

więcej podobnych podstron