MESSAGE
DATE | 2017-03-29 |
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 Return-Path: X-Original-To: archive-at-mrbrklyn.com Delivered-To: archive-at-mrbrklyn.com Received: from www.mrbrklyn.com (www.mrbrklyn.com [96.57.23.82]) by mrbrklyn.com (Postfix) with ESMTP id 88942161311; Wed, 29 Mar 2017 11:56:49 -0400 (EDT) X-Original-To: learn-at-nylxs.com Delivered-To: learn-at-nylxs.com 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 , "learn-at-nylxs.com" References: <430c32f2-da89-4077-b8a4-a5622fbb6b12.maildroid-at-localhost> From: Ruben Safir Message-ID: <631dd24c-6613-b87b-7e47-5dd853e21f24-at-mrbrklyn.com> Date: Wed, 29 Mar 2017 11:56:44 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <430c32f2-da89-4077-b8a4-a5622fbb6b12.maildroid-at-localhost> Subject: Re: [Learn] This is hard to understand what the logic is here X-BeenThere: learn-at-nylxs.com X-Mailman-Version: 2.1.17 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: learn-bounces-at-nylxs.com Sender: "Learn"
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 http://www.mrbrklyn.com
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! http://www.brooklyn-living.com
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 Learn-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/learn
|
|