Question: Consider a Multi - layer Perceptron ( MLP ) for the following two general tasks: ( 1 ) multi - class classification of K =

Consider a Multi-layer Perceptron (MLP) for the following two general tasks: (1)
multi-class classification of K=5 categories with 5 output units; and (2) regression with a single
output unit, where each hidden unit in both tasks uses a hyperbolic tangent function such that
zht=tanh(j=1Dwhjxjt+wh0). The output unit in classification uses a softmax activation function
such that yit=exp(h?vihzht+vi0)j?exp(h?vjhzht+vj0). The error functions for tasks (1) and (2) are given below
respectively:
Multi-class classification: E(W,V|x)=-t=1Ni=1Kritlogyit+2h=1H||wh||22+2k=1K||vk||22
Regression: E(W,v|x)=12t=1N(rt-yt)2+2h=1H||wh||22+2||v||22.
(a) Draw two Multi-layer Perceptrons, each for one of the above tasks, showing: input values
x0dotsxD, output of the hidden units z0dotszH, weights W and V(or v), and the output(s)(i.e.,
yi of output unit i for multi-class classification, and y for regression). Note the difference in
the structure between the two tasks (you may write or draw).
Consider a Multi - layer Perceptron ( MLP ) for

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!