[MACHINE LEARNING]WK3 Perceptron

screen-shot-2016-09-28-at-12-02-16screen-shot-2016-10-01-at-19-28-16

I made an options related to the OR, AND and XOR so that an user can select the function. 1 and -1 were taken as True and False. At the end, I plotted the numbers of output and the graph is showing where it is heading to 1 or -1.

AND

and

OR

or

XOR

xor

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s