Tuesday, May 23, 2017

Pages in Canvas

add code in Canvas
<p><code>java -version </code></p>
<pre><code>java -version </code></pre>

add github gist to html:
<iframe title="Code Embed" src="https://gist.github.com/RoyZhengGao/16c8a02c7d1fc90d616cc8f731b31d34.pibb" width="675" height="675" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" mozallowfullscreen="mozallowfullscreen"></iframe>

Thursday, May 11, 2017

Information Theory, Inference and Learning Algorithms Reading

1. preface

 binary symmetric channe
l

 Information theory and coding theory oer an alternative (and much more exciting)
approach: we accept the given noisy channel as it is and add communication
systems  to it so that we can detect and correct the errors introduced by
the channel. As shown in gure 1.6, we add an encoder  before the channel and
a decoder  after it.

Majority-vote
decoding algorithm

chapter 4:The Source Coding Theorem

Saturday, May 6, 2017

html format

add code to html
<code>int</code>

use iframe + github gist to embed long code in Canvas

<p class="p1"><span class="s1"> <iframe title="Code Embed" src="https://gist.github.com/RoyZhengGao/16c8a02c7d1fc90d616cc8f731b31d34.pibb" width="675" height="675" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" mozallowfullscreen="mozallowfullscreen"></iframe></span></p>