Post Reply 
define a formula
03-10-2014, 01:05 AM
Post: #5
RE: define a formula
(03-10-2014 12:10 AM)Stefan Wrote:  lol, expectancy, entropy... looks like your studying for the same exam than I do :-D
Here you can again use the dotproduct and make use of the fact that you can apply most of the functions to lists and vectors.
log_2(p) applies log_2 to the vector p (the log_n(x) template is in the math templates).
And then just multiply p and log_2(p), just as before: H(x)=p*log_2(p)

P.S: You can type equations in this forum in Latex syntax if you surround them with two $ in the front and back:
$$\frac{1}{x}$$

I'm learning in a subject that is called principle of communication II (Hehehe).The dot tip is a good idea,I didn't understood the H(x),you have to make a sum and the PS too,can you try to explain in another way?

Thanks
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
define a formula - fefer92 - 03-09-2014, 10:44 PM
RE: define a formula - Stefan - 03-09-2014, 11:40 PM
RE: define a formula - fefer92 - 03-09-2014, 11:56 PM
RE: define a formula - Stefan - 03-10-2014, 12:10 AM
RE: define a formula - fefer92 - 03-10-2014 01:05 AM
RE: define a formula - Stefan - 03-10-2014, 01:38 AM



User(s) browsing this thread: 1 Guest(s)