Zach dared me to do this

My third grader (one week away from a 4th grader), Zach, has been talking about building a website. He was asking what he should call it, and various other questions. I told him to call it “Zach’s Website”. He said that doesn’t sound cool… I was like, hello, your dad’s site is called, Erik’s Hmm…, and I think that it’s a cool name. 😉

Anyhow, that led to him wanting to see Erik’s Hmm… and then he asked how long it’s been since I updated it. That led to the shame of me showing him Dec, 2013. He wanted to know why so long. That led to questions and me being busy, etc., etc. And finally him wanting me to show him how to update it. Hence this post…

More to come as I talk about the two beginner programming books I got the boys (Noah finishing 5th grade and Zach finishing 3rd).

2 thoughts on “Zach dared me to do this”

  1. 看了一周的CRF,其中有些细节还是模糊,您的资料很好,解决了我一些疑问。我想问一下,如果您说您这个例子的unigram feature tplmeate是 U00:%x[-1,0]/%x[0,0]; U01:%x[0,0];U02:%x[0,0]/%x[1,0], 这个看上去跟您的例子是自恰的,就是说他们分别生成的 feature function sets是“if (前与当前一起是 民主,且当前输出是 E) true; else false ,“if (当前是 主,且当前输出是 E) true; else false ,“if (当前与之后是 主是,且当前输出是 E) true; else false ,这三个分别对应您那三个w()权重function。 那么我一直不明白很多 tplmeate里还写 U00:%x[-1,0] 这样的,有什么意义呢?总是说这是前一行第一列的feature,但是这生成什么 feature function呢?如果单纯对前一个作分析,那么当前一行作为当前行的时候,自己的 U00:%x[0,0] 已经可以表达了,如果是要联系前一个和当前的关系,那么您的 U00:%x[-1,0]/%x[0,0] 这个才是对的啊。 急求解惑,万分感谢![]ricky 回复:四月 2nd, 2013 at 13:21这里面的“当前” 指的是当前的 label,每个feature都要 和 当前的label 组合起来,表示一个特征。如果例子中有4个label, 那么U00:%x[0,0]就要与 4个label进行组合,统计4个U00:%x[0,0]的权重。U00:%x[-1,0]/%x[0,0] 这个特征模板依然要和当前的4个label进行组合,分别组成特征,统计权重。[]

Leave a Reply

Your email address will not be published. Required fields are marked *