1.条件随机场概念CRF,Conditional Random Field,是给定一组输入随机变量条件下另一组输出随机变量的条件概率分布模式,其特点是假设输出随机变量构成马尔可夫随机场. 条件随机场用于不同的预测问题.CRF条件随机场是给定随机变量X时,随机变量Y的马尔可夫随机场. 有一种条件随机场是线性链条件随机场(Linear Chain Conditional Random Field).线性链条件随机场可以用于标注等问题.then,在条件概率P(Y|X)中,Y是输出变量,表示标记序列,X…
1.在linux中安装好R 2.准备好画曼哈顿图的R脚本即manhattan.r,manhattan.r内容如下: #!/usr/bin/Rscript #example : Rscript plot_manhatom.r XXX.assoc XXX.pdf argv <- commandArgs() #define the function to plot the manhatton and quantitle-quantitle plot plot_manhatton<-function(…