|FROM ||Ruben Safir
|SUBJECT ||Re: [Learn] This is hard to understand what the logic is here
|From learn-bounces-at-nylxs.com Wed Mar 29 11:56:49 2017
Received: from www.mrbrklyn.com (www.mrbrklyn.com [126.96.36.199])
by mrbrklyn.com (Postfix) with ESMTP id 88942161311;
Wed, 29 Mar 2017 11:56:49 -0400 (EDT)
Received: from [10.0.0.62] (flatbush.mrbrklyn.com [10.0.0.62])
by mrbrklyn.com (Postfix) with ESMTP id 9C297160E77;
Wed, 29 Mar 2017 11:56:44 -0400 (EDT)
To: Christopher League ,
From: Ruben Safir
Date: Wed, 29 Mar 2017 11:56:44 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Subject: Re: [Learn] This is hard to understand what the logic is here
Content-Type: text/plain; charset="us-ascii"
On 03/29/2017 01:25 AM, Christopher League wrote:
> There is a bias included here.
> The bias is treated as a weight corresponding to a "pseudo" input that is always 1. So for a perceptron with 2 regular inputs, the weight vector will have size 3.
> That while loop just appends ones to the input vector until it's big enough to do a dot product of the inputs and weights.
> The step function returns 0 or 1 but represents them as float because we might want to substitute a different function, such as sigmoid, which would need floats.
If there is always a bias, why is there a while condition, let alone not
an if condition. What situation were you anticipating?
So many immigrant groups have swept through our town
that Brooklyn, like Atlantis, reaches mythological
proportions in the mind of the world - RI Safir 1998
DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive
http://www.coinhangout.com - coins!
Being so tracked is for FARM ANIMALS and and extermination camps,
but incompatible with living as a free human being. -RI Safir 2013
Learn mailing list