A trap

with 3 Comments

Generated a simple qsub script using echo: echo “zcat input.fq.gz | awk {if (NR % 4 == 0 || NR % 4 == 2) print substr($0, 0, 91); else print} \| gzip > output.fq.gz” > process.sh In fact, the special … Read More

Generative models vs discriminative models

with No Comments

Let’s say you have input data x and you want to classify the data into labels y. A generative model learns the joint probability distribution p(x,y) and a discriminative model learns the conditionalprobability distribution p(y|x) – which you should read as “the probability of y given x“. Here’s a really simple example. Suppose you … Read More