you did not do it wrong- the error was on my part.
please bring on another filled in questionnaire.
sorry for the inconvenience
t
>
> On Oct 10, 9:39 pm, Tim Menzies <menzies....@gmail.com> wrote:
>> correction to previous email: see the correct list of student names,
>> below
>>
>> On Oct 10, 7:45 pm, Tim Menzies <menzies....@gmail.com> wrote:
>>
>> > due to a clerical error on my part, the results of four surveys were
>> > not correctly entered, even after the surveys themselves were shredded
>>
>> > therefore (and sorry*100 for this), the following people need to fill
>> > in the questionnaire and bring it to class
>>
>> William Kovalick
>> Edward Lockard
>> Lee Blake
>> James Dunlevy
>>
>> > t
>>
>> > btw, the surveys are at:http://groups.google.com/group/csx73/web/jq.pdf
>>
>> > On Oct 10, 2:21 pm, Tim Menzies <menzies....@gmail.com> wrote:
>>
>> > > please select your demo time. and remember: first in, best dressed
>>
>> > >http://spreadsheets.google.com/ccc?key=0AqtLfKAJzgNrdDBuRW9zVUJsYVkwY...
>>
>> > > and remember the structure:
>> > > - bring that envelope commenting on your colleagues
>>
>> > > t
--
there are those who call me... (dr) timm (menzies)?
morgantown (39.6n, -79w), usa
assoc prof csee, wvu
http://menzies.us
'Hydrogen is a light, odorless gas, which, given enough time, turns
into people.'
and to derive the formula...
let classes c1 c2 c3 occur at frequency n1 n2 n3
let N = n1 + n2 + n3
so
p(c1) = n1/N
p(c2) = n2/N
p(c3) = n3/N
i(x) = -p(x) * log_2(p(x))
weighted sum over all classes
= n1/N * i(c1) + n2/N * i(c2) + n3/N * i(c3)
= p(c1) * i(c1) + p(c2) * i(c2) + p(c3) * i(c3)
= -p(c1)^2 * log_2(p(c1)) - p(c2)^2 * log_2(p(c2)) - p(c3)^2 * log_2(p(c3))
--