Skip to content

ADALINE with 2 features decision function. Chapter 2, Page 40 #185

@manas007

Description

@manas007

Hello,
While plotting the decision boundary with just 2 features for ADALINE, the decision class function is simply
w1 ∗ x1 + w2 ∗ x2 + b = 0

and therefore in simple slope intercept form, x2 can be simplified to
x2 = (−w1/w2) ∗ x1 − (b/w2)

when I plot this, the line does not separate the two classes. I posted the question on cross-validated exchange as well and the answer was to label y as {-1,1} instead of {0,1} and indeed the plot works correctly. I am wondering why is this?

Link to question

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions