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>

Friday, April 28, 2017

tensorflow

activate tensorflow:

source ~/Documents/tensorflow/bin/activate


deactivate tensorflow:

deactivate

Tuesday, February 28, 2017

Use anaconda in the server

every time to use anaconda pip, you need to execute the command first to find the path:




export PATH=/home/gao27/anaconda/bin:$PATH
或者把这行代码写入~/.bashrc 中,然后 source ~/.bashrc


install Anaconda in server
https://docs.anaconda.com/anaconda/install/linux


install pip directly:
https://pip.pypa.io/en/stable/installing/#id7

Sunday, February 26, 2017

play with IU server

which virtualenv

virtualenv venv
module load python/2.7


pip install gensim
  156  virtualenv venv
  157  pip install gensim virtualenv venv
  158  virtualenv venv
  159  virtualenv
  160  pwd
  161  pip install virtualenv
  162  free -g
  163  history

  164  virtualenv


man module 

Tuesday, January 24, 2017

YY suggestions about how to do research

1. use git hub, push figures in it, 4 figures a paper. play with toy sample
2. do toy sample,  use Tex
for edge2vec thing:
1. debiashing hubs
link random walk to nodes with less degree
2. when links goes to the hub, it tend to random walk to the other links close to it.

Monday, January 23, 2017

python 2.7 and 3.5

http://conda.pydata.org/docs/py2or3.html

$ conda create -n py35 python=3.5 anaconda


#
# To activate this environment, use:
# $ source activate py35 (source activate py3)
#
# To deactivate this environment, use:
# $ source deactivate

#