Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
5 views
in AI and Deep Learning by (50.2k points)

With a single-layer perceptron, it's easy to find the equation of the "separating line" (I don't know the professional term), the line that separates between the 2 types of points, based on the perceptron's weights, after it was trained. How can I find similarly the equation of the curve (not a straight line) that separates between the 2 types of points, in a multi-layer perceptron?

thanks.

1 Answer

0 votes
by (107k points)

Generalized Discriminant Function: 

image

Let y1,y2,…,yn be n training samples in augmented feature space, which is linearly separable

• We need to find a weight vector such that:

  1.  a^t y > 0 for examples of the positive class
  2.  a^t y < 0 for examples of the negative class

• “Normalizing” the input examples by multiplying them with their class label (replace all samples from class 2 by their negatives) find a weight vector such that a^t y > 0 for all the examples (here y is multiplied with class label)

• The resulting weight vector is termed as a separating vector or a solution vector

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...