The Gateway to Computer Science Excellence
0 votes
1k views

Consider a single perceptron with sign activation function. The perceptron is represented by weight vector [0.4 −0.3 0.1]T and a bias θ=0. If the input vector to the perceptron is X=[0.2 0.6 0.5] then the output of the perceptron is :

(1) 1                                       

(2) 0                                        

(3) −0.05                              

(4) −1

in Others by (193 points) | 1k views

1 Answer

0 votes

Ans: (3) -0.05

Explanation: Here it is given input vector X=[0.2 0.6 0.5] and weight vector W=[0.4 −0.3 0.1]T 

The output of the perceptron will be the summation of X and W represented as,

$\sum_{i}^{}$Xi Wi                                    (i=1,2,3 because there are 3 values of X and W)

[0.2 0.6 0.5]*[0.4 −0.3 0.1]=[0.2*0.4     0.6*(-0.3)     0.5*0.1]=[0.08-0.18+0.05] = -0.05

 

 

by (193 points)
+1
-1 will be answer because of definition of sign function.update it .
+1

0
why not +1
Pls explain
0
P=1, if P>0

P=-1, if P<0

P=0, if P=0

since value of P is -0.05(<0), so output is -1

Where P represents perceptron and P=$\sum w_i\cdot x_i$

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,737 questions
57,355 answers
198,479 comments
105,249 users