<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8496373585700416995</id><updated>2012-02-16T19:53:11.098+08:00</updated><category term='Python'/><category term='OGRE'/><category term='Script'/><category term='Research'/><category term='Neural Network'/><category term='Resource'/><category term='English'/><category term='Game'/><category term='Music'/><category term='PSP'/><category term='Machine Learning'/><category term='OpenCV'/><category term='Tech'/><category term='Files'/><category term='Math'/><category term='Maya'/><category term='Speech'/><category term='Movie'/><category term='OpenSource'/><category term='CG'/><category term='Programming'/><category term='Paper'/><category term='Web'/><category term='Photoshop'/><category term='Map'/><category term='C++'/><category term='Diary'/><category term='Life'/><category term='BCI'/><category term='Other Tech'/><category term='Linux'/><category term='Shape'/><category term='Draw'/><category term='S2S'/><category term='Qt'/><category term='Link'/><category term='Book'/><category term='HTK'/><category term='News'/><category term='QuickNet'/><title type='text'>Dream &amp; Passion</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default?start-index=101&amp;max-results=100'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>401</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-3915251757620911462</id><published>2012-02-01T18:34:00.001+08:00</published><updated>2012-02-01T18:34:53.106+08:00</updated><title type='text'>WSJ Setup</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;span style="font-family: Arial,sans-serif; font-size: 13px; line-height: 18px; background-color: rgb(255,255,255);"&gt;WSJ SI84, 7138 sentences, (removing 410&amp;#39;s duplication in the original data)&lt;/span&gt;&lt;p /&gt; &lt;span style="font-family: Arial,sans-serif; font-size: 13px; line-height: 18px; background-color: rgb(255,255,255);"&gt;WSJ SI284, 37416 sentences, (removing 410&amp;#39;s duplication in the data set)&lt;/span&gt;&lt;p /&gt;&lt;div&gt;&lt;span style="font-family: Arial,sans-serif; font-size: 13px; line-height: 18px; background-color: rgb(255,255,255);"&gt;speaker 410 has contributed two sessions of recordings, thus has twice the number of sentences as other speakers. During the processing, we should remove &lt;/span&gt;&lt;span style="line-height: 18px;"&gt;11-2.1/wsj0/si_tr_s/401 to avoid too much data for a single speaker.&lt;/span&gt;&lt;/div&gt; &lt;p /&gt;&lt;div&gt;&lt;span style="line-height: 18px;"&gt;The 5K and 20K test sets for WSJ0 are Nov.92 test sets.&lt;/span&gt;&lt;/div&gt; &lt;p /&gt;&lt;div&gt;&lt;span style="line-height: 18px;"&gt;The 64K test sets of WSJ1 is the commonly mentioned Nov.93 test set.&lt;/span&gt;&lt;/div&gt; &lt;p /&gt;&lt;div&gt;&lt;span style="line-height: 18px;"&gt;&lt;a href="http://books.google.com.sg/books?id=WJeAWYFa0i0C&amp;amp;pg=PA127&amp;amp;lpg=PA127&amp;amp;dq=WSJ+SI284+number+sentences&amp;amp;source=bl&amp;amp;ots=I2laYM2emM&amp;amp;sig=plZXYseK9n6umvawaWZ7vhOrhcw&amp;amp;hl=en&amp;amp;sa=X&amp;amp;ei=ueUoT5P5Jo-HrAfQ4oG9AQ&amp;amp;ved=0CGYQ6AEwBw"&gt;http://books.google.com.sg/books?id=WJeAWYFa0i0C&amp;amp;pg=PA127&amp;amp;lpg=PA127&amp;amp;dq=WSJ+SI284+number+sentences&amp;amp;source=bl&amp;amp;ots=I2laYM2emM&amp;amp;sig=plZXYseK9n6umvawaWZ7vhOrhcw&amp;amp;hl=en&amp;amp;sa=X&amp;amp;ei=ueUoT5P5Jo-HrAfQ4oG9AQ&amp;amp;ved=0CGYQ6AEwBw&lt;/a&gt;&lt;/span&gt;&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/wsj-setup"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-3915251757620911462?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/3915251757620911462/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2012/02/wsj-setup.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/3915251757620911462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/3915251757620911462'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2012/02/wsj-setup.html' title='WSJ Setup'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-7388389219364350771</id><published>2011-11-30T18:54:00.001+08:00</published><updated>2011-11-30T18:54:03.557+08:00</updated><title type='text'>[HTK] Chinese Encoding</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;div class="tit" style="font-family: Arial; font-size: 14px; line-height: 26px; font-weight: bold; text-align: left; border-left-width: 5px; border-left-style: solid; border-left-color: rgb(139, 151, 161); text-indent: 8px; color: rgb(85, 91, 110); background-color: rgb(255, 255, 255);"&gt; 修改HTK源码 HParse，HVite部分，使其支持中文&lt;/div&gt;&lt;div class="date" style="font-family: Verdana; font-size: 10px; line-height: 18px; margin-top: 0px; margin-right: 0px; margin-bottom: 8px; margin-left: 12px; color: rgb(136, 136, 136); text-align: left; background-color: rgb(255, 255, 255);"&gt; 2010-03-24 12:05&lt;/div&gt;&lt;table style="font-family: Arial; background-color: rgb(255, 255, 255);"&gt;&lt;tr&gt;&lt;td style="font-size: 12px; line-height: 18px;"&gt; &lt;div class="cnt" style="font-family: Arial;"&gt; From:&amp;nbsp;&lt;a href="http://hi.baidu.com/cbyhit2008/blog/item/e642d6c7c16bd4179c163d5b.html" style="font-family: arial;"&gt;http://hi.baidu.com/cbyhit2008/blog/item/e642d6c7c16bd4179c163d5b.html&lt;/a&gt;&lt;/div&gt;&lt;p /&gt;&lt;div class="cnt" style="font-family: Arial;"&gt; 利用HTK工具包进行语音识别建模时，遇到任务语法中存在中文时候，无法生成对应的底层网络，这样就需要对HTK源码的部分内容进行修改，以下是我对HTK源码HParse及HVite部分内容改动记录，希望对有需要的人有帮助！自己也做个备份！&lt;br style="line-height: normal;" /&gt;添加下面函数&lt;br style="line-height: normal;" /&gt;static int IsSpace(char c)&lt;br style="line-height: normal;" /&gt; {&lt;br style="line-height: normal;" /&gt;if ((c == 0x09) ||( c == 0x0D) || (c == &amp;#39; &amp;#39; ))&lt;br style="line-height: normal;" /&gt;return 1;&lt;br style="line-height: normal;" /&gt;return 0;&lt;br style="line-height: normal;" /&gt;}&lt;br style="line-height: normal;" /&gt; 修改下面的函数&lt;br style="line-height: normal;" /&gt;static void PGetSym(void)&lt;br style="line-height: normal;" /&gt;{&lt;br style="line-height: normal;" /&gt;..../////////////&lt;br style="line-height: normal;" /&gt;+++while ( !IsSpace(ch) || (ch==&amp;#39;/&amp;#39; &amp;amp;&amp;amp; inlyne[curpos]==&amp;#39;*&amp;#39;) ) //isspace((int) ch)&lt;br style="line-height: normal;" /&gt; {&lt;br style="line-height: normal;" /&gt;+++&amp;nbsp; &amp;nbsp;&amp;nbsp; if (!IsSpace(ch) || isspace((int) ch))&amp;nbsp; /* skip space */&lt;br style="line-height: normal;" /&gt;PGetCh();&lt;br style="line-height: normal;" /&gt;else {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* skip comment */&lt;br style="line-height: normal;" /&gt; PGetCh(); PGetCh();&lt;br style="line-height: normal;" /&gt;while (!(ch==&amp;#39;*&amp;#39; &amp;amp;&amp;amp; inlyne[curpos]==&amp;#39;/&amp;#39;)) PGetCh();&lt;br style="line-height: normal;" /&gt;PGetCh(); PGetCh();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt; }&lt;br style="line-height: normal;" /&gt;}&lt;br style="line-height: normal;" /&gt;..../////////////以下部分代码为做修改&lt;br style="line-height: normal;" /&gt;}&lt;p /&gt;static void PGetIdent(void)&lt;br style="line-height: normal;" /&gt; {&lt;br style="line-height: normal;" /&gt;int i=0;&lt;br style="line-height: normal;" /&gt;Ident id;&lt;p /&gt;do {&lt;br style="line-height: normal;" /&gt;if (ch==ESCAPE) PGetCh();&lt;br style="line-height: normal;" /&gt; if (i&amp;lt;MAXIDENT) id[i++]=ch;&lt;br style="line-height: normal;" /&gt;PGetCh();&lt;br style="line-height: normal;" /&gt;+++ &amp;nbsp; } while (!IsSpace(ch)&amp;amp;&amp;amp; ch!=&amp;#39;{&amp;#39; &amp;amp;&amp;amp; ch!=&amp;#39;}&amp;#39; &amp;amp;&amp;amp; ch!=&amp;#39;[&amp;#39; &amp;amp;&amp;amp; ch!=&amp;#39;]&amp;#39; &amp;amp;&amp;amp;//!isspace( (int)ch)&amp;nbsp;&lt;br style="line-height: normal;" /&gt; ch!=&amp;#39;&amp;lt;&amp;#39; &amp;amp;&amp;amp; ch!=&amp;#39;&amp;gt;&amp;#39; &amp;amp;&amp;amp; ch!=&amp;#39;(&amp;#39; &amp;amp;&amp;amp; ch!=&amp;#39;)&amp;#39; &amp;amp;&amp;amp; ch!=&amp;#39;=&amp;#39; &amp;amp;&amp;amp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;ch!=&amp;#39;;&amp;#39; &amp;amp;&amp;amp; ch!=&amp;#39;|&amp;#39; &amp;amp;&amp;amp; ch!=&amp;#39;/&amp;#39; &amp;amp;&amp;amp; ch!=&amp;#39;%&amp;#39;);&lt;br style="line-height: normal;" /&gt; id[i]=&amp;#39;\0&amp;#39;;&lt;br style="line-height: normal;" /&gt;ident = GetLabId(id,TRUE);&lt;br style="line-height: normal;" /&gt;}&lt;p /&gt;ReturnStatus WriteOneLattice(Lattice *lat,FILE *file,LatFormat format)&lt;br style="line-height: normal;" /&gt; {&lt;br style="line-height: normal;" /&gt;...///////////////////////////////&lt;br style="line-height: normal;" /&gt;else if (ln-&amp;gt;word!=NULL) {&lt;br style="line-height: normal;" /&gt;fprintf(file,&amp;quot;W=%-19s &amp;quot;,ln-&amp;gt;word-&amp;gt;wordName-&amp;gt;name);//&lt;br style="line-height: normal;" /&gt; //&amp;nbsp;&amp;nbsp; ReWriteString(ln-&amp;gt;word-&amp;gt;wordName-&amp;gt;name,注释掉&lt;br style="line-height: normal;" /&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NULL,ESCAPE_CHAR));&lt;br style="line-height: normal;" /&gt;...////////////////////////////////&lt;br style="line-height: normal;" /&gt; }&lt;br style="line-height: normal;" /&gt;这样在生产的底层网络中就可以看到汉字，而不是汉字编码了。下面是我测试的一个简单例子：&lt;br style="line-height: normal;" /&gt;这是taskgram中的内容&lt;br style="line-height: normal;" /&gt;$word = 好&lt;br style="line-height: normal;" /&gt;| 浩&lt;br style="line-height: normal;" /&gt; | 尼&lt;br style="line-height: normal;" /&gt;| 你;&lt;br style="line-height: normal;" /&gt;(&amp;nbsp; START_SIL ([sil] )(&amp;lt;$word&amp;gt;)( [sil]) END_SIL )&lt;br style="line-height: normal;" /&gt;没有修改HParse生产的网络&lt;br style="line-height: normal;" /&gt;VERSION=1.0&lt;br style="line-height: normal;" /&gt; N=11&amp;nbsp;&amp;nbsp; L=22&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;I=0&amp;nbsp;&amp;nbsp;&amp;nbsp; W=END_SIL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;I=1&amp;nbsp;&amp;nbsp;&amp;nbsp; W=sil&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;I=2&amp;nbsp;&amp;nbsp;&amp;nbsp; W=\304\343&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt; I=3&amp;nbsp;&amp;nbsp;&amp;nbsp; W=!NULL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;I=4&amp;nbsp;&amp;nbsp;&amp;nbsp; W=\304\341&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;I=5&amp;nbsp;&amp;nbsp;&amp;nbsp; W=\272\306&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;I=6&amp;nbsp;&amp;nbsp;&amp;nbsp; W=\272\303&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt; I=7&amp;nbsp;&amp;nbsp;&amp;nbsp; W=sil&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;I=8&amp;nbsp;&amp;nbsp;&amp;nbsp; W=START_SIL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;I=9&amp;nbsp;&amp;nbsp;&amp;nbsp; W=!NULL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;I=10&amp;nbsp;&amp;nbsp; W=!NULL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt; J=0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; S=1&amp;nbsp;&amp;nbsp;&amp;nbsp; E=0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;J=1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; S=3&amp;nbsp;&amp;nbsp;&amp;nbsp; E=0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;J=2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; S=3&amp;nbsp;&amp;nbsp;&amp;nbsp; E=1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;J=3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; S=3&amp;nbsp;&amp;nbsp;&amp;nbsp; E=2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt; J=4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; S=7&amp;nbsp;&amp;nbsp;&amp;nbsp; E=2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;J=5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; S=8&amp;nbsp;&amp;nbsp;&amp;nbsp; E=2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;J=6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; S=2&amp;nbsp;&amp;nbsp;&amp;nbsp; E=3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;J=7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; S=4&amp;nbsp;&amp;nbsp;&amp;nbsp; E=3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt; J=8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; S=5&amp;nbsp;&amp;nbsp;&amp;nbsp; E=3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;J=9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; S=6&amp;nbsp;&amp;nbsp;&amp;nbsp; E=3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;J=10&amp;nbsp;&amp;nbsp;&amp;nbsp; S=3&amp;nbsp;&amp;nbsp;&amp;nbsp; E=4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;J=11&amp;nbsp;&amp;nbsp;&amp;nbsp; S=7&amp;nbsp;&amp;nbsp;&amp;nbsp; E=4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt; J=12&amp;nbsp;&amp;nbsp;&amp;nbsp; S=8&amp;nbsp;&amp;nbsp;&amp;nbsp; E=4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;J=13&amp;nbsp;&amp;nbsp;&amp;nbsp; S=3&amp;nbsp;&amp;nbsp;&amp;nbsp; E=5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;J=14&amp;nbsp;&amp;nbsp;&amp;nbsp; S=7&amp;nbsp;&amp;nbsp;&amp;nbsp; E=5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;J=15&amp;nbsp;&amp;nbsp;&amp;nbsp; S=8&amp;nbsp;&amp;nbsp;&amp;nbsp; E=5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt; J=16&amp;nbsp;&amp;nbsp;&amp;nbsp; S=3&amp;nbsp;&amp;nbsp;&amp;nbsp; E=6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;J=17&amp;nbsp;&amp;nbsp;&amp;nbsp; S=7&amp;nbsp;&amp;nbsp;&amp;nbsp; E=6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;J=18&amp;nbsp;&amp;nbsp;&amp;nbsp; S=8&amp;nbsp;&amp;nbsp;&amp;nbsp; E=6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;J=19&amp;nbsp;&amp;nbsp;&amp;nbsp; S=8&amp;nbsp;&amp;nbsp;&amp;nbsp; E=7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt; J=20&amp;nbsp;&amp;nbsp;&amp;nbsp; S=10&amp;nbsp;&amp;nbsp; E=8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;J=21&amp;nbsp;&amp;nbsp;&amp;nbsp; S=0&amp;nbsp;&amp;nbsp;&amp;nbsp; E=9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;修改后的网络&lt;br style="line-height: normal;" /&gt;VERSION=1.0&lt;br style="line-height: normal;" /&gt;N=11&amp;nbsp;&amp;nbsp; L=22&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt; I=0&amp;nbsp;&amp;nbsp;&amp;nbsp; W=END_SIL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;I=1&amp;nbsp;&amp;nbsp;&amp;nbsp; W=sil&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;I=2&amp;nbsp;&amp;nbsp;&amp;nbsp; W=你&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;I=3&amp;nbsp;&amp;nbsp;&amp;nbsp; W=!NULL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt; I=4&amp;nbsp;&amp;nbsp;&amp;nbsp; W=尼&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;I=5&amp;nbsp;&amp;nbsp;&amp;nbsp; W=浩&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;I=6&amp;nbsp;&amp;nbsp;&amp;nbsp; W=好&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;I=7&amp;nbsp;&amp;nbsp;&amp;nbsp; W=sil&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt; I=8&amp;nbsp;&amp;nbsp;&amp;nbsp; W=START_SIL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;I=9&amp;nbsp;&amp;nbsp;&amp;nbsp; W=!NULL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;I=10&amp;nbsp;&amp;nbsp; W=!NULL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;J=0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; S=1&amp;nbsp;&amp;nbsp;&amp;nbsp; E=0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt; J=1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; S=3&amp;nbsp;&amp;nbsp;&amp;nbsp; E=0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;J=2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; S=3&amp;nbsp;&amp;nbsp;&amp;nbsp; E=1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;J=3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; S=3&amp;nbsp;&amp;nbsp;&amp;nbsp; E=2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;J=4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; S=7&amp;nbsp;&amp;nbsp;&amp;nbsp; E=2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt; J=5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; S=8&amp;nbsp;&amp;nbsp;&amp;nbsp; E=2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;J=6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; S=2&amp;nbsp;&amp;nbsp;&amp;nbsp; E=3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;J=7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; S=4&amp;nbsp;&amp;nbsp;&amp;nbsp; E=3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;J=8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; S=5&amp;nbsp;&amp;nbsp;&amp;nbsp; E=3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt; J=9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; S=6&amp;nbsp;&amp;nbsp;&amp;nbsp; E=3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;J=10&amp;nbsp;&amp;nbsp;&amp;nbsp; S=3&amp;nbsp;&amp;nbsp;&amp;nbsp; E=4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;J=11&amp;nbsp;&amp;nbsp;&amp;nbsp; S=7&amp;nbsp;&amp;nbsp;&amp;nbsp; E=4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;J=12&amp;nbsp;&amp;nbsp;&amp;nbsp; S=8&amp;nbsp;&amp;nbsp;&amp;nbsp; E=4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt; J=13&amp;nbsp;&amp;nbsp;&amp;nbsp; S=3&amp;nbsp;&amp;nbsp;&amp;nbsp; E=5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;J=14&amp;nbsp;&amp;nbsp;&amp;nbsp; S=7&amp;nbsp;&amp;nbsp;&amp;nbsp; E=5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;J=15&amp;nbsp;&amp;nbsp;&amp;nbsp; S=8&amp;nbsp;&amp;nbsp;&amp;nbsp; E=5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;J=16&amp;nbsp;&amp;nbsp;&amp;nbsp; S=3&amp;nbsp;&amp;nbsp;&amp;nbsp; E=6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt; J=17&amp;nbsp;&amp;nbsp;&amp;nbsp; S=7&amp;nbsp;&amp;nbsp;&amp;nbsp; E=6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;J=18&amp;nbsp;&amp;nbsp;&amp;nbsp; S=8&amp;nbsp;&amp;nbsp;&amp;nbsp; E=6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;J=19&amp;nbsp;&amp;nbsp;&amp;nbsp; S=8&amp;nbsp;&amp;nbsp;&amp;nbsp; E=7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;J=20&amp;nbsp;&amp;nbsp;&amp;nbsp; S=10&amp;nbsp;&amp;nbsp; E=8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt; J=21&amp;nbsp;&amp;nbsp;&amp;nbsp; S=0&amp;nbsp;&amp;nbsp;&amp;nbsp; E=9&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br style="line-height: normal;" /&gt;至于HVite部分，我找了近一下午，总算找到改的地方了，修改HSheel.c 中WriteString函数&lt;br style="line-height: normal;" /&gt;n=*p;&lt;br style="line-height: normal;" /&gt;fputc(n,f);&lt;br style="line-height: normal;" /&gt; //&amp;nbsp;&amp;nbsp; fputc(ESCAPE_CHAR,f);&lt;br style="line-height: normal;" /&gt;//&amp;nbsp; fputc(((n/64)%8)+&amp;#39;0&amp;#39;,f);fputc(((n/8)%8)+&amp;#39;0&amp;#39;,f);fputc((n%8)+&amp;#39;0&amp;#39;,f);&lt;br style="line-height: normal;" /&gt;我将相应的位置给注释上了，并将字符之间输出到文件中，这样在结果文件中就可以看到中文了～～&lt;/div&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/htk-chinese-encoding-56225"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-7388389219364350771?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/7388389219364350771/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/11/htk-chinese-encoding_30.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/7388389219364350771'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/7388389219364350771'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/11/htk-chinese-encoding_30.html' title='[HTK] Chinese Encoding'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-5816207893919956377</id><published>2011-11-30T18:52:00.001+08:00</published><updated>2011-11-30T18:52:02.612+08:00</updated><title type='text'>[HTK] Chinese encoding</title><content type='html'>&lt;div class='posterous_autopost'&gt;HTK could directly read in the &amp;quot;gbk&amp;quot; encoded MLF or dictionary etc. files. Actually, it could read any kine of encoded file. In HTK, what it does is to read in every byte (char type) and when print them out, each byte is write out in the form of &amp;quot;\abc&amp;quot;, which abc is the octal representation of the byte number(=a*64+b*8+c). &lt;p /&gt;&lt;div&gt;Thus to convert the HTK generated files back to the readable characters, we need following steps:&lt;/div&gt;&lt;div&gt;1) convert the HTK octal representation of byte values to byte array&lt;/div&gt;&lt;div&gt;2) decode the byte array with corresponding encoding, (e.g. for Chinese, we could use &amp;quot;gbk&amp;quot;)&lt;/div&gt; &lt;p /&gt;&lt;div&gt;Following is the code I used to convert the HTK generated MLF to readable &amp;quot;gbk&amp;quot; encoded MLF file:&lt;/div&gt;&lt;p /&gt;&lt;div&gt;&lt;div&gt;import string, codecs&lt;/div&gt;&lt;p /&gt;&lt;div&gt;fin=open(&amp;#39;vom_utt_wlab.mlf&amp;#39;)&lt;/div&gt; &lt;div&gt;fout=codecs.open(&amp;#39;vom_utt_wlab.gbk.mlf&amp;#39;, encoding=&amp;#39;gbk&amp;#39;, mode=&amp;#39;w&amp;#39;)&lt;/div&gt;&lt;div&gt;while True:&lt;/div&gt;&lt;div&gt;    sr=fin.readline()&lt;/div&gt;&lt;div&gt;    if sr==&amp;#39;&amp;#39;:break&lt;/div&gt;&lt;div&gt;    sr=sr.strip()&lt;/div&gt; &lt;div&gt;    if sr.endswith(&amp;#39;.lab&amp;quot;&amp;#39;):&lt;/div&gt;&lt;div&gt;        print &amp;gt;&amp;gt;fout, sr&lt;/div&gt;&lt;div&gt;        while True:&lt;/div&gt;&lt;div&gt;            sr=(fin.readline()).strip()&lt;/div&gt;&lt;div&gt;            if sr==&amp;#39;.&amp;#39;:break&lt;/div&gt; &lt;div&gt;             if sr.startswith(&amp;#39;\\&amp;#39;):&lt;/div&gt;&lt;div&gt;                lst=(sr.strip(&amp;#39;\\&amp;#39;)).split(&amp;#39;\\&amp;#39;) # get the list of octal representation of each byte&lt;/div&gt;&lt;div&gt;                bins=bytearray()&lt;/div&gt;&lt;div&gt;                 for itm in lst:&lt;/div&gt;&lt;div&gt;                    val=0&lt;/div&gt;&lt;div&gt;                    for ii in range(3): # each octal number will have exactly 3 numbers, i.e. of the form \nnn&lt;/div&gt;&lt;div&gt;                        val=val*8&lt;/div&gt; &lt;div&gt;                        val=val+int(itm[ii])&lt;/div&gt;&lt;div&gt;                    bins.append(val)&lt;/div&gt;&lt;div&gt;                print &amp;gt;&amp;gt;fout, bins.decode(&amp;#39;gbk&amp;#39;)&lt;/div&gt;&lt;div&gt;            else:&lt;/div&gt;&lt;div&gt;                print &amp;gt;&amp;gt;fout, sr&lt;/div&gt; &lt;div&gt;        print &amp;gt;&amp;gt;fout, &amp;#39;.&amp;#39;&lt;/div&gt;&lt;div&gt;    else:&lt;/div&gt;&lt;div&gt;        print &amp;gt;&amp;gt;fout, sr&lt;/div&gt;&lt;div&gt;fin.close()&lt;/div&gt;&lt;div&gt;fout.close()&lt;/div&gt;&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/htk-chinese-encoding"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-5816207893919956377?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/5816207893919956377/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/11/htk-chinese-encoding.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/5816207893919956377'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/5816207893919956377'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/11/htk-chinese-encoding.html' title='[HTK] Chinese encoding'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-1457572557139813834</id><published>2011-11-24T17:21:00.001+08:00</published><updated>2011-11-24T17:21:42.271+08:00</updated><title type='text'>[HTK] Increase HTK feature dimension limit</title><content type='html'>&lt;div class='posterous_autopost'&gt;In the HTK feature file, there is a header file specify the basic information of the parameters. &lt;p /&gt;&lt;div&gt;&lt;span style="" /&gt;&lt;p style="font-family: monospace; font-size: medium;"&gt; HTK format files consist of a contiguous sequence of &lt;i&gt;samples&lt;/i&gt; preceded by a header. Each sample is a vector of either 2-byte integers or 4-byte floats. 2-byte integers are used for compressed forms as described below and for vector quantised data as described later in section &lt;a href="http://blush.ee.columbia.edu/doc/HTKBook21/node74.html#svquant"&gt;5.11&lt;/a&gt;. HTK format data files can also be used to store speech waveforms as described in section &lt;a href="http://blush.ee.columbia.edu/doc/HTKBook21/node60.html#swaveform"&gt;5.8&lt;/a&gt;. &lt;a name="3794"&gt; &lt;/a&gt;&lt;/p&gt; &lt;p style="font-family: monospace; font-size: medium;"&gt;The HTK file format header is 12 bytes long and contains the following data&lt;/p&gt;&lt;div class="CodeRay"&gt; &lt;div class="code"&gt;&lt;pre&gt;nSamples                - number of samples in file (4-byte integer)&lt;/pre&gt;&lt;/div&gt; &lt;/div&gt; &lt;p style="font-family: monospace; font-size: medium;"&gt; 		&lt;tt&gt;sampPeriod&lt;/tt&gt;		- sample period in 100ns units (4-byte integer) &lt;/p&gt;&lt;p style="font-family: monospace; font-size: medium;"&gt; 		&lt;tt&gt;sampSize&lt;/tt&gt;		- number of bytes per sample (2-byte integer) &lt;/p&gt;&lt;p style="font-family: monospace; font-size: medium;"&gt; 		&lt;tt&gt;parmKind&lt;/tt&gt;		- a code indicating the sample kind (2-byte integer) &lt;/p&gt;&lt;div style="font-family: monospace; font-size: medium;"&gt;&lt;a href="http://blush.ee.columbia.edu/doc/HTKBook21/node58.html"&gt;http://blush.ee.columbia.edu/doc/HTKBook21/node58.html&lt;/a&gt;&lt;/div&gt;&lt;p /&gt;&lt;p /&gt;&lt;div&gt;From the above specification, the sampSize is short integer, thus the maximum value for sampSize is 32768. For uncompressed data, the maximum dimension for each sample is thus 32768/4=8192. However, usually even just 1000+ D feature will cause the HTK tools to generate following errors:&lt;/div&gt; &lt;p /&gt;&lt;span style="font-family: Times; font-size: medium;"&gt;OpenParmChannel: cannot read HTK Header in File&lt;/span&gt;&lt;span style="font-family: Times; font-size: medium;"&gt; &lt;/span&gt;&lt;span style="" /&gt;&lt;p /&gt; &lt;div&gt;The reason is that in the function ReadHTKHeader of the file HWave.c, there is check for the sampSize value:&lt;/div&gt;&lt;p /&gt;&lt;div&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Monaco;"&gt;&lt;span style="color: #941965;"&gt;if&lt;/span&gt; (hdr.&lt;span style="color: #102bc3;"&gt;sampSize&lt;/span&gt; &amp;lt;= 0 || hdr.&lt;span style="color: #102bc3;"&gt;sampSize&lt;/span&gt; &amp;gt; &lt;b&gt;5000&lt;/b&gt; || hdr.&lt;span style="color: #102bc3;"&gt;nSamples&lt;/span&gt; &amp;lt;= 0 ||&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Monaco;"&gt;       hdr.&lt;span style="color: #102bc3;"&gt;sampPeriod&lt;/span&gt; &amp;lt;= 0 || hdr.&lt;span style="color: #102bc3;"&gt;sampPeriod&lt;/span&gt; &amp;gt; 1000000)&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Monaco;"&gt;      &lt;span style="color: #941965;"&gt;return&lt;/span&gt; FALSE;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Monaco;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;div&gt;That&amp;#39;s to say, in HTK the dimension of the feature vector is limited by this check instead of data type specified in the header format. In the standard version of HTK, at most 1250D feature could be used. To increase the limit, what we need to do is to change the number 5000, but do remember sampSize is short integer, changing to any value larger than 32768 would be useless. &lt;/div&gt; &lt;p /&gt;&lt;div&gt;The code at about line 1427 of the file HTKLib/HWave.c.&lt;/div&gt; &lt;p /&gt;&lt;p /&gt;&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/htk-increase-htk-feature-dimension-limit"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-1457572557139813834?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/1457572557139813834/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/11/htk-increase-htk-feature-dimension.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/1457572557139813834'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/1457572557139813834'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/11/htk-increase-htk-feature-dimension.html' title='[HTK] Increase HTK feature dimension limit'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-3124424484370716896</id><published>2011-11-08T19:44:00.001+08:00</published><updated>2011-11-08T19:44:35.685+08:00</updated><title type='text'>Solving iMessage or FaceTime waiting for activation problem</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;p style=""&gt; My problem is even further than simply &amp;quot;waiting for activation&amp;quot;. After change the SIM card of my iphone, the iMessages sent out are all under the old number ....&lt;/p&gt;&lt;p style=""&gt; &lt;br /&gt;&lt;/p&gt;&lt;p style=""&gt; However, the number under the iMessage setting is unchangeable. To change it, you need to turn off both the iMessage and FaceTime and then reactivate them. The problem comes when reactivating them, the &amp;quot;waiting for activation&amp;quot; messages last for hours without giving any hints what are going on.&lt;/p&gt; &lt;p style=""&gt; &lt;br /&gt;&lt;/p&gt;&lt;p style=""&gt; Here comes the &amp;quot;waiting&amp;quot; problem as many people encountered. To solve it, Simply speaking, you need to save your own contact information in the Contacts and in the general settings set my info to the correct contact.&lt;/p&gt; &lt;p style=""&gt; &lt;br /&gt;&lt;/p&gt;&lt;p style=""&gt; From: &lt;a href="https://discussions.apple.com/thread/3390466?start=0&amp;amp;tstart=0"&gt;https://discussions.apple.com/thread/3390466?start=0&amp;amp;tstart=0&lt;/a&gt;&lt;/p&gt;&lt;p style=""&gt; &lt;br /&gt;&lt;/p&gt;&lt;p style=""&gt; Hi all....I have an iPhone4 with IOS5 and was getting the waiting for activation message for imessages. I was also finding that people I was iMessaging were getting messages from my email address (aka apple ID) rather than my mobile number which was confusing them.  I found following adnanfarooqui&amp;#39;s entry above and the iphoneism site very useful and it fixed my iPhone even though it was more directed at Facetime. &lt;/p&gt; &lt;p style=""&gt; All I did was simply go into my own details in CONTACTS and ensure my own mobile # was set up as &amp;#39;iphone&amp;#39; in contacts.  Then I went into SETTINGS&amp;gt;MAIL,CONTACTS,CALENDAR&amp;gt;CONTACTS&amp;gt;MY INFO and selected myself.  What this does, I suspect, is tells the iphone who I am as the owner along with the mobile #. Then I went back into SETTINGS&amp;gt;iMESSAGES and found that the &amp;#39;waiting for activation&amp;#39; message had changed to the normal message with the &amp;#39;learn more&amp;#39; link included. Then I went down to RECEIVE AT, got into my Apple ID and signed out of that (which I suspect was what my imessages recipients were seeing), which then allowed me to select my own mobile # as the receive at number.  This therefore also fixed the issues I was having with recipients of my imessages getting my email address as the &amp;#39;from&amp;#39; details as opposed to my mobile # and not matching their own CONTACTS.  Hope that was helpful......&lt;/p&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/solving-imessage-or-facetime-waiting-for-acti"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-3124424484370716896?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/3124424484370716896/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/11/solving-imessage-or-facetime-waiting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/3124424484370716896'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/3124424484370716896'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/11/solving-imessage-or-facetime-waiting.html' title='Solving iMessage or FaceTime waiting for activation problem'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-3353430749979334156</id><published>2011-11-08T16:37:00.001+08:00</published><updated>2011-11-08T16:37:49.770+08:00</updated><title type='text'>Developing a Static Library and Incorporating It in Your Application in Xcode4</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;h1 style=""&gt; Developing a Static Library and Incorporating It in Your Application&lt;/h1&gt;&lt;p style=""&gt; From: &lt;a href="http://developer.apple.com/library/ios/#documentation/Xcode/Conceptual/ios_development_workflow/910-A-Developing_a_Static_Library_and_Incorporating_It_in_Your_Application/archiving_an_application_that_uses_a_static_library.html"&gt;http://developer.apple.com/library/ios/#documentation/Xcode/Conceptual/ios_development_workflow/910-A-Developing_a_Static_Library_and_Incorporating_It_in_Your_Application/archiving_an_application_that_uses_a_static_library.html&lt;/a&gt;&lt;/p&gt; &lt;p style=""&gt; When you need to develop a static library to use in an application and you have to have separate projects for each product, you can use a &lt;span class="pediaLink" style=""&gt;&lt;a target="_self" style="text-decoration: none;"&gt;workspace&lt;/a&gt;&lt;/span&gt; to contain both the static library project and the application project. If you do, ensure that you configure the projects in the workspace as described here:&lt;/p&gt; &lt;ol class="ol" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 2.5em; padding-top: 0px; padding-right: 0px; padding-bottom: 1em; padding-left: 0.5em; font-family: Lucida Grande, Geneva, Helvetica, Arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);"&gt; &lt;li class="li" style=""&gt;&lt;p style=""&gt; In the target that builds the static library, ensure that:&lt;/p&gt;&lt;ul class="ul" style="margin-top: 0px; margin-right: 0px; margin-left: 1.35em; padding-top: 0px; padding-right: 0px; padding-bottom: 0.5em; padding-left: 0px;"&gt; &lt;li class="li" style=""&gt;&lt;p style=""&gt; The exported headers are in the Project group in the Copy Headers build phase.&lt;/p&gt;&lt;/li&gt;&lt;li class="li" style=""&gt;&lt;p style=""&gt; The Skip Install build setting is set to Yes.&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li class="li" style=""&gt;&lt;p style=""&gt; In the target that builds the application, ensure that:&lt;/p&gt;&lt;ul class="ul" style="margin-top: 0px; margin-right: 0px; margin-left: 1.35em; padding-top: 0px; padding-right: 0px; padding-bottom: 0.5em; padding-left: 0px;"&gt; &lt;li class="li" style=""&gt;&lt;p style=""&gt; The User Header Search Paths build setting is set to the recursive absolute path of a directory under which the static library’s header files are stored.&lt;/p&gt;&lt;div class="importantbox clear" style="clear: both; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(80, 136, 197); border-right-color: rgb(80, 136, 197); border-bottom-color: rgb(80, 136, 197); border-left-color: rgb(80, 136, 197); background-color: rgb(240, 243, 247); margin-right: 0px; margin-bottom: 1.75em; margin-left: 0px; padding-top: 0px; padding-left: 0.75em;"&gt; &lt;a name="//apple_ref/doc/uid/TP40007959-CH24-DontLinkElementID_22" title="Important:" style="color: rgb(51, 102, 204); text-decoration: none;"&gt;&lt;/a&gt;&lt;p style=""&gt; &lt;strong style="font-weight: bold;"&gt;Important:&lt;/strong&gt; If you move your static library project directory to a different location in your file system, you must update the value of the User Header Search Paths build setting to reflect the new location of the static library’s header files.&lt;/p&gt; &lt;p style=""&gt;&lt;/p&gt;&lt;/div&gt;&lt;p style=""&gt; &lt;/p&gt;&lt;/li&gt;&lt;li class="li" style=""&gt;&lt;p style=""&gt; The Always Search User Paths build setting is set to Yes.&lt;/p&gt;&lt;/li&gt;&lt;li class="li" style=""&gt;&lt;p style=""&gt; The Skip Install build setting is set to No.&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li class="li" style=""&gt;&lt;p style=""&gt; In the scheme that builds the application, ensure the scheme also builds the static library for archiving.&lt;/p&gt;&lt;img src="http://developer.apple.com/library/ios/documentation/Xcode/Conceptual/ios_development_workflow/art/scheme_editor-archiving_a_static_library.jpg" height="437" alt="image: ../art/scheme_editor-archiving_a_static_library.jpg" style="margin-left: 0px;" width="639" /&gt;&lt;/li&gt; &lt;/ol&gt;&lt;div class="notebox" style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(80, 136, 197); border-right-color: rgb(80, 136, 197); border-bottom-color: rgb(80, 136, 197); border-left-color: rgb(80, 136, 197); background-color: rgb(255, 255, 255); margin-right: 0px; margin-bottom: 1.75em; margin-left: 0px; padding-top: 0px; padding-left: 0.75em; text-align: left; clear: right; font-family: Lucida Grande, Geneva, Helvetica, Arial, sans-serif; font-size: 13px;"&gt; &lt;a name="//apple_ref/doc/uid/TP40007959-CH24-SW2" title="Content specifications" style="color: rgb(51, 102, 204); text-decoration: none;"&gt;&lt;/a&gt;&lt;p style=""&gt; &lt;strong style="font-weight: bold;"&gt;Content specifications:&lt;/strong&gt; This content is written for Xcode 4.0.2 and iOS SDK 4.3.&lt;/p&gt;&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/developing-a-static-library-and-incorporating"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-3353430749979334156?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/3353430749979334156/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/11/developing-static-library-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/3353430749979334156'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/3353430749979334156'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/11/developing-static-library-and.html' title='Developing a Static Library and Incorporating It in Your Application in Xcode4'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-303953851976328157</id><published>2011-11-07T22:01:00.001+08:00</published><updated>2011-11-07T22:01:19.159+08:00</updated><title type='text'>Tutorial: Code Sharing Via Static Libraries And Cross-Project References</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;div style="color: rgb(85, 85, 85); font-family: Arial, sans-serif; font-size: 14px; line-height: 21px;"&gt;&lt;h1 class="title" style=""&gt; &lt;a href="http://mobileorchard.com/code-sharing-via-static-libraries-and-cross-project-references/" title="Tutorial: Code Sharing Via Static Libraries And Cross-Project References" rel="bookmark" style=""&gt;Tutorial: Code Sharing Via Static Libraries And Cross-Project References&lt;/a&gt;&lt;/h1&gt; &lt;p class="post-meta" style=""&gt; &lt;span class="small" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 11px; vertical-align: baseline; background-color: transparent;"&gt;by&lt;/span&gt;&lt;/p&gt;&lt;/div&gt; &lt;span class="post-author" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 11px; vertical-align: baseline; background-color: transparent;"&gt;&lt;a href="http://mobileorchard.com/author/clintharris/" title="Posts by Clint Harris" rel="author" style=""&gt;CLINT HARRIS&lt;/a&gt;&lt;/span&gt; &lt;span class="small" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 11px; vertical-align: baseline; background-color: transparent;"&gt;on&lt;/span&gt; &lt;span class="post-date" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 11px; vertical-align: baseline; background-color: transparent;"&gt;01. APR, 2009&lt;/span&gt; &lt;span class="small" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 11px; vertical-align: baseline; background-color: transparent;"&gt;in&lt;/span&gt; &lt;span class="post-category" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 11px; vertical-align: baseline; background-color: transparent;"&gt;&lt;a href="http://mobileorchard.com/category/resources/" title="View all posts in Resources" rel="category tag" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 11px; vertical-align: baseline; background-color: transparent; color: rgb(38, 38, 38); text-decoration: none;"&gt;RESOURCES&lt;/a&gt;, &lt;a href="http://mobileorchard.com/category/tips/" title="View all posts in Tips" rel="category tag" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 11px; vertical-align: baseline; background-color: transparent; color: rgb(38, 38, 38); text-decoration: none;"&gt;TIPS&lt;/a&gt;, &lt;a href="http://mobileorchard.com/category/tutorials/" title="View all posts in Tutorials" rel="category tag" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 11px; vertical-align: baseline; background-color: transparent; color: rgb(38, 38, 38); text-decoration: none;"&gt;TUTORIALS&lt;/a&gt;&lt;/span&gt; &lt;p class="post-meta" style=""&gt; From: &lt;a href="http://mobileorchard.com/code-sharing-via-static-libraries-and-cross-project-references/"&gt;http://mobileorchard.com/code-sharing-via-static-libraries-and-cross-project-references/&lt;/a&gt;&lt;/p&gt;&lt;div class="entry" style=""&gt; &lt;p /&gt;&lt;div class="tweetmeme_button" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 10px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 14px; vertical-align: baseline; background-color: transparent; float: right;"&gt; &lt;a href="http://mobileorchard.com/code-sharing-via-static-libraries-and-cross-project-references/" class="tm_button" rel="&amp;amp;style=normal&amp;amp;b=2" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 14px; vertical-align: baseline; background-color: transparent; color: rgb(38, 38, 38); text-decoration: none;"&gt;&lt;/a&gt;&lt;/div&gt; &lt;div style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; border-color: initial; font-size: 14px; vertical-align: baseline; background-color: rgb(221, 238, 255); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221);"&gt; Guest author &lt;a href="http://www.clintharris.net/" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 14px; vertical-align: baseline; background-color: transparent; color: rgb(38, 38, 38); text-decoration: none;"&gt;Clint Harris&lt;/a&gt; (&lt;a href="http://profiles.mobileorchard.com/profiles/3501" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 14px; vertical-align: baseline; background-color: transparent; color: rgb(38, 38, 38); text-decoration: none;"&gt;Profile&lt;/a&gt;) is an independent software consultant with experience ranging from enterprise web app work to custom iPhone app development. He currently lives in Brooklyn, New York.&lt;/div&gt; &lt;p style=""&gt; Finding an elegant way to reuse and share code (i.e., libraries) across separate iPhone applications can be a bit tricky, especially considering Apple’s restrictions on dynamic library linking and custom&lt;a href="http://developer.apple.com/DOCUMENTATION/MacOSX/Conceptual/BPFrameworks/Concepts/WhatAreFrameworks.html#//apple_ref/doc/uid/20002303" target="_blank" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 14px; vertical-align: baseline; background-color: transparent; color: rgb(38, 38, 38); text-decoration: none;"&gt;Frameworks&lt;/a&gt;.&lt;/p&gt; &lt;p style=""&gt; Most people agree that the best way to re-use code is to use &lt;a href="http://en.wikipedia.org/wiki/Static_library" target="_blank" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 14px; vertical-align: baseline; background-color: transparent; color: rgb(38, 38, 38); text-decoration: none;"&gt;static libraries&lt;/a&gt;. This tutorial builds on that solution, showing how your Xcode project can &lt;em style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 14px; vertical-align: baseline; background-color: transparent;"&gt;reference a second Xcode project&lt;/em&gt; — one which is used to build a static library.&lt;/p&gt; &lt;p style=""&gt; This approach allows you to automatically build that static library with the rest of your app, using your current build configuration (e.g., debug, release, etc.) and avoid pre-building several versions of the library separately (where each version was built for a specific environment/configuration).&lt;/p&gt; &lt;h3 style=""&gt; Wanted: An Elegant Way To Share Code Across Projects&lt;/h3&gt;&lt;p style=""&gt; If you want to reuse/share code across different iPhone applications, you only have two options that I’m aware of:&lt;/p&gt;&lt;ol style="margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 30px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 14px; vertical-align: baseline; background-color: transparent;"&gt; &lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 14px; vertical-align: baseline; background-color: transparent;"&gt; Copy all of the source code from the “shared” library into your own project&lt;/li&gt;&lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 14px; vertical-align: baseline; background-color: transparent;"&gt; Keep the shared library code in a separate Xcode project and use it to build static libraries (e.g., libSomeLibrary.a, also referred to as “archive files”) that can be referenced by your project and used via static linking.&lt;/li&gt; &lt;/ol&gt;&lt;p style=""&gt; The first option, copying the files, should be avoided when possible since it’s inherently redundant and contrary to the goal of keeping “common code” modular and atomic.&lt;/p&gt;&lt;p style=""&gt; It’s a much better idea to put the code in a &lt;em style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 14px; vertical-align: baseline; background-color: transparent;"&gt;&lt;strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 14px; vertical-align: baseline; background-color: transparent;"&gt;static library&lt;/strong&gt;&lt;/em&gt; (see since, as mentioned in the introduction, dynamic linking to custom libraries/frameworks isn’t allowed by Apple when it comes to iPhone apps.&lt;/p&gt; &lt;p style=""&gt; For instructions on creating a static library from your code see &lt;a href="http://www.stormyprods.com/blogger/2008/11/using-static-libraries-with-iphone-sdk.html" target="_blank" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 14px; vertical-align: baseline; background-color: transparent; color: rgb(38, 38, 38); text-decoration: none;"&gt;this tutorial&lt;/a&gt; on the Stormy Productions blog.&lt;/p&gt; &lt;p style=""&gt; We’ve established that the second option is preferable, but there’s a catch: you’ll need to build and distribute multiple versions of the static library–one for each runtime environment and build configuration. For example, you would need to build both “release” and “debug” versions of the library for the Simulator, as well as other pairs for the iPhone or iPod device itself.&lt;/p&gt; &lt;p style=""&gt; So, how can we avoid manually pre-building and managing separate .a files?&lt;/p&gt;&lt;h3 style=""&gt; Solution: Static Libraries Built On-Demand Via Xcode Cross-Project References&lt;/h3&gt;&lt;p style=""&gt; The trick to avoid pre-building static libraries for each environment is to use an Xcode “cross-project reference” so that those libraries are built dynamically (i.e., when you build your own app) using your app’s current build configuration.&lt;/p&gt; &lt;p style=""&gt; This approach allows you to both reuse shared source code &lt;em style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 14px; vertical-align: baseline; background-color: transparent;"&gt;&lt;strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 14px; vertical-align: baseline; background-color: transparent;"&gt;and&lt;/strong&gt;&lt;/em&gt; avoid the headache of managing multiple versions of the library. Here’s how it works at a high level:&lt;/p&gt; &lt;ol style="margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 30px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 14px; vertical-align: baseline; background-color: transparent;"&gt; &lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 14px; vertical-align: baseline; background-color: transparent;"&gt; The shared code lives in its own Xcode project that, when built, results in one or more static libraries.&lt;/li&gt;&lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 14px; vertical-align: baseline; background-color: transparent;"&gt; You create an Xcode environment variable with a path to the directory that contains the static library’s *.xcodeproj file.&lt;/li&gt;&lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 14px; vertical-align: baseline; background-color: transparent;"&gt; All iPhone apps that need the static library will use the aforementioned environment variable to&lt;em style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 14px; vertical-align: baseline; background-color: transparent;"&gt;&lt;strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 14px; vertical-align: baseline; background-color: transparent;"&gt;reference&lt;/strong&gt;&lt;/em&gt; the library’s Xcode project, including any static library in that project and the related header files.&lt;/li&gt; &lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 14px; vertical-align: baseline; background-color: transparent;"&gt; Each time you build your project for a specific configuration/runtime environment, the shared project library will also be built for that config/environment–if it hasn’t already–and linked with your executable.&lt;/li&gt;&lt;/ol&gt; &lt;p style=""&gt; In addition to solving the main problem (reusing code and avoiding management of multiple library versions), there are a couple of nice benefits to this strategy:&lt;/p&gt;&lt;p style=""&gt; First, if you make changes to the shared library source code, those changes will immediately be included the next time you build your own project (via the cross-project reference).&lt;/p&gt;&lt;p style=""&gt; Second, you can modify the Xcode environment variable to point to different versions of any project. For example, you might have separate directories for “somelibrary-1.0″ and “somelibrary-2.0″; as you’ll see in the detailed solution instructions, it’s easy to modify the environment variable and switch your project to a different version of “somelibrary.”&lt;/p&gt; &lt;h3 style=""&gt; Implementing Cross-Project References&lt;/h3&gt;&lt;p style=""&gt; The instructions for setting up cross-project references to shared static libraries can be split into two parts:&lt;/p&gt;&lt;ul style="margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 30px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 14px; vertical-align: baseline; background-color: transparent;"&gt; &lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 14px; vertical-align: baseline; background-color: transparent;"&gt; Part 1: Global Xcode Settings&lt;/li&gt;&lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 14px; vertical-align: baseline; background-color: transparent;"&gt; Part 2: Project-Specific Settings&lt;/li&gt;&lt;/ul&gt;&lt;p style=""&gt; I’ll be using an example in the instructions to help illustrate things. A suitable example would be an application that needs to use a shared static library from a separate project. In this case, I’ll use a sample iPhone app called “&lt;/p&gt;&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/tutorial-code-sharing-via-static-libraries-an"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-303953851976328157?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/303953851976328157/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/11/tutorial-code-sharing-via-static.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/303953851976328157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/303953851976328157'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/11/tutorial-code-sharing-via-static.html' title='Tutorial: Code Sharing Via Static Libraries And Cross-Project References'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-793611426163506338</id><published>2011-11-04T12:57:00.001+08:00</published><updated>2011-11-04T12:57:29.097+08:00</updated><title type='text'>HDecode in lattice rescoring mode</title><content type='html'>&lt;div class='posterous_autopost'&gt;When training NN, the training process is usually controlled by the frame accuracy (or frame error rate). However, it is not directly related to the speech recognition performance, i.e. PER or WER. &lt;p /&gt;&lt;div&gt;One way is to do decoding after each time the network weights are updated. For phoneme recognition, it is fine, as the decoding doesn&amp;#39;t take too much time. When coming to word recognition, the decoding is quite time consuming. To speed up, one possible way is to using lattices instead a full decoding. &lt;/div&gt; &lt;p /&gt;&lt;div&gt;Invoke HDecode with &amp;quot;-w&amp;quot; without language model, it will run in lattice rescoring mode (of course, you need set the input lattices parameters). But where to get the lattices? My setup is as follows:&lt;/div&gt; &lt;p /&gt;&lt;div&gt;1) Using HDecode and HMM system to generate lattices using bigram LM ( can also use higher order LM);&lt;/div&gt;&lt;div&gt;2) Using HLRescore to prune the lattices to word networks ( with -m f/b, and save the new lattices with -w);&lt;/div&gt; &lt;div&gt;3) Using HDecode to rescore the lattices with new acoustic model or new posterior features ( in NN case).&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/hdecode-in-lattice-rescoring-mode"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-793611426163506338?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/793611426163506338/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/11/hdecode-in-lattice-rescoring-mode.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/793611426163506338'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/793611426163506338'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/11/hdecode-in-lattice-rescoring-mode.html' title='HDecode in lattice rescoring mode'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-148202806965650062</id><published>2011-10-12T14:15:00.001+08:00</published><updated>2011-10-12T14:15:24.069+08:00</updated><title type='text'>[HTK] CreateHMM: multiple use of logical HMM name sp</title><content type='html'>&lt;div class='posterous_autopost'&gt;When expanding the monphone system to triphone system, I encountered this problem. &lt;p /&gt;&lt;div&gt;From the page : &lt;a href="http://hts.sp.nitech.ac.jp/hts-users/spool/2009/msg00271.html"&gt;http://hts.sp.nitech.ac.jp/hts-users/spool/2009/msg00271.html&lt;/a&gt;, it suggests to check the mktri.hed file, where I found the expanding of sp as triphones. &lt;/div&gt; &lt;p /&gt;&lt;div&gt;Thus the problem is in the process of generating the mktri.hed file, which is done using:&lt;/div&gt;&lt;p /&gt;&lt;div&gt;perl maketrihed [mono_list] triphn_seen.lst&lt;/div&gt;&lt;p /&gt;&lt;div&gt;The correct way of doing so is:&lt;/div&gt; &lt;p /&gt;&lt;div&gt;perl maketrihed [mono_no_sp_no_sil_list] triphn_seen.lst&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/htk-createhmm-multiple-use-of-logical-hmm-nam"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-148202806965650062?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/148202806965650062/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/10/htk-createhmm-multiple-use-of-logical.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/148202806965650062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/148202806965650062'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/10/htk-createhmm-multiple-use-of-logical.html' title='[HTK] CreateHMM: multiple use of logical HMM name sp'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-2676111325786569703</id><published>2011-09-29T11:53:00.001+08:00</published><updated>2011-09-29T11:53:07.674+08:00</updated><title type='text'>PCA whitening</title><content type='html'>&lt;div class='posterous_autopost'&gt;I have encountered this phrase &amp;quot;PCA whitening&amp;quot; many times, all I thought about it was just a simple PCA. However, it is not!&lt;p /&gt;&lt;div&gt;The Whitening is actually PCA + scaling!!!&lt;/div&gt;&lt;p /&gt;&lt;div&gt; &lt;div class='p_embed p_image_embed'&gt; &lt;a href="http://posterous.com/getfile/files.posterous.com/troylee/TFtzaqR581E4ODou0TTUBosDIaXHubeglEAEs4maqr40RTRdVgkkT7l1AKFg/Screenshot-1.png"&gt;&lt;img alt="Screenshot-1" height="252" src="http://posterous.com/getfile/files.posterous.com/troylee/E5Q5jn521agpCarYw99dMYaeKQvX3RkwbWp4dyzi71UjBpgGArxQE1hslhvm/Screenshot-1.png.scaled.500.jpg" width="500" /&gt;&lt;/a&gt; &lt;/div&gt; &lt;br /&gt;&lt;/div&gt;&lt;p /&gt;&lt;div&gt;Also there is a good implementation explanation here : &lt;a href="http://ufldl.stanford.edu/wiki/index.php/Implementing_PCA/Whitening"&gt;http://ufldl.stanford.edu/wiki/index.php/Implementing_PCA/Whitening&lt;/a&gt;&lt;/div&gt; &lt;p /&gt;&lt;p /&gt; &lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;div class='p_embed p_file_embed'&gt; &lt;a href="http://troylee.posterous.com/pca-whitening"&gt;&lt;img alt="" src="http://posterous.com/images/filetypes/pdf.png" /&gt;&lt;/a&gt; &lt;div class='p_embed_description'&gt; &lt;strong&gt;Implementing PCA_Whitening - Ufldl.pdf&lt;/strong&gt; &lt;a href="http://posterous.com/getfile/files.posterous.com/troylee/0j5GJfw39cwilK3yYiiXCXaHtFEF4cSTfsJQXt6l7KlNUjYSG9Gg18YTTPED/Implementing_PCA_Whitening_-_U.pdf"&gt;Download this file&lt;/a&gt; &lt;/div&gt; &lt;/div&gt; &lt;/p&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/pca-whitening"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-2676111325786569703?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/2676111325786569703/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/09/pca-whitening.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/2676111325786569703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/2676111325786569703'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/09/pca-whitening.html' title='PCA whitening'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-3938995725881222091</id><published>2011-09-29T11:36:00.001+08:00</published><updated>2011-09-29T11:36:21.149+08:00</updated><title type='text'>PCA again</title><content type='html'>&lt;div class='posterous_autopost'&gt;PCA is a simple but rather popular techniques for feature processing and is used widely as some initial processing steps involved in many applications. However, every time when I need to do PCA, I have to find some references :&amp;lt;. &lt;p /&gt;&lt;div&gt;Thus again, to put some information for my own reference. The figure is from the attached slides I encountered today, quite clear.&lt;/div&gt;&lt;p /&gt;&lt;div&gt;&lt;div class='p_embed p_image_embed'&gt; &lt;a href="http://posterous.com/getfile/files.posterous.com/troylee/XRTyWxJR2XPzy4V4mYeSbuVP24gGBAFVTg2b1fP9nUtyuBZFRUyMHA2AzTo0/Screenshot.png.scaled.1000.jpg"&gt;&lt;img alt="Screenshot" height="305" src="http://posterous.com/getfile/files.posterous.com/troylee/jOrmH1yx1LbIHibfzjAqGUWI9Y5c4ZaLNfQoSzPLMCdii0J0YMy5IJH2r0J2/Screenshot.png.scaled.500.jpg" width="500" /&gt;&lt;/a&gt; &lt;/div&gt; &lt;br /&gt; &lt;/div&gt; &lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;div class='p_embed p_file_embed'&gt; &lt;a href="http://troylee.posterous.com/pca-again"&gt;&lt;img alt="" src="http://posterous.com/images/filetypes/pdf.png" /&gt;&lt;/a&gt; &lt;div class='p_embed_description'&gt; &lt;strong&gt;3 - Feature extraction.pdf&lt;/strong&gt; &lt;a href="http://posterous.com/getfile/files.posterous.com/troylee/1mbsuzGa49fmCmBExSW8EFGB51jljaKKGjf2ceH2rHafRdcQvuyRmgUOLBbN/3_-_Feature_extraction.pdf"&gt;Download this file&lt;/a&gt; &lt;/div&gt; &lt;/div&gt; &lt;/p&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/pca-again"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-3938995725881222091?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/3938995725881222091/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/09/pca-again.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/3938995725881222091'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/3938995725881222091'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/09/pca-again.html' title='PCA again'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-537123996582491421</id><published>2011-09-03T10:40:00.001+08:00</published><updated>2011-09-03T10:40:21.454+08:00</updated><title type='text'>Unity3D Resources</title><content type='html'>&lt;div class='posterous_autopost'&gt;The original post is from: &lt;a href="http://www.virtualgamelab.com/2/post/2010/04/unity-resources.html"&gt;http://www.virtualgamelab.com/2/post/2010/04/unity-resources.html&lt;/a&gt;&lt;br /&gt;This is just for my own reference!&lt;div&gt;&lt;br /&gt;As promised, this blog entry is going to give an overview of existing Unity resources. I have tried to cover a wide variety of video and text-based tutorials, extensions for Unity and links to most example projects and documentation on the web. I have tried to categorize the resources and also present them in an order that should get you started in no time. Furthermore, I have spent a substantial amount of hours either absorbing these tutorials/docs completely or at least scanning through them (I haven&amp;#39;t bought any paid tutorials except Will Goldstone&amp;#39;s book). Thus, I believe all of these links should lead you to some form of valuable information about Unity. Thanks to all the authors for doing such an incredible job. Without further ado, my take on summarizing resources for Unity.&lt;p /&gt; Unity website: &lt;a href="http://unity3d.com/"&gt;http://unity3d.com/&lt;/a&gt;&lt;p /&gt;Which license do you need? &lt;a href="http://unity3d.com/unity/licenses"&gt;http://unity3d.com/unity/licenses&lt;/a&gt;&lt;p /&gt;Download the free version of Unity to get started: &lt;a href="http://unity3d.com/unity/download/"&gt;http://unity3d.com/unity/download/&lt;/a&gt;&lt;p /&gt; If you have no previous experience with Unity, start with these six video tutorials which give a quick overview of the Unity interface and some important features&lt;br /&gt;&lt;a href="http://unity3d.com/support/documentation/video/"&gt;http://unity3d.com/support/documentation/video/&lt;/a&gt; &lt;p /&gt; Continue with a more in-depth text-based walk through of very basic Unity functionality and work flow &lt;a href="http://unity3d.com/support/documentation/Manual/Unity%20Basics.html"&gt;http://unity3d.com/support/documentation/Manual/Unity%20Basics.html&lt;/a&gt;&lt;p /&gt; To get you started with scripting, have a look at the following PDF document. It was written for an older version of Unity, but still covers relevant aspects of scripting with JavaScript. (2 hours to complete, no previous JavaScript knowledge required)&lt;br /&gt; &lt;a href="http://docwiki.unity3d.com/uploads/Main/Scripting%20Tutorial.pdf"&gt;http://docwiki.unity3d.com/uploads/Main/Scripting%20Tutorial.pdf&lt;/a&gt; &lt;p /&gt;Unity features three scripting languages; JavaScript, C#, and Boo. Depending on your scripting language of choice, you might want to choose different tutorials to get started with Unity. Each tutorial link will also mention which scripting language is used. Most Unity tutorials available on the web are using JavaScript. Notice that JavaScript is commonly used for web applications. Unforunately, books which cover JavaScript are normally of little use for Unity&amp;#39;s implementation of JavaScript. But worry not, a vast amount of tutorials will follow...&lt;p /&gt; If you want to familiarize yourself with Unity&amp;#39;s functionality more, browse through Unity&amp;#39;s manual. You can skip the “Basics” section as we already went through this (see above).&lt;br /&gt;&lt;a href="http://unity3d.com/support/documentation/Manual/index.html"&gt;http://unity3d.com/support/documentation/Manual/index.html&lt;/a&gt; &lt;p /&gt; For a printable version of the 600+ pages manual, seehttp://&lt;a href="http://unity3d.com/support/documentation/printable.html"&gt;unity3d.com/support/documentation/printable.html&lt;/a&gt;&lt;p /&gt;If you rather prefer to jump into the action, skip the manual altogether and have a look at the three books which have been published on Game Development with Unity (one recently added on 06/10/11). &lt;br /&gt; 1) Author Will Goldstone guides you through a complete project and introduces most of Unity&amp;#39;s functionality (using JavaScript). The book is available as print and digital version and all needed assets and resources can be downloaded with the book. It&amp;#39;s been a helpful investment from my point of view.&lt;br /&gt; &lt;a href="http://www.packtpub.com/unity-game-development-essentials/book"&gt;http://www.packtpub.com/unity-game-development-essentials/book&lt;/a&gt; &lt;br /&gt;This forum thread discusses the book and its content. &lt;br /&gt;&lt;a href="http://forum.unity3d.com/viewtopic.php?t=29041"&gt;http://forum.unity3d.com/viewtopic.php?t=29041&lt;/a&gt;&lt;p /&gt; 2) Ryan Henson Creighton more recently published &amp;quot;Unity 3D Game Development by Example Beginner&amp;#39;s Guide&amp;quot;. Find out more about the book here: &lt;a href="https://www.packtpub.com/unity-3d-game-development-by-example-beginners-guide/book"&gt;https://www.packtpub.com/unity-3d-game-development-by-example-beginners-guide/book&lt;/a&gt;&lt;br /&gt; and the forum thread - &lt;a href="http://forum.unity3d.com/threads/61349-Unity-3D-Game-Development-by-Example"&gt;http://forum.unity3d.com/threads/61349-Unity-3D-Game-Development-by-Example&lt;/a&gt;&lt;p /&gt;&lt;br /&gt;3) Craig Stevenson and Simon Quiq (publisher Deep Pixel) released &amp;quot;Unity 3 Blueprints: A practical guide to Indie games development&amp;quot;. Their website provides all the art assests and code to create four classic games from scratch (Match the Pairs, Top-Down Shooter, Tower Defense, Marble Madness).&lt;br /&gt; Amazon link&lt;p /&gt;To get up-to-date on Unity 3 functionality, check out the following official documentation:&lt;p /&gt;Unity 3 - What&amp;#39;s new? &lt;a href="http://unity3d.com/unity/whats-new/unity-3"&gt;http://unity3d.com/unity/whats-new/unity-3&lt;/a&gt;&lt;p /&gt; - Beast lightmapping Basics - &lt;a href="http://unity3d.com/support/documentation/Manual/Lightmapping.html"&gt;http://unity3d.com/support/documentation/Manual/Lightmapping.html&lt;/a&gt;&lt;br /&gt;- Beast Lightmapping In-Depth - &lt;a href="http://unity3d.com/support/documentation/Components/class-LightMapping.html"&gt;http://unity3d.com/support/documentation/Components/class-LightMapping.html&lt;/a&gt;&lt;br /&gt; - Tree Creator - &lt;a href="http://unity3d.com/support/documentation/Components/class-Tree.html"&gt;http://unity3d.com/support/documentation/Components/class-Tree.html&lt;/a&gt;&lt;br /&gt;- Umbra Occlusion Culling - &lt;a href="http://unity3d.com/support/documentation/Manual/Occlusion%20Culling.html"&gt;http://unity3d.com/support/documentation/Manual/Occlusion%20Culling.html&lt;/a&gt;&lt;p /&gt; &lt;br /&gt;You are now faced with the choice of tackling example projects provided by Unity Technologies or jump straight into user-generated tutorials. As the example projects are quite complex, I would suggest working through some video tutorials first. Nonetheless, here are the links for Unity&amp;#39;s official example projects. They can be taken completely apart, reverse-engineered and reused for own projects.&lt;p /&gt; 3D Platform Game&lt;br /&gt;&lt;a href="http://unity3d.com/support/resources/tutorials/3d-platform-game"&gt;http://unity3d.com/support/resources/tutorials/3d-platform-game&lt;/a&gt;&lt;br /&gt;2D Platform Game&lt;br /&gt;&lt;a href="http://unity3d.com/support/resources/tutorials/2d-gameplay-tutorial"&gt;http://unity3d.com/support/resources/tutorials/2d-gameplay-tutorial&lt;/a&gt;&lt;br /&gt; Iphone tutorials and more example projects&lt;br /&gt;&lt;a href="http://unity3d.com/support/resources/tutorials/"&gt;http://unity3d.com/support/resources/tutorials/&lt;/a&gt;&lt;p /&gt;More Unity Example projects&lt;br /&gt;&lt;a href="http://unity3d.com/support/resources/example-projects/"&gt;http://unity3d.com/support/resources/example-projects/&lt;/a&gt; &lt;p /&gt; Brand New Car Tutorial by Unity Technologies&lt;br /&gt;&lt;a href="http://unity3d.com/support/resources/tutorials/car-tutorial"&gt;http://unity3d.com/support/resources/tutorials/car-tutorial&lt;/a&gt;&lt;p /&gt;Now, let&amp;#39;s head on to TUTORIALS. This list starts with mostly basic and general tutorials at the top and lists more specific tutorials at the end.&lt;p /&gt; Will Goldstone , author of the Unity Game Development book, worked on a series of helpful video tutorials here (using JavaScript): &lt;a href="http://learnunity3d.com/"&gt;http://learnunity3d.com/&lt;/a&gt; (also &lt;a href="http://learnmesilly.com/"&gt;http://learnmesilly.com/&lt;/a&gt;).&lt;br /&gt; More recently by Will Goldstone: &lt;a href="http://www.unity3dstudent.com/"&gt;http://www.unity3dstudent.com/&lt;/a&gt;&lt;p /&gt;TornadoTwins Video Tutorials &lt;br /&gt;They show step by step how to create a simple game using Javascript.&lt;br /&gt; &lt;a href="http://www.youtube.com/user/TornadoTwins"&gt;http://www.youtube.com/user/TornadoTwins&lt;/a&gt; &lt;p /&gt;Walker Boys Studio - Unity Tutorials from the Guildhall at SMU (an extensive list of tutorials with more on the way)&lt;br /&gt; &lt;a href="http://walkerboystudio.com/html/unity_training___free__.html"&gt;http://walkerboystudio.com/html/unity_training___free__.html&lt;/a&gt;&lt;p /&gt;CannedMushroom Video Tutorials (Unity and other software)&lt;br /&gt;This is a series of projects intended for 2-hour self-instructed lessons using JavaScript&lt;br /&gt; &lt;a href="http://www.youtube.com/user/cannedmushrooms"&gt;http://www.youtube.com/user/cannedmushrooms&lt;/a&gt; &lt;p /&gt;Unity Jumpstart &lt;br /&gt;Proof of Concept Game to learn creating your own game from the ground up (JavaScript)&lt;br /&gt;&lt;a href="http://forum.unity3d.com/viewtopic.php?t=28433"&gt;http://forum.unity3d.com/viewtopic.php?t=28433&lt;/a&gt; &lt;br /&gt; &lt;a href="http://www.unityjumpstart.com/ProofOfConcept_1/"&gt;http://www.unityjumpstart.com/ProofOfConcept_1/&lt;/a&gt; &lt;p /&gt;&lt;a href="http://3dbuzz.com"&gt;3dbuzz.com&lt;/a&gt; &lt;br /&gt;Series of Unity tutorials in C# (among many other tutorials)&lt;br /&gt; registration required (free)&lt;br /&gt;website - &lt;a href="http://www.3dbuzz.com/vbforum/sv_home.php"&gt;http://www.3dbuzz.com/vbforum/sv_home.php&lt;/a&gt;&lt;br /&gt;forum thread - &lt;a href="http://forum.unity3d.com/threads/37093-Over-7-hours-of-Unity-Training-Videos-Download-them-now"&gt;http://forum.unity3d.com/threads/37093-Over-7-hours-of-Unity-Training-Videos-Download-them-now&lt;/a&gt;!&lt;p /&gt; BurgZergArcade - Unity Tutorials&lt;br /&gt;Hack&amp;amp;Slash Tutorial using C# and plenty of other information and useful tutorials&lt;br /&gt;website - &lt;a href="http://www.burgzergarcade.com/"&gt;http://www.burgzergarcade.com/&lt;/a&gt;&lt;p /&gt; UnityScript Basics (Scripting Basics for Noobs)&lt;br /&gt;If you&amp;#39;re new to scripting, read up on this good introduction to scripting in Unity. Lots of analogies are provided which makes it really easy to understand. The details are explained for C#, but the introduction is great for any scripting language.&lt;br /&gt; website - &lt;a href="http://www.unityscript.com/lessons1/basics.php"&gt;http://www.unityscript.com/lessons1/basics.php&lt;/a&gt;&lt;p /&gt;UnityLabs &lt;br /&gt;Text-based tutorials with screenshots covering a wide range of topics incl. scripting (using JavaScript), basic introduction to unity, character controllers, and user interfaces&lt;br /&gt; &lt;a href="http://www.unitylabs.net/tutorials/unity-beginners"&gt;http://www.unitylabs.net/tutorials/unity-beginners&lt;/a&gt; &lt;p /&gt;InfiniteAmmo Tutorial &lt;br /&gt;General Introduction to Unity (3 parts so far)&lt;br /&gt;Some scripting covered using Javascript (e.g. movement controls)&lt;br /&gt; &lt;a href="http://infiniteammo.ca/blog/impromptu-unity3d-intro-tutorial/"&gt;http://infiniteammo.ca/blog/impromptu-unity3d-intro-tutorial/&lt;/a&gt; &lt;p /&gt;Technicat &lt;br /&gt;Introduction to Game Development with Unity including Workflow, Scripting, GUI, Version Control, etc.&lt;br /&gt; &lt;a href="http://technicat.com/games/unity.html"&gt;http://technicat.com/games/unity.html&lt;/a&gt; &lt;p /&gt;Advanced Media Lab at North Carolina State University &lt;br /&gt;&lt;a href="http://vimeo.com/channels/ncsuunity"&gt;http://vimeo.com/channels/ncsuunity&lt;/a&gt; &lt;p /&gt; GearTech Games &lt;br /&gt;4 Videos on how to work through a project (and more videos)&lt;p /&gt;workflow between Modo and Unity&lt;br /&gt;lightmapping&lt;p /&gt;&lt;a href="http://www.geartechgames.com/GearTech_Games/Beginning_a_Project/Beginning_a_Project.html"&gt;http://www.geartechgames.com/GearTech_Games/Beginning_a_Project/Beginning_a_Project.html&lt;/a&gt;&lt;p /&gt; Making Sense of Unity &lt;br /&gt;These video tutorials provide more indepth coverage of unity scripting using Javascript (not meant to be introductory material)&lt;p /&gt;lecture style explanations of concepts&lt;br /&gt;more entertaining and not like most other screen-capture tutorials :)&lt;p /&gt; &lt;a href="http://www.youtube.com/etphonemyhome"&gt;http://www.youtube.com/etphonemyhome&lt;/a&gt;&lt;p /&gt;IO Development Diary&lt;br /&gt;This series of video tutorials (some paid, some free) follows the development of a Space Shooter and covers a Modo-Unity workflow and C# scripting.&lt;br /&gt; forum thread - &lt;a href="http://forum.unity3d.com/viewtopic.php?t=55762"&gt;http://forum.unity3d.com/viewtopic.php?t=55762&lt;/a&gt;&lt;br /&gt;website - &lt;a href="http://fallingbrickwork.fearedfuturegames.com/"&gt;http://fallingbrickwork.fearedfuturegames.com/&lt;/a&gt;&lt;p /&gt; Virtual Autonomy &lt;br /&gt;Guide for working with Google SketchUp and Unity&lt;br /&gt;(also shaders and multi-user environments)&lt;br /&gt;text-based with screenshots&lt;br /&gt;&lt;a href="http://virtualautonomy.com/blog/index.php/tutorials/"&gt;http://virtualautonomy.com/blog/index.php/tutorials/&lt;/a&gt;&lt;p /&gt; Robotduck - Blog &lt;br /&gt;The blog of this Unity user provides tips on Unity scripting and functionality and showcases some of his projects&lt;br /&gt;&lt;a href="http://robotduck.wordpress.com/"&gt;http://robotduck.wordpress.com/&lt;/a&gt; &lt;p /&gt; Ethical Games &lt;br /&gt;Unity Tutorials for Flash Developers&lt;br /&gt;&lt;a href="http://ethicalgames.wordpress.com/2009/01/14/unity-for-flash-developers-tutorial-1/"&gt;http://ethicalgames.wordpress.com/2009/01/14/unity-for-flash-developers-tutorial-1/&lt;/a&gt; &lt;p /&gt; Car Tutorial &lt;br /&gt;Physics Setup for a car, AI for driving around racetrack&lt;br /&gt;&lt;a href="http://www.gotow.net/andrew/blog/?page_id=78"&gt;http://www.gotow.net/andrew/blog/?page_id=78&lt;/a&gt; &lt;p /&gt;Terrain Tutorial &lt;br /&gt;seven videos on how to create terrains in Unity from heightmaps to finish&lt;br /&gt; &lt;a href="http://vimeo.com/album/156452"&gt;http://vimeo.com/album/156452&lt;/a&gt; &lt;p /&gt;In-Depth Terrain Tutorial &lt;br /&gt;text-based with screenshots&lt;br /&gt;&lt;a href="http://www.unifycommunity.com/wiki/index.php?title=Terrain_tutorial"&gt;http://www.unifycommunity.com/wiki/index.php?title=Terrain_tutorial&lt;/a&gt; &lt;br /&gt; forum thread&lt;br /&gt;&lt;a href="http://forum.unity3d.com/viewtopic.php?t=16941"&gt;http://forum.unity3d.com/viewtopic.php?t=16941&lt;/a&gt; &lt;p /&gt;Paul Bourke -Unity for stereoscopic display&lt;br /&gt;text-based with screenshots&lt;br /&gt;&lt;a href="http://local.wasp.uwa.edu.au/~pbourke/miscellaneous/stereographics/Unitystereo/"&gt;http://local.wasp.uwa.edu.au/~pbourke/miscellaneous/stereographics/Unitystereo/&lt;/a&gt; &lt;p /&gt; Paul Bourke – Unity and Idome&lt;br /&gt;text-based with screenshots&lt;br /&gt;&lt;a href="http://local.wasp.uwa.edu.au/~pbourke/miscellaneous/domemirror/UnityiDome/"&gt;http://local.wasp.uwa.edu.au/~pbourke/miscellaneous/domemirror/UnityiDome/&lt;/a&gt; &lt;p /&gt; RENCI – Unity for Dome projections&lt;br /&gt;&lt;a href="http://unc.renci.org/rencinews/the-dome-corner-006"&gt;http://unc.renci.org/rencinews/the-dome-corner-006&lt;/a&gt; &lt;p /&gt;Official Unity Tech. Tutorial for the Animation View (NEW) 3-part-series of video tutorials &lt;br /&gt; &lt;a href="http://unity3d.com/support/resources/tutorials/video-animation-view"&gt;http://unity3d.com/support/resources/tutorials/video-animation-view&lt;/a&gt;&lt;p /&gt;PAID TUTORIALS&lt;p /&gt;VTC - Unity tutorial using JavaScript (subscription based content on &lt;a href="http://vtc.com"&gt;vtc.com&lt;/a&gt;)&lt;br /&gt; &lt;a href="http://www.vtc.com/products/Introduction-to-Game-Development-Using-Unity-3D-Tutorials.htm"&gt;http://www.vtc.com/products/Introduction-to-Game-Development-Using-Unity-3D-Tutorials.htm&lt;/a&gt;&lt;br /&gt;Unity-Tutorials (mostly paid and some free tutorials)&lt;br /&gt; &lt;a href="http://www.unity-tutorials.com/"&gt;http://www.unity-tutorials.com/&lt;/a&gt; &lt;p /&gt;Design3.com (subscription based tutorials, Unity-related content among other software like Maya, 3DS Max, Photoshop)&lt;br /&gt;&lt;a href="http://www.design3.com/by-software/unity"&gt;http://www.design3.com/by-software/unity&lt;/a&gt;  &lt;p /&gt; GENERAL RESOURCES&lt;p /&gt;Once you went through some or all of these tutorials, you should be creating your own content in no time. Next, I&amp;#39;ll provide an overview of general resources for Unity. Whenever you need to find some information about Unity, scripting, projects, collaborations or anything Unity-related, check these links out:&lt;p /&gt; Searching for resources - The All-In-One Unity Reference Search &lt;br /&gt;&lt;a href="http://www.google.com/cse/home?cx=001712401338047450041:csfhqk-trfa"&gt;http://www.google.com/cse/home?cx=001712401338047450041:csfhqk-trfa&lt;/a&gt; &lt;br /&gt; credit goes to Robotduck for providing this link to the public; tremendous time saver (seehttp://&lt;a href="http://robotduck.wordpress.com/"&gt;robotduck.wordpress.com/&lt;/a&gt;)&lt;p /&gt;Unity Scripting Reference &lt;br /&gt;&lt;a href="http://unity3d.com/support/documentation/ScriptReference/index.html"&gt;http://unity3d.com/support/documentation/ScriptReference/index.html&lt;/a&gt; &lt;p /&gt; Unity Component Reference &lt;br /&gt;each available Component described in detail&lt;br /&gt;&lt;a href="http://unity3d.com/support/documentation/Components/index.html"&gt;http://unity3d.com/support/documentation/Components/index.html&lt;/a&gt; &lt;p /&gt; Unity Wiki (UnifyCommunity) &lt;br /&gt;&lt;a href="http://www.unifycommunity.com/wiki/index.php?title=Main_Page"&gt;http://www.unifycommunity.com/wiki/index.php?title=Main_Page&lt;/a&gt; &lt;p /&gt;Unity Answers &lt;br /&gt;Invaluable when you have specific questions about Unity or Scripting&lt;br /&gt; &lt;a href="http://answers.unity3d.com/"&gt;http://answers.unity3d.com/&lt;/a&gt; &lt;br /&gt;This link should also get you started on learning Unity&lt;br /&gt;&lt;a href="http://answers.unity3d.com/search?q=learning+tutorial"&gt;http://answers.unity3d.com/search?q=learning+tutorial&lt;/a&gt; &lt;p /&gt; Unity Forum &lt;br /&gt;&lt;a href="http://forum.unity3d.com/"&gt;http://forum.unity3d.com/&lt;/a&gt; &lt;br /&gt;&lt;a href="http://forum.unity3d.com/viewtopic.php?t=30633"&gt;http://forum.unity3d.com/viewtopic.php?t=30633&lt;/a&gt; &lt;p /&gt;Unity Feedback &lt;br /&gt; feature requests go here&lt;br /&gt;&lt;a href="http://feedback.unity3d.com"&gt;http://feedback.unity3d.com&lt;/a&gt; &lt;p /&gt;Unity IRC &lt;br /&gt;Point your favorite IRC client to &lt;a href="http://irc.freenode.net"&gt;irc.freenode.net&lt;/a&gt; and join #unity3d to chat in real time. &lt;p /&gt; Overview of Unity Resources &lt;br /&gt;&lt;a href="http://www.reddit.com/r/unity_tutorials/"&gt;http://www.reddit.com/r/unity_tutorials/&lt;/a&gt; &lt;p /&gt;Overview of Unity blogs &lt;br /&gt;&lt;a href="http://www.reddit.com/r/unity_blogs/"&gt;http://www.reddit.com/r/unity_blogs/&lt;/a&gt; &lt;p /&gt; TOOLS AND EXTENSIONS&lt;p /&gt;Lastly, I want to list extensions and tools which can make your life as a Unity developer easier.&lt;p /&gt;Unity Extensions&lt;p /&gt;Terrain Toolkit&lt;br /&gt;External Lightmapping Tool&lt;br /&gt;Locomotion System&lt;br /&gt; Explosion Framework&lt;br /&gt;Head Look Controller&lt;p /&gt;&lt;a href="http://unity3d.com/support/resources/unity-extensions/"&gt;http://unity3d.com/support/resources/unity-extensions/&lt;/a&gt;&lt;br /&gt;overview of some extensions – Unity youtube and vimeo channels &lt;br /&gt; &lt;a href="http://www.youtube.com/user/Unity3D"&gt;http://www.youtube.com/user/Unity3D&lt;/a&gt; &lt;br /&gt;&lt;a href="http://www.vimeo.com/unity3d/videos"&gt;http://www.vimeo.com/unity3d/videos&lt;/a&gt; &lt;p /&gt;Visual C# Express-  free IDE for your C# development&lt;br /&gt; &lt;a href="http://www.microsoft.com/express/Downloads/#2008-Visual-CS"&gt;http://www.microsoft.com/express/Downloads/#2008-Visual-CS&lt;/a&gt;&lt;p /&gt;3DAttack - Tools and Home of Unity Creative Magazine&lt;br /&gt;First Person Shooter Developer Kit&lt;br /&gt; forum thread - &lt;a href="http://forum.unity3d.com/viewtopic.php?t=53136"&gt;http://forum.unity3d.com/viewtopic.php?t=53136&lt;/a&gt;&lt;br /&gt;website - &lt;a href="http://www.3dattack.us/3DAttack/News.html"&gt;http://www.3dattack.us/3DAttack/News.html&lt;/a&gt;&lt;p /&gt; AngryAnt &lt;br /&gt;One of Unity&amp;#39;s developers provides projects to extend Unity&amp;#39;s functionality (e.g. pathfinding and AI)&lt;br /&gt;&lt;a href="http://angryant.com/"&gt;http://angryant.com/&lt;/a&gt; &lt;br /&gt;forum thread Path - &lt;a href="http://forum.unity3d.com/threads/19341-Pathfinding-in-unity-First-Path-1.0-tutorial-now-available"&gt;http://forum.unity3d.com/threads/19341-Pathfinding-in-unity-First-Path-1.0-tutorial-now-available&lt;/a&gt;!&lt;p /&gt; sturestone&amp;#39;s A* Pathfinding (currently version 2.9)&lt;br /&gt;forum thread - &lt;a href="http://forum.unity3d.com/threads/67417-A*-Pathfinding-2.9-Is-Released-(Unity-3-Compatible)"&gt;http://forum.unity3d.com/threads/67417-A*-Pathfinding-2.9-Is-Released-(Unity-3-Compatible)&lt;/a&gt;&lt;p /&gt; Weltenbauer &lt;br /&gt;Augmented Reality / Webcam Input&lt;br /&gt;&lt;a href="http://produktion.weltenbauer.com/#/5"&gt;http://produktion.weltenbauer.com/#/5&lt;/a&gt; &lt;br /&gt;forum threads:&lt;br /&gt;&lt;a href="http://forum.unity3d.com/viewtopic.php?t=32613&amp;amp;highlight=toolkit"&gt;http://forum.unity3d.com/viewtopic.php?t=32613&amp;amp;highlight=toolkit&lt;/a&gt; (Webcam Toolkit)&lt;br /&gt; &lt;a href="http://forum.unity3d.com/viewtopic.php?t=11889&amp;amp;highlight=toolkit"&gt;http://forum.unity3d.com/viewtopic.php?t=11889&amp;amp;highlight=toolkit&lt;/a&gt; (ARToolkit Extension)&lt;br /&gt;&lt;a href="http://forum.unity3d.com/viewtopic.php?t=32669&amp;amp;highlight=toolkit"&gt;http://forum.unity3d.com/viewtopic.php?t=32669&amp;amp;highlight=toolkit&lt;/a&gt; (UnityAR)&lt;p /&gt; SeeingMachines FaceAPI / VisionBlaster – Head Tracking in Unity (purchase required)&lt;br /&gt;&lt;a href="http://visionblaster.com/cms/index.php?option=com_content&amp;amp;view=article&amp;amp;id=48&amp;amp;Itemid=62&amp;amp;lang=en"&gt;http://visionblaster.com/cms/index.php?option=com_content&amp;amp;view=article&amp;amp;id=48&amp;amp;Itemid=62&amp;amp;lang=en&lt;/a&gt; &lt;br /&gt; and &lt;a href="http://www.seeingmachines.com/product/faceapi/downloads/"&gt;http://www.seeingmachines.com/product/faceapi/downloads/&lt;/a&gt;&lt;p /&gt;Mostly Tigerproof – Using Google Analytics and Unity to track game stats&lt;br /&gt;This is a blog entry about Google Analytics and Unity&lt;br /&gt; &lt;a href="http://blog.mostlytigerproof.com/2009/10/06/gathering-statistics-using-google-analytics-and-unity-3d/"&gt;http://blog.mostlytigerproof.com/2009/10/06/gathering-statistics-using-google-analytics-and-unity-3d/&lt;/a&gt; &lt;p /&gt; Antares Project - Extensive Set of Tools to extend the Unity Editor - Open Source&lt;br /&gt;Also available: Antares.dll (free for non-commercial work)&lt;br /&gt;forum thread - &lt;a href="http://forum.unity3d.com/viewtopic.php?t=50843"&gt;http://forum.unity3d.com/viewtopic.php?t=50843&lt;/a&gt;&lt;p /&gt; Antares Deformator - Deform your meshes (Beta Version)&lt;br /&gt;forum thread - &lt;a href="http://forum.unity3d.com/viewtopic.php?t=54290"&gt;http://forum.unity3d.com/viewtopic.php?t=54290&lt;/a&gt;&lt;p /&gt;UniWii – WiiMote implementation &lt;br /&gt; &lt;a href="http://www.unifycommunity.com/wiki/index.php?title=UniWii"&gt;http://www.unifycommunity.com/wiki/index.php?title=UniWii&lt;/a&gt; &lt;br /&gt;forum thread&lt;br /&gt;&lt;a href="http://forum.unity3d.com/viewtopic.php?t=7284"&gt;http://forum.unity3d.com/viewtopic.php?t=7284&lt;/a&gt; &lt;p /&gt; Unity Terrain Tools - EasyRoads (purchase required)&lt;br /&gt;&lt;a href="http://unityterraintools.com/downloads.php"&gt;http://unityterraintools.com/downloads.php&lt;/a&gt;&lt;br /&gt;forum thread&lt;br /&gt;&lt;a href="http://forum.unity3d.com/viewtopic.php?t=23519"&gt;http://forum.unity3d.com/viewtopic.php?t=23519&lt;/a&gt;&lt;p /&gt; Six Times Nothing - Road/Path Tool and River Tool &lt;a href="http://www.sixtimesnothing.com/"&gt;http://www.sixtimesnothing.com/&lt;/a&gt;&lt;p /&gt;Dastardly Banana - FPS Weapon Tool, Radar examplehttp://&lt;a href="http://dastardlybanana.com/Downloads.htm"&gt;dastardlybanana.com/Downloads.htm&lt;/a&gt;&lt;p /&gt; Starscene Software - Tools, Games and Utilities for Unity (purchase required for utilities) &lt;br /&gt;&lt;a href="http://www.starscenesoftware.com"&gt;http://www.starscenesoftware.com&lt;/a&gt;&lt;br /&gt;e.g. Vectrosity - Line Drawing Tool&lt;br /&gt; &lt;a href="http://starscenesoftware.com/vectrosity.html"&gt;http://starscenesoftware.com/vectrosity.html&lt;/a&gt;&lt;br /&gt;Fractscape - Terrain Tool&lt;br /&gt;Stitchscape - Stitch multiple terrains together&lt;p /&gt;GUIX - visual Menu/GUI builder (purchase required)&lt;a href="http://www.ennanzus.com/developer/GUIX/buy.htm"&gt;http://www.ennanzus.com/developer/GUIX/buy.htm&lt;/a&gt;&lt;p /&gt; EZ Game Saver - saving tool (purchase required)&lt;br /&gt;&lt;a href="http://www.anbsoft.com/middleware/ezs/index.htm"&gt;http://www.anbsoft.com/middleware/ezs/index.htm&lt;/a&gt;&lt;br /&gt;Note that I will cover saving to text file in a later blog&lt;p /&gt; Fire Tool - Realistically spreading fire (on hold for the moment)&lt;br /&gt;&lt;a href="http://forum.unity3d.com/viewtopic.php?t=49588"&gt;http://forum.unity3d.com/viewtopic.php?t=49588&lt;/a&gt;&lt;p /&gt;Decal Framework - Easily place decals in your scene&lt;br /&gt; forum thread - &lt;a href="http://forum.unity3d.com/viewtopic.php?t=54613"&gt;http://forum.unity3d.com/viewtopic.php?t=54613&lt;/a&gt;&lt;p /&gt;Visual Logic Editor by NeoDrop (Antares VIZIO, Work in Progress)&lt;br /&gt;forum thread - &lt;a href="http://forum.unity3d.com/viewtopic.php?t=31132"&gt;http://forum.unity3d.com/viewtopic.php?t=31132&lt;/a&gt;&lt;p /&gt; Nimbus Volumetric Clouds&lt;br /&gt;forum thread - &lt;a href="http://forum.unity3d.com/viewtopic.php?t=51972"&gt;http://forum.unity3d.com/viewtopic.php?t=51972&lt;/a&gt;&lt;p /&gt;RapidUnity Vehicle Editor Resource Pack&lt;br /&gt;forum thread - &lt;a href="http://forum.unity3d.com/viewtopic.php?t=56257"&gt;http://forum.unity3d.com/viewtopic.php?t=56257&lt;/a&gt;&lt;p /&gt; Ocean 3D - Ocean Simulation&lt;br /&gt;website: &lt;a href="http://www.nikko3d.com/index.php/downloads-2/"&gt;http://www.nikko3d.com/index.php/downloads-2/&lt;/a&gt;&lt;p /&gt;ShaderFusion - Node-Based Shader Editor (Requires Unity3)&lt;br /&gt;forum thread - &lt;a href="http://forum.unity3d.com/viewtopic.php?t=60611"&gt;http://forum.unity3d.com/viewtopic.php?t=60611&lt;/a&gt;&lt;p /&gt; Strumpy Shader Editor - Node-Based Shader Editor&lt;br /&gt;forum thread - &lt;a href="http://forum.unity3d.com/threads/56180-Strumpy-Shader-Editor-Beta-3.1-released-(performance-usability-upgrade)"&gt;http://forum.unity3d.com/threads/56180-Strumpy-Shader-Editor-Beta-3.1-released-(performance-usability-upgrade)&lt;/a&gt;&lt;p /&gt; Overview of extensions on UnifyWiki &lt;br /&gt;&lt;a href="http://www.unifycommunity.com/wiki/index.php?title=Extensions"&gt;http://www.unifycommunity.com/wiki/index.php?title=Extensions&lt;/a&gt; &lt;p /&gt;LightUp (purchase required)&lt;br /&gt; Extension of Google Sketchup (Lighting Solution) which works nicely for exporting lightmaps to Unity&lt;br /&gt;&lt;a href="http://www.light-up.co.uk/"&gt;http://www.light-up.co.uk/&lt;/a&gt; &lt;p /&gt;Community Project - GTAIV Vehicle Replica (Pledge of &amp;gt; USD 50 required)&lt;br /&gt; forum thread - &lt;a href="http://forum.unity3d.com/viewtopic.php?t=50493"&gt;http://forum.unity3d.com/viewtopic.php?t=50493&lt;/a&gt;&lt;p /&gt;Stereoscopic Solutions&lt;br /&gt;3D Anaglyph System (purchase required)&lt;br /&gt;Stereoskopix3D&lt;p /&gt; Plugin for Kinect&amp;#39;s Primesense Camera&lt;br /&gt; forum thread - &lt;a href="http://forum.unity3d.com/threads/67982-Kinect-plugin"&gt;http://forum.unity3d.com/threads/67982-Kinect-plugin&lt;/a&gt;&lt;p /&gt;Unity Web Suite - tutorials and examples in C# to create online content&lt;br /&gt;forum thread - &lt;a href="http://forum.unity3d.com/threads/17674-Unity-Web-Suite-(Examples-Tutorials)"&gt;http://forum.unity3d.com/threads/17674-Unity-Web-Suite-(Examples-Tutorials)&lt;/a&gt;&lt;br /&gt; website - &lt;a href="http://www.nickbreslin.com/2009/04/phphandler-20-released/"&gt;http://www.nickbreslin.com/2009/04/phphandler-20-released/&lt;/a&gt;&lt;p /&gt;Tools for Visual Programming:&lt;br /&gt;Antares Universe - Vizio (forum thread)&lt;br /&gt; cost (as of 05/22/11) Euro 142.50 &lt;br /&gt;Visual programming tool similar to the approaches of Quest3D and Virtools.&lt;p /&gt;Playmaker by Hutong Games&lt;br /&gt;cost (as of 05/22/11) Euro 95.00&lt;br /&gt;Visual State Machine Editor (website and forum thread)&lt;p /&gt; uScript by Detox Studios (Beta Version)&lt;br /&gt;website and forum thread&lt;br /&gt;Visual Scripting Tool based on UDK&amp;#39;s Kismet&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/unity3d-resources"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-537123996582491421?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/537123996582491421/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/09/unity3d-resources.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/537123996582491421'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/537123996582491421'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/09/unity3d-resources.html' title='Unity3D Resources'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-757320535475818648</id><published>2011-09-01T21:47:00.001+08:00</published><updated>2011-09-01T21:47:47.574+08:00</updated><title type='text'>Resolving nvcc &amp; gcc conflict ion for Theano</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;span style="font-family: Lucida Grande, Lucida Sans Unicode, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 21px; background-color: rgb(247, 247, 247);"&gt;There is a compatibility issue affecting some Ubuntu 9.10 users, and probably anyone using CUDA 2.3 with gcc-4.4. Symptom: errors about “__sync_fetch_and_add” being undefined. &lt;strong&gt;Solution 1:&lt;/strong&gt; make gcc-4.3 the default gcc (&lt;a href="http://pascalg.wordpress.com/2010/01/14/cuda-on-ubuntu-9-10linux-mint-helena/" class="reference external" style="color: rgb(202, 121, 0); text-decoration: underline;"&gt;http://pascalg.wordpress.com/2010/01/14/cuda-on-ubuntu-9-10linux-mint-helena/&lt;/a&gt;) &lt;strong&gt;Solution 2:&lt;/strong&gt; make another gcc (e.g. gcc-4.3) the default just for nvcc. Do this by making a directory (e.g. &lt;tt class="docutils literal" style="font-family: Consolas, Deja Vu Sans Mono, Bitstream Vera Sans Mono, monospace; font-size: 0.95em; letter-spacing: 0.01em; background-color: rgb(242, 242, 242); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(221, 221, 221); color: rgb(51, 51, 51);"&gt;&lt;span class="pre"&gt;$HOME/.theano/nvcc-bindir&lt;/span&gt;&lt;/tt&gt;) and installing two symlinks in it: one called gcc pointing to gcc-4.3 (or lower) and one called g++ pointing to g++-4.3 (or lower). Then add &lt;tt class="docutils literal" style="font-family: Consolas, Deja Vu Sans Mono, Bitstream Vera Sans Mono, monospace; font-size: 0.95em; letter-spacing: 0.01em; background-color: rgb(242, 242, 242); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(221, 221, 221); color: rgb(51, 51, 51);"&gt;&lt;span class="pre"&gt;compiler_bindir&lt;/span&gt; &lt;span class="pre"&gt;=&lt;/span&gt; &lt;span class="pre"&gt;/path/to/nvcc-bindir&lt;/span&gt;&lt;/tt&gt; to the &lt;tt class="docutils literal" style="font-family: Consolas, Deja Vu Sans Mono, Bitstream Vera Sans Mono, monospace; font-size: 0.95em; letter-spacing: 0.01em; background-color: rgb(242, 242, 242); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(221, 221, 221); color: rgb(51, 51, 51);"&gt;&lt;span class="pre"&gt;[nvcc]&lt;/span&gt;&lt;/tt&gt; section of your &lt;tt class="docutils literal" style="font-family: Consolas, Deja Vu Sans Mono, Bitstream Vera Sans Mono, monospace; font-size: 0.95em; letter-spacing: 0.01em; background-color: rgb(242, 242, 242); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(221, 221, 221); color: rgb(51, 51, 51);"&gt;&lt;span class="pre"&gt;.theanorc&lt;/span&gt;&lt;/tt&gt; (&lt;cite style="font-family: Consolas, Deja Vu Sans Mono, Bitstream Vera Sans Mono, monospace; font-size: 0.95em; letter-spacing: 0.01em;"&gt;libdoc_config&lt;/cite&gt;).&lt;/span&gt;&lt;p /&gt; &lt;div&gt;&lt;span style="font-family: Lucida Grande, Lucida Sans Unicode, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 21px; background-color: rgb(247, 247, 247);"&gt;.theanorc file should be under the folder $HOME. If there is no such file, then create a new one.&lt;/span&gt;&lt;/div&gt; &lt;p /&gt;&lt;div&gt;&lt;span style="font-family: Lucida Grande, Lucida Sans Unicode, Geneva, Verdana, sans-serif; font-size: 13px; line-height: 21px; background-color: rgb(247, 247, 247);"&gt;From: &lt;/span&gt;&lt;a href="http://deeplearning.net/software/theano/tutorial/using_gpu.html"&gt;http://deeplearning.net/software/theano/tutorial/using_gpu.html&lt;/a&gt;&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/resolving-nvcc-gcc-conflict-ion-for-theano"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-757320535475818648?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/757320535475818648/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/09/resolving-nvcc-gcc-conflict-ion-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/757320535475818648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/757320535475818648'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/09/resolving-nvcc-gcc-conflict-ion-for.html' title='Resolving nvcc &amp;amp; gcc conflict ion for Theano'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-2097064671660939820</id><published>2011-08-24T21:54:00.001+08:00</published><updated>2011-08-24T21:54:16.335+08:00</updated><title type='text'>Papers on learning sparse Gaussian Precision Matrix</title><content type='html'>&lt;div class='posterous_autopost'&gt;The basic idea of learning a sparse full covariance for the Gaussian using Graphical models was proposed in the paper &amp;quot;Covaraince Selection&amp;quot;.&lt;p /&gt;&lt;div&gt;In the paper &amp;quot;Sparse Gaussian Graphical Models for Speech Recognition&amp;quot;, the authors adopted the sparse full covariance learning to speech recognition.&lt;/div&gt; &lt;p /&gt;&lt;div&gt;In the third paper, &amp;quot;Projected Subgradient Methods for Learning Sparse Gaussians&amp;quot;, a new approach for estimating the covaraince is proposed.&lt;/div&gt; &lt;p&gt;&lt;div class='p_embed p_file_embed'&gt; &lt;a href="http://troylee.posterous.com/papers-on-learning-sparse-gaussian-precision"&gt;&lt;img alt="" src="http://posterous.com/images/filetypes/pdf.png" /&gt;&lt;/a&gt; &lt;div class='p_embed_description'&gt; &lt;strong&gt;covariance selection.pdf&lt;/strong&gt; &lt;a href="http://posterous.com/getfile/files.posterous.com/troylee/Io9A2fw3Ed3OU3UI1ms2pPbKGMFRZ3OVqAbyvXpMWXucEXcLa67C3x5pGGKc/covariance_selection.pdf"&gt;Download this file&lt;/a&gt; &lt;/div&gt; &lt;/div&gt; &lt;/p&gt;&lt;p&gt;&lt;div class='p_embed p_file_embed'&gt; &lt;a href="http://troylee.posterous.com/papers-on-learning-sparse-gaussian-precision"&gt;&lt;img alt="" src="http://posterous.com/images/filetypes/pdf.png" /&gt;&lt;/a&gt; &lt;div class='p_embed_description'&gt; &lt;strong&gt;Sparse Gaussian Graphical Models for speech recognition_is2007.pdf&lt;/strong&gt; &lt;a href="http://posterous.com/getfile/files.posterous.com/troylee/3IL4HlWaAZhCbPGSdW1DsEnHL5rIEy5n1Y9ucl43i0v8160ANjLcMt3y5UE4/Sparse_Gaussian_Graphical_Mode.pdf"&gt;Download this file&lt;/a&gt; &lt;/div&gt; &lt;/div&gt; &lt;/p&gt;&lt;p&gt;&lt;div class='p_embed p_file_embed'&gt; &lt;a href="http://troylee.posterous.com/papers-on-learning-sparse-gaussian-precision"&gt;&lt;img alt="" src="http://posterous.com/images/filetypes/pdf.png" /&gt;&lt;/a&gt; &lt;div class='p_embed_description'&gt; &lt;strong&gt;projected subgradient methods for learning sparse gaussians.pdf&lt;/strong&gt; &lt;a href="http://posterous.com/getfile/files.posterous.com/troylee/FmGU8KUzzh4VaNN0pWhNnzJPdWqAJS8vyJmXEnEbLv7OHVxQcvGa0H3BFhAj/projected_subgradient_methods_.pdf"&gt;Download this file&lt;/a&gt; &lt;/div&gt; &lt;/div&gt; &lt;/p&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/papers-on-learning-sparse-gaussian-precision"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-2097064671660939820?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/2097064671660939820/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/08/papers-on-learning-sparse-gaussian.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/2097064671660939820'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/2097064671660939820'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/08/papers-on-learning-sparse-gaussian.html' title='Papers on learning sparse Gaussian Precision Matrix'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-897276592218010699</id><published>2011-08-24T09:40:00.001+08:00</published><updated>2011-08-24T09:40:26.859+08:00</updated><title type='text'>LangBrain Website</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;a href="http://www.ruf.rice.edu/~lngbrain/main.htm"&gt;http://www.ruf.rice.edu/~lngbrain/main.htm&lt;/a&gt;&lt;p /&gt;&lt;div&gt;&lt;div style="font-family: Arial; background-color: rgb(182, 208, 228); font-size: medium;"&gt;&lt;center&gt; &lt;table border="0" width="500"&gt;&lt;tr&gt;&lt;td&gt;&lt;center&gt;&lt;i&gt;&amp;quot;If the human mind were simple enough for us to understand,&lt;br /&gt;we would be too simple-minded to understand it.&amp;quot;&lt;/i&gt;&lt;/center&gt; &lt;p align="right"&gt;Anonymous&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/center&gt;&lt;br /&gt;&lt;p&gt;&lt;b&gt;The ability of humans to speak and to understand speech requires an enormous amount of brain resources. These resources have to manage information about many thousands of words and many syntactic constructions and their interconnections, not just to one another but to meanings and to the structures that allow us to recognize the sounds of speech and to move the muscles of our mouths to produce speech. This complex combination of brain structures can be called the brain&amp;#39;s linguistic system. It allows a person not only to talk and to understand speech but also to read and write. It also gives us the power to think as well as the power to acquire new knowledge and abilities and to learn how to speak in the first place. The Langbrain website is about this system.&lt;/b&gt;&lt;/p&gt; &lt;p /&gt;&lt;/div&gt;&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/langbrain-website"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-897276592218010699?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/897276592218010699/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/08/langbrain-website.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/897276592218010699'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/897276592218010699'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/08/langbrain-website.html' title='LangBrain Website'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-3381588208579589963</id><published>2011-08-23T21:48:00.001+08:00</published><updated>2011-08-23T21:48:28.846+08:00</updated><title type='text'>Graphical Gaussian Models for Genome Data</title><content type='html'>&lt;div class='posterous_autopost'&gt;From: &lt;a href="http://strimmerlab.org/notes/ggm.html"&gt;http://strimmerlab.org/notes/ggm.html&lt;/a&gt;&lt;p /&gt;&lt;div&gt;&lt;div style="font-family: helvetica, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255);"&gt;&lt;p class="c1" style="text-align: justify; margin-left: 1%;"&gt; Synopsis:&lt;/p&gt;&lt;div class="note" style="float: right; text-align: left; font-size: 9pt; font-family: helvetica, sans-serif; margin-top: 0px; margin-right: 1%; margin-bottom: 0px; margin-left: 0px;"&gt;For software to efficiently identify GGM networks from data visit the&lt;a href="http://strimmerlab.org/software/genenet/" style="color: rgb(0, 51, 153); text-decoration: none;"&gt;GeneNet&lt;/a&gt; page.&lt;/div&gt; &lt;p style="text-align: justify; margin-left: 1%;"&gt;A simple method for inferring the network of (linear) dependencies among a set of variables is to compute all pairwise correlations and subsequently to draw the corresponding graph (for some specified threshold). While popular and often used on many types of genomic data (e.g. gene expression, metabolite concentrations etc.)&lt;strong&gt;the naive correlation approach does not allow to infer the dependency network. Instead, graphical Gaussians models (GGMs) should be used&lt;/strong&gt;. These allow to correctly identify direct influences, have close connections with causal graphical models, are straightforward to interpret, and yet are essentially as easy to compute as naive correlation models. This page lists pointers to learning GGMs from data, including procedures suitable for &amp;quot;small n, large p&amp;quot; data sets (category iii).&lt;/p&gt; &lt;p style="text-align: justify; margin-left: 1%;"&gt; &lt;/p&gt;&lt;p class="c1" style="text-align: justify; margin-left: 1%;"&gt;Introduction:&lt;/p&gt;&lt;p style="text-align: justify; margin-left: 1%;"&gt; &lt;a href="http://www.google.com/search?hl=en&amp;amp;lr=&amp;amp;q=graphical+gaussian+model" style="color: rgb(0, 51, 153); text-decoration: none;"&gt;Graphical Gaussian Models&lt;/a&gt; (GGMs), also known as &amp;quot;&lt;a href="http://www.google.com/search?hl=en&amp;amp;lr=&amp;amp;q=covariance+selection" style="color: rgb(0, 51, 153); text-decoration: none;"&gt;covariance selection&lt;/a&gt;&amp;quot; or &amp;quot; &lt;a href="http://www.google.com/search?hl=en&amp;amp;lr=&amp;amp;q=concentration+graph+model" style="color: rgb(0, 51, 153); text-decoration: none;"&gt;concentration graph&lt;/a&gt;&amp;quot; models, have recently become a popular tool to study &lt;strong&gt;gene association networks&lt;/strong&gt;. The key idea behind GGMs is to use &lt;em&gt;partial correlations&lt;/em&gt; as a measure of independence of any two genes. This makes it straightforward to distinguish direct from indirect interactions. Note that partial correlations are related to the &lt;em&gt;inverse&lt;/em&gt; of the correlation matrix. Also note that in GGMs missing edges indicate conditional independence.&lt;/p&gt; &lt;p style="text-align: justify; margin-left: 1%;"&gt;A related but completely different concept are the so-called &lt;strong&gt;gene relevance networks&lt;/strong&gt; which are based on the &amp;quot;&lt;a href="http://www.google.com/search?hl=en&amp;amp;lr=&amp;amp;q=covariance+graph" style="color: rgb(0, 51, 153); text-decoration: none;"&gt;covariance graph&lt;/a&gt;&amp;quot; model. In the latter interactions are defined through standard correlation coefficients so that missing edges denote marginal independence only.&lt;/p&gt; &lt;p style="text-align: justify; margin-left: 1%;"&gt;There is a simple reason why GGMs should be preferred over relevance networks for identification of gene networks: &lt;strong&gt;&lt;em&gt;the correlation coefficient is weak criterion for measuring dependence&lt;/em&gt;&lt;/strong&gt;, as marginally, i.e. directly and indirectly, more or less all genes will be correlated. This implies that zero correlation is in fact a &lt;strong&gt;&lt;em&gt;strong indicator for independence&lt;/em&gt;&lt;/strong&gt;, i.e. the case of no edge in a network - but this is of course &lt;em&gt;not&lt;/em&gt; what one usually wants to find out by building a relevance network... On the other hand, &lt;strong&gt;&lt;em&gt;partial correlation coefficients do provide a strong measure of dependence&lt;/em&gt;&lt;/strong&gt; and, correspondingly, offer only a &lt;strong&gt;&lt;em&gt;weak criterion of independence&lt;/em&gt;&lt;/strong&gt; (as most partial correlations coefficients usually vanish).&lt;/p&gt; &lt;p style="text-align: justify; margin-left: 1%;"&gt;The best starting place to learn about GGMs is the classic paper that introduced this concept in the early 1970s. (A.P. Dempster. 1972. &lt;a href="http://links.jstor.org/sici?sici=0006-341X%28197203%2928%3A1%3C157%3ACS%3E2.0.CO%3B2-0" style="color: rgb(0, 51, 153); text-decoration: none;"&gt;Covariance Selection&lt;/a&gt;. Biometrics 28:157-175). Further details can be found in the GGM books by &lt;a href="http://www.maths.lancs.ac.uk/~whittake/gm/" style="color: rgb(0, 51, 153); text-decoration: none;"&gt;J. Whittaker (1990)&lt;/a&gt; and by &lt;a href="http://www.amazon.com/exec/obidos/tg/detail/-/0387950540/ref=ase_bridgebooks/103-7371998-2391037?v=glance&amp;amp;s=books" style="color: rgb(0, 51, 153); text-decoration: none;"&gt;D. Edwards (1995)&lt;/a&gt;.&lt;/p&gt; &lt;p style="text-align: justify; margin-left: 1%;"&gt; &lt;/p&gt;&lt;p class="c1" style="text-align: justify; margin-left: 1%;"&gt;Application of GGMs to Genomic Data:&lt;/p&gt;&lt;p style="text-align: justify; margin-left: 1%;"&gt; Application of GGMs to genomic data is quite challenging, as the number of genes (p) is usually much larger than the number of available samples (n), and classical GGM theory is not valid in a small sample setting. With this page I&amp;#39;d like to provide a commented list of some recent work dealing with GGM gene expression analysis (there are only very few so far). In my understanding, all of these paper fit in one of three categories:&lt;/p&gt; &lt;ol type="i"&gt;&lt;li style="text-align: justify;"&gt;analysis with classic GGM theory,&lt;/li&gt;&lt;li style="text-align: justify;"&gt;using limited order partial correlations, and&lt;/li&gt;&lt;li style="text-align: justify;"&gt; application of regularized GGMs.&lt;/li&gt;&lt;/ol&gt;&lt;p style="text-align: justify; margin-left: 1%;"&gt;For small n, large p data it seems that methods from section iii. are most suited (see below for references and software).&lt;/p&gt; &lt;p style="text-align: justify; margin-left: 1%;"&gt; &lt;/p&gt;&lt;p class="c4" style="text-align: justify; margin-left: 1%;"&gt;I. Classic GGM Analysis:&lt;/p&gt;&lt;p style="text-align: justify; margin-left: 1%;"&gt; The following papers simply apply classical GGM theory (i.e. with not further modification) to analyze gene expression data. It turns out that such an analysis is necessarily restricted to very small numbers of genes or gene clusters as to satisfy n &amp;gt; p.&lt;/p&gt; &lt;ol&gt;&lt;li style="text-align: justify;"&gt;P. J. Waddell and H. Kishino. 2000. &lt;a href="http://www.jsbi.org/journal/GIW00/GIW00F09.pdf" style="color: rgb(0, 51, 153); text-decoration: none;"&gt;Correspondence analysis of genes and tissue types and finding genetics links from microarray data&lt;/a&gt;. Genome Informatics 11:83-95&lt;/li&gt; &lt;li style="text-align: justify;"&gt;P. J. Waddell and H. Kishino. 2000. &lt;a href="http://www.jsbi.org/journal/GIW00/GIW00F13.pdf" style="color: rgb(0, 51, 153); text-decoration: none;"&gt;Cluster inferences methods and graphical models evaluated on NCI60 microarray gene expression data&lt;/a&gt;. Genome Informatics 11:129--140&lt;/li&gt; &lt;li style="text-align: justify;"&gt;H. Toh and K. Horimoto. 2002. &lt;a href="http://bioinformatics.oupjournals.org/cgi/content/abstract/18/2/287" style="color: rgb(0, 51, 153); text-decoration: none;"&gt;Inference of a genetic network by a combined approach of cluster analysis and graphical Gaussian modeling&lt;/a&gt;. Bioinformatics 18:287--297&lt;/li&gt; &lt;li style="text-align: justify;"&gt;H. Toh and K. Horimoto. 2002. &lt;a href="http://springerlink.metapress.com/openurl.asp?genre=article&amp;amp;id=doi:10.1023/A:1020337311471" style="color: rgb(0, 51, 153); text-decoration: none;"&gt;System for automatically inferring a genetic network from expression profiles&lt;/a&gt;. J. Biol. Physics 28:449--464&lt;/li&gt; &lt;li style="text-align: justify;"&gt;X. Wu, Y. Ye and K. R. Subramanian. 2003. &lt;a href="http://www.cs.rpi.edu/~zaki/BIOKDD03/proceedings/11-wu.pdf" style="color: rgb(0, 51, 153); text-decoration: none;"&gt;Interactive analysis of gene interactions using graphical Gaussian model&lt;/a&gt;. ACM SIGKDD Workshop on Data Mining in Bioinformatics 3:63-69&lt;/li&gt; &lt;/ol&gt;&lt;p style="text-align: justify; margin-left: 1%;"&gt; &lt;/p&gt;&lt;p class="c4" style="text-align: justify; margin-left: 1%;"&gt;II. Limited Order Partial Correlations:&lt;/p&gt;&lt;p style="text-align: justify; margin-left: 1%;"&gt; One way to circumvent the problem of computing full partial correlation coefficients when the sample size is small compared to the number of genes is to use partial correlation coefficients of limited order. This results in something inbetween a full GGM model (with correlation conditioned on all p-2 remaining genes) and a relevance network model (with unconditioned correlation). This is the strategy employed in the following papers:&lt;/p&gt; &lt;ol&gt;&lt;li style="text-align: justify;"&gt;A. de la Fuente, N. Bing, I. Hoeschele, and P. Mendes. 2004. &lt;a href="http://bioinformatics.oupjournals.org/cgi/reprint/20/18/3565" style="color: rgb(0, 51, 153); text-decoration: none;"&gt;Discovery of meaningful associations in genomic data using partial correlation coefficients&lt;/a&gt;. Bioinformatics 20:3565-3574.&lt;/li&gt; &lt;li style="text-align: justify;"&gt;A. Wille, P. Zimmermann et al. 2004. &lt;a href="http://genomebiology.com/2004/5/11/r92/abstract" style="color: rgb(0, 51, 153); text-decoration: none;"&gt;Sparse graphical Gaussian modeling of the isoprenoid gene network in Arabidopsis thaliana&lt;/a&gt;. Genome Biology 5:R92&lt;/li&gt; &lt;li style="text-align: justify;"&gt;P. M. Magwene and J. Kim. 2004. &lt;a href="http://genomebiology.com/2004/5/12/r100/abstract" style="color: rgb(0, 51, 153); text-decoration: none;"&gt;Estimating genomic coexpression networks using first-order conditional independence&lt;/a&gt;. Genome Biology 5:R100&lt;/li&gt; &lt;li style="text-align: justify;"&gt;A. Wille and P. Bühlmann. 2006. &lt;a href="http://www.bepress.com/sagmb/vol5/iss1/art1/" style="color: rgb(0, 51, 153); text-decoration: none;"&gt;Low-order conditional independence graphs for inferring genetic networks&lt;/a&gt;. Statist. Appl. Genet. Mol. Biol. &lt;strong&gt;4&lt;/strong&gt;: 32.&lt;/li&gt; &lt;li style="text-align: justify;"&gt;R. Castelo and A. Roverato. A robust procedure for Gaussian graphical model search from microarray data with p larger than n. Preprint.&lt;/li&gt;&lt;/ol&gt;&lt;p style="text-align: justify; margin-left: 1%;"&gt;  &lt;/p&gt;&lt;p class="c4" style="text-align: justify; margin-left: 1%;"&gt;III. Regularized GGMs:&lt;/p&gt;&lt;p style="text-align: justify; margin-left: 1%;"&gt;Another possibility (and in my opinion the statistically most sound way) to marry GGMs with small sample modeling is to introduce regularization and moderation. This essentially boils down to finding suitable estimates for the covariance matrix and its inverse when n &amp;lt; p. This can either be done in a full Bayesian manner, or in an empirical Bayes way via variance reduction, shrinkage estimates etc. Once regularized estimates of partial correlation are available then heuristic searches can subsequently to be employed to find an optimal graphical model (or set of models).&lt;/p&gt; &lt;p style="text-align: justify; margin-left: 1%;"&gt;Outside a genomic context using regularized GGMs was first proposed by F. Wong, C.K. Carter, and R. Kohn. (2003. &lt;a href="http://www.samsi.info/TR/tr2003-12.pdf" style="color: rgb(0, 51, 153); text-decoration: none;"&gt;Efficient estimation of covariance selection models&lt;/a&gt;. Biometrika 90:809-830). For gene expression data this strategy is pursued in the following papers:&lt;/p&gt; &lt;ol&gt;&lt;li style="text-align: justify;"&gt;&lt;div&gt;A. Dobra, C. Hans, B. Jones, J.R. Nevins, and M. West. 2004. &lt;a href="http://dx.doi.org/10.1016/j.jmva.2004.02.009" style="color: rgb(0, 51, 153); text-decoration: none;"&gt;Sparse graphical models for exploring gene expression data&lt;/a&gt;. J. Multiv. Analysis 90:196-212.&lt;/div&gt; &lt;div&gt;&lt;em&gt;See the &lt;a href="http://www.isds.duke.edu/~mw/writing.html" style="color: rgb(0, 51, 153); text-decoration: none;"&gt;web page of M. West&lt;/a&gt; for various other related articles.&lt;/em&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style="text-align: justify;"&gt; &lt;div class="note" style=""&gt;In these papers a regularized estimate of the correlation matrix is obtained, either by Stein-type shrinkage (3) or by bootstrap variance reduction (2). This estimate is subsequently employed for computing partial correlation. Network selection is based on false discovery rate multiple testing. This method is implemented in &lt;a href="http://strimmerlab.org/software/genenet/" style="color: rgb(0, 51, 153); text-decoration: none;"&gt;GeneNet&lt;/a&gt;.&lt;/div&gt;&lt;div&gt; J. Schäfer and K. Strimmer. 2005. &lt;a href="http://strimmerlab.org/publications/journals/largeggm2005.pdf" style="color: rgb(0, 51, 153); text-decoration: none;"&gt;An empirical Bayes approach to inferring large-scale gene association networks&lt;/a&gt;. &lt;a href="http://bioinformatics.oxfordjournals.org/cgi/content/abstract/21/6/754" style="color: rgb(0, 51, 153); text-decoration: none;"&gt;Bioinformatics &lt;strong&gt;21&lt;/strong&gt;: 754-764&lt;/a&gt;.&lt;/div&gt; &lt;/li&gt;&lt;li style="text-align: justify;"&gt;&lt;div&gt;J. Schäfer and K. Strimmer. 2005. &lt;a href="http://strimmerlab.org/publications/journals/shrinkcov2005.pdf" style="color: rgb(0, 51, 153); text-decoration: none;"&gt;A shrinkage approach to large-scale covariance matrix estimation and implications for functional genomics&lt;/a&gt;. &lt;a href="http://www.bepress.com/sagmb/vol4/iss1/art32/" style="color: rgb(0, 51, 153); text-decoration: none;"&gt;Statist. Appl. Genet. Mol. Biol. &lt;strong&gt;4&lt;/strong&gt;: 32&lt;/a&gt;.&lt;/div&gt; &lt;/li&gt;&lt;li style="text-align: justify;"&gt;&lt;div&gt;J. Schäfer and K. Strimmer. 2005. &lt;a href="http://strimmerlab.org/publications/conferences/ggm-review2005.pdf" style="color: rgb(0, 51, 153); text-decoration: none;"&gt;Learning large-scale graphical Gaussian models from genomic data&lt;/a&gt;. In: J. F. Mendes. (Ed.). Proceedings of &lt;a href="http://sweet.ua.pt/~f2064/CNET2004.html" style="color: rgb(0, 51, 153); text-decoration: none;"&gt;&amp;quot;Science of Complex Networks: from Biology to the Internet and WWW&amp;quot; (CNET 2004)&lt;/a&gt;, Aveiro, PT, August 2004. (Publisher: &lt;a href="http://www.aip.org/" style="color: rgb(0, 51, 153); text-decoration: none;"&gt;The American Institute of Physics&lt;/a&gt;).&lt;/div&gt; &lt;/li&gt;&lt;li style="text-align: justify;"&gt;&lt;div&gt;N. Mainshausen and P. Bühlmann 2006. &lt;a href="http://www.imstat.org/aos/issue_34_3.html" style="color: rgb(0, 51, 153); text-decoration: none;"&gt;High-dimensional graphs and variable selection with the lasso&lt;/a&gt;. Annals of Statistics 34 (3)&lt;/div&gt; &lt;div&gt;&lt;em&gt;This approach uses lasso regression to induce sparsity on a node level among the partial correlations.&lt;/em&gt;&lt;/div&gt;&lt;/li&gt;&lt;li style="text-align: justify;"&gt;&lt;div&gt;H. Li and J. Gui. 2006. &lt;a href="http://biostatistics.oxfordjournals.org/cgi/content/abstract/7/2/302" style="color: rgb(0, 51, 153); text-decoration: none;"&gt;Gradient directed regularization for sparse Gaussian concentration graphs, with applications to inference of genetic networks&lt;/a&gt;. Biostatistics 2006 7:302-317.&lt;/div&gt; &lt;div&gt;&lt;em&gt;These authors regularize the concentration matrix rather than the covariance matrix.&lt;/em&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/graphical-gaussian-models-for-genome-data"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-3381588208579589963?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/3381588208579589963/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/08/graphical-gaussian-models-for-genome.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/3381588208579589963'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/3381588208579589963'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/08/graphical-gaussian-models-for-genome.html' title='Graphical Gaussian Models for Genome Data'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-4091515655299804683</id><published>2011-08-22T15:19:00.001+08:00</published><updated>2011-08-22T15:19:23.840+08:00</updated><title type='text'>[Math] The Matrix Cookbook</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;div class='p_embed p_file_embed'&gt; &lt;a href="http://troylee.posterous.com/math-the-matrix-cookbook"&gt;&lt;img alt="" src="http://posterous.com/images/filetypes/pdf.png" /&gt;&lt;/a&gt; &lt;div class='p_embed_description'&gt; &lt;strong&gt;The Matrix Cookbook.pdf&lt;/strong&gt; &lt;a href="http://posterous.com/getfile/files.posterous.com/troylee/YRN1J2epIQV4kHbBU3p14ukCiuCY96waJXa5iLxCw7FE8uIP8jHDCvB3lvmZ/The_Matrix_Cookbook.pdf"&gt;Download this file&lt;/a&gt; &lt;/div&gt; &lt;/div&gt; &lt;p&gt;A good collection of matrix algebra!&lt;/p&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/math-the-matrix-cookbook"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-4091515655299804683?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/4091515655299804683/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/08/math-matrix-cookbook.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/4091515655299804683'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/4091515655299804683'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/08/math-matrix-cookbook.html' title='[Math] The Matrix Cookbook'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-2743336717820865489</id><published>2011-08-09T14:53:00.001+08:00</published><updated>2011-08-09T14:53:18.521+08:00</updated><title type='text'>HTK lattice format</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;div&gt;The lattices generated by HVite have the following general form&lt;/div&gt;&lt;blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"&gt;&lt;div&gt;VERSION=1.0&lt;/div&gt; &lt;div&gt;UTTERANCE=testf1.mfc&lt;/div&gt;&lt;div&gt;lmname=wdnet&lt;/div&gt;&lt;div&gt;lmscale=20.00 wdpenalty=-30.00&lt;/div&gt; &lt;div&gt;vocab=dict&lt;/div&gt;&lt;div&gt;N=31&lt;/div&gt;&lt;div&gt;L=56&lt;/div&gt; &lt;div&gt;I=0&lt;/div&gt;&lt;div&gt;t=0.00&lt;/div&gt;&lt;div&gt;I=1&lt;/div&gt; &lt;div&gt;t=0.36&lt;/div&gt;&lt;div&gt;I=2&lt;/div&gt;&lt;div&gt;t=0.75&lt;/div&gt; &lt;div&gt;I=3&lt;/div&gt;&lt;div&gt;t=0.81&lt;/div&gt;&lt;div&gt;... etc&lt;/div&gt; &lt;div&gt;I=30&lt;/div&gt;&lt;div&gt;t=2.48&lt;/div&gt;&lt;div&gt;J=0&lt;/div&gt; &lt;div&gt;S=0&lt;/div&gt;&lt;div&gt;E=1&lt;/div&gt;&lt;div&gt;W=SILENCE&lt;/div&gt; &lt;div&gt;J=1&lt;/div&gt;&lt;div&gt;S=1&lt;/div&gt;&lt;div&gt;E=2&lt;/div&gt; &lt;div&gt;W=FOUR&lt;/div&gt;&lt;div&gt;... etc&lt;/div&gt;&lt;div&gt;J=55&lt;/div&gt; &lt;div&gt;S=29&lt;/div&gt;&lt;div&gt;E=30&lt;/div&gt;&lt;div&gt;W=SILENCE&lt;/div&gt; &lt;div&gt;v=0 a=-3239.01 l=0.00&lt;/div&gt;&lt;div&gt;v=0 a=-3820.77 l=0.00&lt;/div&gt; &lt;div&gt; v=0 a=-246.99 l=-1.20&lt;/div&gt;&lt;/blockquote&gt;&lt;p /&gt;&lt;div&gt;The first 5 lines comprise a header which records names of the files used to generated the lattice along with the settings of the language model scale and penalty factors. &lt;/div&gt; &lt;p /&gt;&lt;div&gt;Each node in the lattice represents&lt;b&gt; a point in time measured in seconds&lt;/b&gt; and each arc represents a word spanning the segment of the input starting at the time of  its start node and ending at the time of its end node. For each such span, &lt;b&gt;v&lt;/b&gt; gives the number of pronunciation used, &lt;b&gt;a&lt;/b&gt; gives the acoustic score and&lt;b&gt; l&lt;/b&gt; gives the language model score.&lt;/div&gt; &lt;p /&gt;&lt;div&gt;&lt;b&gt;The language model scores in output lattices do not include the scale factors and penalties&lt;/b&gt;. There are removed so that the lattice can be used as a constrained network for subsequent recognizer testing. &lt;/div&gt; &lt;p /&gt;&lt;div&gt;When using HVite normally, the word level network file is specified using the -w option. When the -w option is included but no file name is included, HVite constructs the name of a lattice file from the name of the test file and inputs that. Hence, a new recognition network is created for each input file and recognition is very fast. This is an efficient way, for example, of experimentally determining optimum values for the language model scale and penalty factors.&lt;/div&gt; &lt;p /&gt;&lt;div&gt; &lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/htk-lattice-format"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-2743336717820865489?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/2743336717820865489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/08/htk-lattice-format.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/2743336717820865489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/2743336717820865489'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/08/htk-lattice-format.html' title='HTK lattice format'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-7556501762530777060</id><published>2011-08-04T20:35:00.001+08:00</published><updated>2011-08-04T20:35:25.533+08:00</updated><title type='text'>A hierarchical context dependent neural network architecture for improved phone recognition</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;div class='p_embed p_file_embed'&gt; &lt;a href="http://troylee.posterous.com/a-hierarchical-context-dependent-neural-netwo"&gt;&lt;img alt="" src="http://posterous.com/images/filetypes/pdf.png" /&gt;&lt;/a&gt; &lt;div class='p_embed_description'&gt; &lt;strong&gt;a hierarchical context dependent neural network architecture for improved phone recognition.pdf&lt;/strong&gt; &lt;a href="http://posterous.com/getfile/files.posterous.com/troylee/9saOqbw2EfqKz6wmvCJoeeRTQURCy5JAjyvDG3mSGXJ25oPt24UBK4HJ1BVH/a_hierarchical_context_depende.pdf"&gt;Download this file&lt;/a&gt; &lt;/div&gt; &lt;/div&gt; &lt;p&gt;This paper explored the CD phone recognition on TIMIT using hybrid NN/HMM system. &lt;/p&gt;&lt;p /&gt;&lt;div&gt;1) Using two nets in tandem, one for CI posteriors and the other modeling the contexts from the CI posteriors;&lt;/div&gt;&lt;p /&gt;&lt;div&gt;2) Directly train a NN for CD state posteriors, too many outputs and not robust;&lt;/div&gt;&lt;p /&gt;&lt;div&gt;3) The first net is to give bottleneck features and then use another net on top of it.&lt;/div&gt;&lt;p /&gt;&lt;div&gt;The best results on TIMIT is 21.24% on core test set, there is less than 1% difference from the DBN based monophone recognition, thus rendering the context gain not significant. And also using DBN, the current best results is around 19%. &lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/a-hierarchical-context-dependent-neural-netwo"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-7556501762530777060?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/7556501762530777060/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/08/hierarchical-context-dependent-neural.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/7556501762530777060'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/7556501762530777060'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/08/hierarchical-context-dependent-neural.html' title='A hierarchical context dependent neural network architecture for improved phone recognition'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-4052157659268655336</id><published>2011-08-04T20:34:00.001+08:00</published><updated>2011-08-04T20:34:26.166+08:00</updated><title type='text'>Dirichlet mixture models of neural net posteriors for hmm based speech recognition</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;div class='p_embed p_file_embed'&gt; &lt;a href="http://troylee.posterous.com/dirichlet-mixture-models-of-neural-net-poster"&gt;&lt;img alt="" src="http://posterous.com/images/filetypes/pdf.png" /&gt;&lt;/a&gt; &lt;div class='p_embed_description'&gt; &lt;strong&gt;dirichlet mixture models of neural net posteriors for hmm based speech recognition.pdf&lt;/strong&gt; &lt;a href="http://posterous.com/getfile/files.posterous.com/troylee/uke9obd2oCfdoAJXUGSGFoHtphNIXcSmH2tRaaKXiwGF1oZ5qjZi3YpbCNoe/dirichlet_mixture_models_of_ne.pdf"&gt;Download this file&lt;/a&gt; &lt;/div&gt; &lt;/div&gt; &lt;p&gt;In this paper, the authors propose to using Dirichlet Mixture models instead of Gaussian Mixture models for the hybrid NN/HMM system. In the conventional NN/HMM system, the NN&amp;#39;s posteriors are Gaussianized to feed into the HMM framework. However, as the posterior probabilities are lying on probability simplex and their distribution could be modeled by Dirichlet distributions. Thus Dirichlet Mixture models would be more preferable to Gaussian Mixture model. &lt;/p&gt;&lt;p /&gt;&lt;div&gt;However, the final system performance, although better than the GMM based system, are still far for the state-of-the-art performance. &lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/dirichlet-mixture-models-of-neural-net-poster"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-4052157659268655336?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/4052157659268655336/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/08/dirichlet-mixture-models-of-neural-net.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/4052157659268655336'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/4052157659268655336'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/08/dirichlet-mixture-models-of-neural-net.html' title='Dirichlet mixture models of neural net posteriors for hmm based speech recognition'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-7642701057149037985</id><published>2011-08-04T20:25:00.001+08:00</published><updated>2011-08-04T20:25:08.494+08:00</updated><title type='text'>Automatic speech recognition using hidden conditional neural fields</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;div class='p_embed p_file_embed'&gt; &lt;a href="http://troylee.posterous.com/automatic-speech-recognition-using-hidden-con"&gt;&lt;img alt="" src="http://posterous.com/images/filetypes/pdf.png" /&gt;&lt;/a&gt; &lt;div class='p_embed_description'&gt; &lt;strong&gt;automatic speech recongition using hidden conditional neural fields.pdf&lt;/strong&gt; &lt;a href="http://posterous.com/getfile/files.posterous.com/troylee/KAh1JjMfVTTXZkcHBtjF8E4fXsVrSFDSC3ODRGuKWCcqBYoHvQHX0gsk56hx/automatic_speech_recongition_u.pdf"&gt;Download this file&lt;/a&gt; &lt;/div&gt; &lt;/div&gt; &lt;p&gt;The concept is not that new, is similar to Conditional Neural Network or Neural Conditional Random Fields. And the results on TIMIT is far from DBN based systems.&lt;/p&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/automatic-speech-recognition-using-hidden-con"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-7642701057149037985?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/7642701057149037985/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/08/automatic-speech-recognition-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/7642701057149037985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/7642701057149037985'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/08/automatic-speech-recognition-using.html' title='Automatic speech recognition using hidden conditional neural fields'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-7961222740754782233</id><published>2011-08-03T10:14:00.001+08:00</published><updated>2011-08-03T10:14:43.365+08:00</updated><title type='text'>Slides for Introduction to Restricted Boltzmann Machine</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;div class='p_embed p_file_embed'&gt; &lt;a href="http://troylee.posterous.com/slides-for-introduction-to-restricted-boltzma"&gt;&lt;img alt="" src="http://posterous.com/images/filetypes/pdf.png" /&gt;&lt;/a&gt; &lt;div class='p_embed_description'&gt; &lt;strong&gt;Frean1.pdf&lt;/strong&gt; &lt;a href="http://posterous.com/getfile/files.posterous.com/troylee/gXKVWWsG34PRH5slFiC4SOcxgxIh1jNzfEQz87If9EGt2GEK85Dt5sBEugbm/Frean1.pdf"&gt;Download this file&lt;/a&gt; &lt;/div&gt; &lt;/div&gt; &lt;p&gt;&lt;/p&gt;&lt;div&gt; &lt;/div&gt; &lt;div&gt;Why RBMs could be stacked and learning them in a layer-wise greedy fashion?&lt;/div&gt; &lt;div&gt; &lt;/div&gt; &lt;div&gt;Page 50-57&lt;/div&gt; &lt;div&gt; &lt;/div&gt; &lt;div&gt; &lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/slides-for-introduction-to-restricted-boltzma"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-7961222740754782233?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/7961222740754782233/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/08/slides-for-introduction-to-restricted.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/7961222740754782233'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/7961222740754782233'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/08/slides-for-introduction-to-restricted.html' title='Slides for Introduction to Restricted Boltzmann Machine'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-513540997029328115</id><published>2011-07-13T16:40:00.001+08:00</published><updated>2011-07-13T16:40:55.312+08:00</updated><title type='text'>[HTK] Compile HTK on 64bit machine</title><content type='html'>&lt;div class='posterous_autopost'&gt;When compile HTK on 64bit machines, by default it will still try to compile the tools to 32bit. Then there will be an error after issue the command &amp;quot;make all&amp;quot;:&lt;p /&gt;&lt;div&gt;&lt;div&gt;/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory&lt;/div&gt; &lt;/div&gt;&lt;p /&gt;&lt;div&gt;To solve this problem, what we need is to install the multilib package for the gcc and g++. On Ubuntu, install following packages:&lt;/div&gt;&lt;div&gt;g++-multilib&lt;/div&gt;&lt;div&gt;gcc-multilib&lt;/div&gt;&lt;p /&gt; &lt;div&gt;and redo &amp;quot;make all&amp;quot;.&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/htk-compile-htk-on-64bit-machine"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-513540997029328115?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/513540997029328115/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/07/htk-compile-htk-on-64bit-machine.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/513540997029328115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/513540997029328115'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/07/htk-compile-htk-on-64bit-machine.html' title='[HTK] Compile HTK on 64bit machine'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-4067857382263054728</id><published>2011-07-13T15:55:00.001+08:00</published><updated>2011-07-13T15:55:36.118+08:00</updated><title type='text'>Ubuntu 9.04 nVidia Driver Screen Resolution Problem</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;div style="color: rgb(59, 59, 59); font-family: Arial, Helvetica, sans-serif; font-size: 13px;"&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; Many people running Ubuntu 9.04 are having trouble with the proprietary nVidia driver (nvidia-graphics-driver-180 in my case) including getting it to go to high resolutions that fit the native resolution of widescreen monitors. I had the same problem with an nVidia GeForce 6150 LE and Dell UltraSharp 2407WFPHC monitor.&lt;/p&gt; &lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt;I was able to get all the resolutions, including 1920×1200, for my monitor as well as have the nVidia driver recognize the monitor as a 2407WFPHC, by doing the following:&lt;/p&gt; &lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt;(If you can’t see your screen at all after enabling the nVidia driver, first read the companion post, &lt;a href="http://turbulentsky.com/ubuntu-904-screen-resolution-monitor-out-of-range-nvidia-driver-180.html" style="color: rgb(7, 81, 129); text-decoration: none;"&gt;Ubuntu 9.04 Screen Resolution/Monitor Out of Range (nVidia Driver 180)&lt;/a&gt;.)&lt;/p&gt; &lt;ol&gt;&lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 2px; margin-left: 15px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(85, 85, 85);"&gt;Open a terminal window&lt;/li&gt; &lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 2px; margin-left: 15px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(85, 85, 85);"&gt;Go to the X11 directory (cd /etc/X11)&lt;/li&gt; &lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 2px; margin-left: 15px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(85, 85, 85);"&gt;Make a backup of the current xorg.conf (e.g., sudo cp xorg.conf xorg.conf.backup)&lt;/li&gt; &lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 2px; margin-left: 15px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(85, 85, 85);"&gt;Run nvidia-xconfig with root permission (sudo nvidia-xconfig). If you get a parsing error, delete xorg.conf so nvidia-xconfig can create a fresh one.&lt;/li&gt; &lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 2px; margin-left: 15px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(85, 85, 85);"&gt;Open xorg.conf with your favorite editor (e.g. sudo vim xorg.conf)&lt;/li&gt; &lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 2px; margin-left: 15px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(85, 85, 85);"&gt;You’ll see a lot of extra settings now&lt;/li&gt; &lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 2px; margin-left: 15px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(85, 85, 85);"&gt;Look for Section “Monitor”. Mine defaulted to the following settings:&lt;br /&gt;     Identifier “Monitor0″&lt;br /&gt;    VendorName “Unknown”&lt;br /&gt;    ModelName “Unknown”&lt;br /&gt;    HorizSync 28.0  – 33.0&lt;br /&gt;    VertRefresh 43.0 – 72.0&lt;br /&gt;    Option “DPMS”&lt;/li&gt;&lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 2px; margin-left: 15px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(85, 85, 85);"&gt; Change the HorizSync and VertRefresh values to the correct ones for your particular monitor. For my 2407WFPHC, I put the following:&lt;br /&gt;    HorizSync 30.0 – 83.0&lt;br /&gt;    VertRefresh 56.0 – 76.0&lt;/li&gt;&lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 2px; margin-left: 15px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(85, 85, 85);"&gt; Save the xorg.conf file&lt;/li&gt;&lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 2px; margin-left: 15px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(85, 85, 85);"&gt;Log out and restart the X server (at the login screen, select Menu, then Restart X server)&lt;/li&gt; &lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 2px; margin-left: 15px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(85, 85, 85);"&gt;Log in and run the NVIDIA X Server Settings tool. You should now have a whole bunch of resolutions from which to choose. I selected 1920×1200.&lt;/li&gt; &lt;/ol&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt;The reason that this works is that the nVidia driver needs to know the frequency ranges for your monitor in order to know what resolutions are safe to use. Setting the HorizSync and VertRefresh in xorg.conf provides this necessary information.&lt;/p&gt; &lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt;From: &lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; &lt;a href="http://turbulentsky.com/ubuntu-904-nvidia-driver-screen-resolution-problem.html"&gt;http://turbulentsky.com/ubuntu-904-nvidia-driver-screen-resolution-problem.html&lt;/a&gt;&lt;/p&gt; &lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/ubuntu-904-nvidia-driver-screen-resolution-pr"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-4067857382263054728?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/4067857382263054728/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/07/ubuntu-904-nvidia-driver-screen.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/4067857382263054728'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/4067857382263054728'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/07/ubuntu-904-nvidia-driver-screen.html' title='Ubuntu 9.04 nVidia Driver Screen Resolution Problem'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-1631304936711699024</id><published>2011-06-08T11:30:00.001+08:00</published><updated>2011-06-08T11:30:47.928+08:00</updated><title type='text'>[Matlab] staring error on Ubuntu - libc.so.6 not found</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;div style="color: rgb(41, 41, 41); font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 13px;"&gt;&lt;h2 class="art-PostHeader" style="font-weight: bold; font-style: normal; text-decoration: none; font-family: Arial, Helvetica, sans-serif; font-size: 24px; text-align: left; color: rgb(64, 64, 64); margin-top: 0.2em; margin-right: 0px; margin-bottom: 0.2em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; letter-spacing: normal; font-variant: normal; text-indent: 0px; line-height: inherit;"&gt; MATLAB with Ubuntu 11.04&lt;/h2&gt;&lt;div class="art-PostContent" style="font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-style: normal; font-weight: normal; text-align: justify; color: rgb(41, 41, 41); margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"&gt; &lt;div class="art-article"&gt;&lt;p style="margin-top: 0.5em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-style: normal; font-weight: normal; text-align: justify; color: rgb(41, 41, 41);"&gt; Under the new Ubuntu 11.04 (Natty Narwhal), when you try and run MATLAB you&amp;#39;ll get the following error&lt;/p&gt;&lt;blockquote style="color: rgb(15, 15, 15); font-family: Tahoma, Arial, Helvetica, sans-serif; font-style: italic; font-weight: normal; text-align: left; margin-top: 10px !important; margin-right: 10px !important; margin-bottom: 10px !important; margin-left: 50px !important; padding-top: 5px !important; padding-right: 5px !important; padding-bottom: 5px !important; padding-left: 5px !important; background-color: rgb(224, 224, 224);"&gt; &lt;p style="color: rgb(15, 15, 15); font-family: Tahoma, Arial, Helvetica, sans-serif; font-style: italic; font-weight: normal; text-align: left; margin-top: 0.5em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; font-size: 14px;"&gt; /matlab/bin/util/oscheck.sh: 605: /lib64/libc.so.6: not found&lt;/p&gt;&lt;/blockquote&gt;&lt;p style="margin-top: 0.5em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-style: normal; font-weight: normal; text-align: justify; color: rgb(41, 41, 41);"&gt; To resolve this problem, go to a terminal window (Alt + F2 from anywhere) and type&lt;/p&gt;&lt;p style="margin-top: 0.5em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-style: normal; font-weight: normal; text-align: justify; color: rgb(41, 41, 41);"&gt; For 64 bit:&lt;/p&gt;&lt;blockquote style="color: rgb(15, 15, 15); font-family: Tahoma, Arial, Helvetica, sans-serif; font-style: italic; font-weight: normal; text-align: left; margin-top: 10px !important; margin-right: 10px !important; margin-bottom: 10px !important; margin-left: 50px !important; padding-top: 5px !important; padding-right: 5px !important; padding-bottom: 5px !important; padding-left: 5px !important; background-color: rgb(224, 224, 224);"&gt; &lt;p style="color: rgb(15, 15, 15); font-family: Tahoma, Arial, Helvetica, sans-serif; font-style: italic; font-weight: normal; text-align: left; margin-top: 0.5em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; font-size: 14px;"&gt; sudo ln -s /lib64/x86_64-linux-gnu/&lt;a href="http://libc-2.13.so"&gt;libc-2.13.so&lt;/a&gt; /lib64/libc.so.6&lt;/p&gt;&lt;/blockquote&gt;&lt;p style="margin-top: 0.5em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-style: normal; font-weight: normal; text-align: justify; color: rgb(41, 41, 41);"&gt;  &lt;/p&gt;&lt;p style="margin-top: 0.5em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-style: normal; font-weight: normal; text-align: justify; color: rgb(41, 41, 41);"&gt; For 32 bit:&lt;/p&gt;&lt;blockquote style="color: rgb(15, 15, 15); font-family: Tahoma, Arial, Helvetica, sans-serif; font-style: italic; font-weight: normal; text-align: left; margin-top: 10px !important; margin-right: 10px !important; margin-bottom: 10px !important; margin-left: 50px !important; padding-top: 5px !important; padding-right: 5px !important; padding-bottom: 5px !important; padding-left: 5px !important; background-color: rgb(224, 224, 224);"&gt; &lt;p style="color: rgb(15, 15, 15); font-family: Tahoma, Arial, Helvetica, sans-serif; font-style: italic; font-weight: normal; text-align: left; margin-top: 0.5em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; font-size: 14px;"&gt; sudo ln -s /lib/i386-linux-gnu/&lt;a href="http://libc-2.13.so"&gt;libc-2.13.so&lt;/a&gt; /lib/libc.so.6&lt;/p&gt;&lt;/blockquote&gt;&lt;p style="margin-top: 0.5em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-style: normal; font-weight: normal; text-align: justify; color: rgb(41, 41, 41);"&gt; This should restore the missing library that was uninstalled during the Ubuntu update process.&lt;/p&gt;&lt;p style="margin-top: 0.5em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-style: normal; font-weight: normal; text-align: justify; color: rgb(41, 41, 41);"&gt; &lt;br /&gt;&lt;/p&gt;&lt;p style="margin-top: 0.5em; margin-right: 0px; margin-bottom: 0.5em; margin-left: 0px; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-style: normal; font-weight: normal; text-align: justify; color: rgb(41, 41, 41);"&gt; From: &lt;a href="http://morganbye.net/blog/2011/05/matlab-ubuntu-1104"&gt;http://morganbye.net/blog/2011/05/matlab-ubuntu-1104&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/matlab-staring-error-on-ubuntu-libcso6-not-fo"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-1631304936711699024?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/1631304936711699024/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/06/matlab-staring-error-on-ubuntu-libcso6.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/1631304936711699024'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/1631304936711699024'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/06/matlab-staring-error-on-ubuntu-libcso6.html' title='[Matlab] staring error on Ubuntu - libc.so.6 not found'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-2397868852814808661</id><published>2011-06-07T20:43:00.001+08:00</published><updated>2011-06-07T20:43:17.254+08:00</updated><title type='text'>[CUDA] Solving the problem of not supporting gcc-4.5 and above</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;span style="font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 19px;"&gt;Here is what I usually do:&lt;br /&gt; - in parallel to the current gcc version (currently 4.5.2 on Arch Linux), install an older one. Right now I have 4.3.4 and 4.4.4, available as &amp;quot;gcc-4.3&amp;quot; and &amp;quot;gcc-4.4&amp;quot;.&lt;br /&gt;- for each of these old compilers, create a folder, say /opt/gcc43 and /opt/gcc44, which contain symlinks to /usr/bin/g{cc,++}-4.{3,4} that are named &amp;quot;gcc&amp;quot; and &amp;quot;g++&amp;quot; &lt;strong class="bbc" style="font-weight: bold !important;"&gt;without version numbers&lt;/strong&gt;&lt;br /&gt; - run nvcc with the --compiler-bindir option: &amp;quot;nvcc --compiler-bindir /opt/gcc44 $CUFLAGS ...&amp;quot;&lt;/span&gt;&lt;p /&gt;&lt;div&gt;&lt;span style="font-family: arial, verdana, tahoma, sans-serif; font-size: 13px; line-height: 19px;"&gt;From: &lt;a href="http://forums.nvidia.com/index.php?showtopic=194872"&gt;http://forums.nvidia.com/index.php?showtopic=194872&lt;/a&gt;&lt;/span&gt;&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/cuda-solving-the-problem-of-not-supporting-gc"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-2397868852814808661?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/2397868852814808661/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/06/cuda-solving-problem-of-not-supporting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/2397868852814808661'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/2397868852814808661'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/06/cuda-solving-problem-of-not-supporting.html' title='[CUDA] Solving the problem of not supporting gcc-4.5 and above'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-4256256043795850623</id><published>2011-06-02T23:35:00.001+08:00</published><updated>2011-06-02T23:35:59.619+08:00</updated><title type='text'>Supervised Clustering</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;div class="posterous_bookmarklet_entry"&gt; &lt;blockquote&gt;&lt;div&gt;  &lt;h3&gt;See Also:&lt;/h3&gt;    	  	    	  	    	  	  &lt;p&gt;&lt;img src="http://media.videolectures.net/rel.1307015858/icons/icons_win_sm.gif" alt="Launch Windows Media Player" /&gt;&lt;a rel="nofollow"&gt;Launch in a standalone WM Player&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img src="http://media.videolectures.net/rel.1307015858/icons/icons_win_sm.gif" alt="WMedia Player" /&gt;&lt;a href="http://videolectures.net/nips2010_zadeh_sc#" rel="nofollow"&gt;Switch to Windows Media Player&lt;/a&gt;&lt;/p&gt;  	  	    	  	  &lt;p&gt;&lt;img src="http://media.videolectures.net/rel.1307015858/icons/powerpoint.png" alt="Download slides icon" /&gt;  Download slides:   &lt;a href="http://videolectures.net/nips2010_zadeh_sc#" rel="nofollow"&gt;nips2010_zadeh_sc_01.pdf&lt;/a&gt;&amp;nbsp;&lt;small&gt;(82.6 KB)&lt;/small&gt;&lt;/p&gt;  	  	    	  	    	  	  &lt;p&gt;&lt;img src="http://media.videolectures.net/rel.1307015858/icons/article.png" alt="Download article icon" /&gt;  Download article:  &lt;a href="http://videolectures.net/nips2010_zadeh_sc#" rel="nofollow"&gt;nips2010_0427.pdf&lt;/a&gt;&amp;nbsp;&lt;small&gt;(93.9 KB)&lt;/small&gt;&lt;/p&gt;  	  	    	                                                        &lt;p&gt;  		&lt;img src="http://media.videolectures.net/rel.1307015858/icons/sync_video.png" alt="View slides" /&gt;  &lt;a href="http://videolectures.net/nips2010_zadeh_sc#" rel="nofollow"&gt; View slides&lt;/a&gt;&lt;br /&gt;  &lt;/p&gt;            &lt;p&gt;  &lt;img src="http://media.videolectures.net/rel.1307015858/icons/help.png" alt="Help icon" /&gt;  &lt;a href="http://videolectures.net/nips2010_zadeh_sc#"&gt;Streaming Video Help&lt;/a&gt;  &lt;/p&gt;  &lt;p&gt;  &lt;img src="http://media.videolectures.net/rel.1307015858/icons/link.png" alt="WebLink icon" /&gt;  &lt;a href="http://port25.technet.com/pages/windows-media-player-firefox-plugin-download.aspx" rel="nofollow"&gt;Windows Media Player Firefox Plugin - Download&lt;/a&gt;  &lt;/p&gt;    &lt;/div&gt;&lt;/blockquote&gt;    &lt;div class="posterous_quote_citation"&gt;via &lt;a href="http://videolectures.net/nips2010_zadeh_sc/"&gt;videolectures.net&lt;/a&gt;&lt;/div&gt; &lt;p&gt;Doing clustering with teachers.&lt;/p&gt;&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/supervised-clustering"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-4256256043795850623?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/4256256043795850623/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/06/supervised-clustering.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/4256256043795850623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/4256256043795850623'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/06/supervised-clustering.html' title='Supervised Clustering'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-7839942076672549208</id><published>2011-06-01T22:08:00.001+08:00</published><updated>2011-06-01T22:08:46.277+08:00</updated><title type='text'>[ASR] Langue model</title><content type='html'>&lt;div class='posterous_autopost'&gt;HVite can only use bigram LM after converted to lattice format. &lt;p /&gt;&lt;div&gt;When generate the bigram model, it should not be count based LM,i.e. not use &amp;quot;-x&amp;quot; in LBuild.&lt;/div&gt;&lt;p /&gt;&lt;div&gt;Incorrect:&lt;/div&gt; &lt;p /&gt;&lt;div&gt;&lt;div&gt;LBuild -T 1 -C lfof.cfg -c 2 0 &lt;b&gt;-x&lt;/b&gt; -n 2 timitphns.0/wmap bg0c timitphns.0/gram.0&lt;/div&gt; &lt;p /&gt;&lt;div&gt;Correct:&lt;/div&gt;&lt;p /&gt;&lt;div&gt;LBuild -T 1 -C lfof.cfg -c 2 0 -n 2 timitphns.0/wmap bg0c timitphns.0/gram.0&lt;/div&gt;&lt;/div&gt; &lt;p /&gt;&lt;div&gt;Otherwise, after converted to lattice, &lt;/div&gt;&lt;p /&gt;&lt;div&gt;HBuild -n bigram -s &amp;quot;&amp;lt;s&amp;gt;&amp;quot; &amp;quot;&amp;lt;/s&amp;gt;&amp;quot; word61.lst bigram_lat&lt;/div&gt; &lt;p /&gt;&lt;div&gt;HVite cannot work correctly. For my experiments, using the incorrect LM, the recognized results are all:&lt;/div&gt;&lt;p /&gt;&lt;div&gt;&amp;lt;s&amp;gt; cl cl cl cl cl cl .... cl cl cl cl &amp;lt;/s&amp;gt;&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/asr-langue-model"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-7839942076672549208?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/7839942076672549208/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/06/asr-langue-model.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/7839942076672549208'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/7839942076672549208'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/06/asr-langue-model.html' title='[ASR] Langue model'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-3975204226824662951</id><published>2011-05-31T20:38:00.001+08:00</published><updated>2011-05-31T20:38:45.172+08:00</updated><title type='text'>[Tools] HVite for alignment</title><content type='html'>&lt;div class='posterous_autopost'&gt;When using HVite to do the alignment, we need the option &amp;#39;-a&amp;#39;. One thing to be careful is, &lt;b&gt;Don&amp;#39;t use &amp;#39;-w&amp;#39; for alignment!!!!&lt;/b&gt;&lt;p /&gt;&lt;div&gt; Otherwise, it will load the network from &amp;#39;-w&amp;#39; not &amp;#39;-a&amp;#39;, and then recognition is carried out instead of alignment, even though you put &amp;#39;-a&amp;#39; there!&lt;/div&gt;&lt;p /&gt;&lt;div&gt;Incorrect:&lt;/div&gt;&lt;p /&gt; &lt;div&gt;HVite -A -D -V -T 1 -X rec -l &amp;#39;*&amp;#39; -o SW -a -m -f -X lab -y lab -H ${exppath}/hmm648/MMF -C ${exppath}/cfgs/hvite.cfg -t 250.0 &lt;b&gt;-s 4.0 -p -10.0 -w ${libpath}/lms/bigram_lat&lt;/b&gt; -I ${libpath}/mlabs/test_mono61_label.mlf -i ${exppath}/hmm648/test_mono61_alnlab.mlf -S ${libpath}/flists/testfull_mfcc.scp ${libpath}/dicts/mono61.dct ${libpath}/mlists/mono61.lst&lt;/div&gt; &lt;p /&gt;&lt;div&gt;Correct:&lt;/div&gt;&lt;p /&gt;&lt;div&gt;HVite -A -D -V -T 1 -X rec -l &amp;#39;*&amp;#39; -o SW -a -m -f -X lab -y lab -H ${exppath}/hmm648/MMF -C ${exppath}/cfgs/hvite.cfg -t 250.0 -I ${libpath}/mlabs/test_mono61_label.mlf -i ${exppath}/hmm648/test_mono61_alnlab.mlf -S ${libpath}/flists/testfull_mfcc.scp ${libpath}/dicts/mono61.dct ${libpath}/mlists/mono61.lst&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/tools-hvite-for-alignment"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-3975204226824662951?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/3975204226824662951/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/05/tools-hvite-for-alignment.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/3975204226824662951'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/3975204226824662951'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/05/tools-hvite-for-alignment.html' title='[Tools] HVite for alignment'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-6741016881329908859</id><published>2011-05-25T16:24:00.001+08:00</published><updated>2011-05-25T16:24:08.320+08:00</updated><title type='text'>[Tools] Compiling Matlab .m Files</title><content type='html'>&lt;div class='posterous_autopost'&gt; &lt;p style="TEXT-ALIGN: left;"&gt;&lt;span&gt;From: &lt;a href="http://pages.stern.nyu.edu/~nwhite/scrc/CompilingMatlab.htm"&gt;http://pages.stern.nyu.edu/~nwhite/scrc/CompilingMatlab.htm&lt;/a&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="TEXT-ALIGN: center;"&gt;&lt;b&gt;&lt;span style="FONT-SIZE: 14pt;"&gt;Compiling &lt;span class="SpellE"&gt;Matlab&lt;/span&gt; .m Files&lt;/span&gt;&lt;/b&gt;&lt;/p&gt; &lt;p align="center" style="TEXT-ALIGN: center;"&gt;Norman White, November 2006&lt;/p&gt; &lt;p align="center" style="TEXT-ALIGN: center;"&gt; &lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;&lt;span class="SpellE"&gt;Matlab&lt;/span&gt; allows users to compile their &lt;span class="SpellE"&gt;matlab&lt;/span&gt; programs into executable images that can be run anywhere without license restrictions. This is particularly useful in a grid computing environment like Stern&amp;#39;s, where a user may want to run many jobs at the same time, but be limited by &lt;span class="SpellE"&gt;matlab&lt;/span&gt; and toolbox license constraints. Until recently, the &lt;span class="SpellE"&gt;matlab&lt;/span&gt; compiler was difficult to use, but in a recent release, &lt;span class="SpellE"&gt;Matlab&lt;/span&gt; 73 (2006b), it has been significantly improved. The information below will show you how to convert your &lt;span class="SpellE"&gt;matlab&lt;/span&gt; .m files into &lt;span class="SpellE"&gt;matlab&lt;/span&gt; executables.&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;&lt;b&gt;1) &lt;span class="SpellE"&gt;&lt;span class="GramE"&gt;ssh&lt;/span&gt;&lt;/span&gt; to rnd.&lt;/b&gt; &lt;/p&gt; &lt;p&gt;That is where the matlab compiler lives. Since we have many &lt;span class="SpellE"&gt;linux&lt;/span&gt; nodes and only one Sun Solaris node, it makes sense to generate an &lt;span class="SpellE"&gt;&lt;span class="GramE"&gt;intel&lt;/span&gt;&lt;/span&gt; &lt;span class="SpellE"&gt;linux&lt;/span&gt; executable. We only have a single user license, but that should be enough, since you only have to compile once. Note, that every time you compile,&lt;span class="GramE"&gt;  &lt;span class="SpellE"&gt;matlab&lt;/span&gt;&lt;/span&gt; will lock the compiler license for 30 minutes. You can continue to use it, but a new user will have to wait for 30 minutes after you have finished.&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;            a) Edit your &lt;span class="SpellE"&gt;matlab.m&lt;/span&gt; file and turn it into a function. This can be done by putting &lt;/p&gt; &lt;p&gt;&lt;b style=""&gt;            &lt;span class="GramE"&gt;function&lt;/span&gt; &lt;span class="SpellE"&gt;&lt;span style=""&gt;myfun&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt; &lt;p&gt;&lt;i&gt;            &lt;/i&gt;&lt;span class="GramE"&gt;statement&lt;/span&gt; as the first line.&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;         b) Type (You only need to do this once)&lt;/p&gt; &lt;p&gt;&lt;b style=""&gt;            &lt;span class="SpellE"&gt;&lt;span class="GramE"&gt;mbuild&lt;/span&gt;&lt;/span&gt;&lt;span class="GramE"&gt;  -&lt;/span&gt;setup &lt;/b&gt;&lt;/p&gt; &lt;p&gt;            &lt;span class="GramE"&gt;to&lt;/span&gt; initialize the &lt;span class="SpellE"&gt;matlab&lt;/span&gt; compile environment.&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;         c) If you have any &lt;span class="SpellE"&gt;matlab.m&lt;/span&gt; &lt;/p&gt;&lt;p&gt;         files that are called by your main &lt;span class="SpellE"&gt;matlab&lt;/span&gt; file, make sure they are on the path, or in the directory &lt;/p&gt; &lt;p&gt;        &lt;span class="GramE"&gt;you&lt;/span&gt; are compiling &lt;span class="SpellE"&gt;matlab&lt;/span&gt; in (For instance, if you have some &lt;span class="SpellE"&gt;matlab&lt;/span&gt; files in a directory call &lt;span class="SpellE"&gt;mylib&lt;/span&gt;, execute the following command before &lt;span class="SpellE"&gt;compiling&lt;/span&gt;).&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;        Export PATH=&amp;quot;&lt;span class="SpellE"&gt;myfile:$&lt;/span&gt;&lt;span class="SpellE"&gt;PATH&lt;/span&gt;&amp;quot;.&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;         Note that &lt;span class="SpellE"&gt;matlab&lt;/span&gt; is going to compile ALL of the &lt;span class="SpellE"&gt;matlab&lt;/span&gt; code that is needed to run your program, including &lt;span class="SpellE"&gt;matlab&lt;/span&gt; toolboxes. &lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;            d) Compile the program by typing&lt;/p&gt; &lt;p&gt;            &lt;span class="SpellE"&gt;&lt;span class="GramE"&gt;mcc&lt;/span&gt;&lt;/span&gt; -m &lt;span class="SpellE"&gt;&lt;i&gt;mymatjob.m&lt;/i&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;            This should grind along for a few minutes and hopefully complete with no errors.&lt;/p&gt; &lt;p&gt;            When it is done, there will be an executable file named &lt;span class="SpellE"&gt;&lt;i&gt;myfun&lt;/i&gt;&lt;/span&gt; in your directory. It          &lt;/p&gt; &lt;p&gt;            &lt;span class="GramE"&gt;can&lt;/span&gt; now be run on any node that has access to the &lt;span class="SpellE"&gt;matlab&lt;/span&gt; libraries. To make sure          &lt;/p&gt; &lt;p&gt;            &lt;span class="GramE"&gt;your&lt;/span&gt; job runs on the appropriate nodes, add a &lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;            #$ -l &lt;span class="SpellE"&gt;matcomp&lt;/span&gt;=1&lt;/p&gt; &lt;p&gt;            &lt;span class="GramE"&gt;line&lt;/span&gt; to your shell script that will run the program (see below)&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;&lt;b&gt;2)  Create a shell script that will setup the libraries needed to run and will invoke your program.&lt;/b&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;            Create a shell script that looks like this.&lt;/p&gt; &lt;p&gt;&lt;b style=""&gt; &lt;/b&gt;&lt;/p&gt; &lt;p&gt;&lt;b style=""&gt;            #! /bin/&lt;span class="SpellE"&gt;sh&lt;/span&gt;&lt;/b&gt;&lt;/p&gt; &lt;p&gt;&lt;b style=""&gt;            # Name: &lt;span class="SpellE"&gt;myfun.sh&lt;/span&gt;&lt;/b&gt;&lt;/p&gt; &lt;p&gt;&lt;b style=""&gt;            # Run &lt;span class="SpellE"&gt;myfun&lt;/span&gt; compiled program&lt;/b&gt;&lt;/p&gt; &lt;p&gt;&lt;b style=""&gt;            #&lt;/b&gt;&lt;/p&gt; &lt;p&gt;&lt;b style=""&gt;            # &lt;span class="GramE"&gt;Set&lt;/span&gt; up &lt;span class="SpellE"&gt;matlab&lt;/span&gt; LD_LIBRARY_&lt;/b&gt;&lt;b style=""&gt;PATH&lt;/b&gt;&lt;b style=""&gt;&lt;/b&gt;&lt;/p&gt; &lt;p&gt;&lt;b style=""&gt;&lt;span style="FONT-SIZE: 11pt;"&gt;            &lt;/span&gt;&lt;/b&gt;&lt;b style=""&gt;&lt;span style="FONT-SIZE: 10pt;"&gt;LD_LIBRARY_&lt;/span&gt;&lt;/b&gt;&lt;b style=""&gt;&lt;span style="FONT-SIZE: 10pt;"&gt;PATH&lt;/span&gt;&lt;/b&gt;&lt;b style=""&gt;&lt;span style="FONT-SIZE: 10pt;"&gt;=&amp;quot;/usr/local/matlab73/bin/glnx86&amp;quot;:&amp;quot;/usr/local/matlab73/sys/os/glnx86&amp;quot;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt; &lt;p&gt;&lt;b style=""&gt;&lt;span style="FONT-SIZE: 11pt;"&gt;            # &lt;span class="GramE"&gt;Then&lt;/span&gt; run your program&lt;/span&gt;&lt;/b&gt;&lt;/p&gt; &lt;p&gt;&lt;b style=""&gt;&lt;span style="FONT-SIZE: 11pt;"&gt;            &lt;span class="GramE"&gt;./&lt;/span&gt;&lt;span class="SpellE"&gt;myfun&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;            &lt;span class="GramE"&gt;and&lt;/span&gt; then save it as &lt;span class="SpellE"&gt;myfun.sh&lt;/span&gt;. After saving it, make sure it is readable and            executable by others by typing&lt;/p&gt; &lt;p&gt;            &lt;span class="SpellE"&gt;&lt;span class="GramE"&gt;chmod&lt;/span&gt;&lt;/span&gt; &lt;span class="SpellE"&gt;o+r&lt;/span&gt; &lt;span class="SpellE"&gt;myfun.sh&lt;/span&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;&lt;b&gt;3) Create the Sun Grid Engine shell script to run the program. Here is an example&lt;/b&gt;:&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;            #! /bin/&lt;span class="SpellE"&gt;sh&lt;/span&gt;&lt;/p&gt; &lt;p&gt;            # Name:  &lt;span class="SpellE"&gt;Runmyfun.sh&lt;/span&gt;&lt;/p&gt; &lt;p&gt;            #$ -N &lt;span class="SpellE"&gt;Runmyfun.sh&lt;/span&gt;&lt;/p&gt; &lt;p&gt;            #$ -l &lt;span class="SpellE"&gt;matcomp&lt;/span&gt;=1&lt;/p&gt; &lt;p&gt;            #$ -l &lt;span class="SpellE"&gt;h_cpu&lt;/span&gt;=10:00:00        (Optional, put your &lt;span class="SpellE"&gt;&lt;span class="GramE"&gt;cpu&lt;/span&gt;&lt;/span&gt; requirements here)&lt;/p&gt; &lt;p&gt;            #$ -l &lt;span class="SpellE"&gt;h_vmem&lt;/span&gt;=1000m    (This is optional, put your memory requirements here).&lt;/p&gt; &lt;p&gt;            #     &lt;span class="GramE"&gt;Now&lt;/span&gt; run the program&lt;/p&gt; &lt;p&gt;            /bin/&lt;span class="SpellE"&gt;sh&lt;/span&gt; &lt;span class="SpellE"&gt;myfun.sh&lt;/span&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;            Save the program as &lt;span class="SpellE"&gt;Runmyfun.sh&lt;/span&gt;, and then&lt;/p&gt; &lt;p&gt;            &lt;span class="SpellE"&gt;&lt;span class="GramE"&gt;chmod&lt;/span&gt;&lt;/span&gt; &lt;span class="SpellE"&gt;o+rx&lt;/span&gt; &lt;span class="SpellE"&gt;Runmyfun.sh&lt;/span&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;            4) Submit the job&lt;span class="GramE"&gt;..&lt;/span&gt;&lt;/p&gt; &lt;p&gt;            &lt;span class="SpellE"&gt;&lt;span class="GramE"&gt;qsub&lt;/span&gt;&lt;/span&gt; -t 1-300 &lt;span class="SpellE"&gt;Runmyfun.sh&lt;/span&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;This will run the job on as many nodes as are available, but not take up ANY &lt;span class="SpellE"&gt;matlab&lt;/span&gt; licenses (not &lt;span class="SpellE"&gt;matlab&lt;/span&gt; or toolboxes). The toolbox .m files will already be compiled into your code.  For instance, we only have two optimization toolbox &lt;span class="GramE"&gt;license&lt;/span&gt;. So you could only run your code on two systems at a time, instead of 10.&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;This same code can also be run on almost any grid computing environment, just by moving the executable file and a few other files. &lt;span class="GramE"&gt;Again, no need for a &lt;span class="SpellE"&gt;matlab&lt;/span&gt; license.&lt;/span&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;Have fun�&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/tools-compiling-matlab-m-files"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-6741016881329908859?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/6741016881329908859/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/05/tools-compiling-matlab-m-files.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/6741016881329908859'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/6741016881329908859'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/05/tools-compiling-matlab-m-files.html' title='[Tools] Compiling Matlab .m Files'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-3550977399823809179</id><published>2011-05-24T12:33:00.001+08:00</published><updated>2011-05-24T12:33:46.832+08:00</updated><title type='text'>[ASR] A complete Matlab script for TIMIT phoneme recognition</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;div class='p_embed p_file_embed'&gt; &lt;a href="http://troylee.posterous.com/asr-a-complete-matlab-script-for-timit-phonem"&gt;&lt;img alt="" src="http://posterous.com/images/filetypes/unknown.png" /&gt;&lt;/a&gt; &lt;div class='p_embed_description'&gt; &lt;strong&gt;htk.m&lt;/strong&gt; &lt;a href="http://posterous.com/getfile/files.posterous.com/troylee/rhdlCKdr1azpIuv7H1Pn8WquVUhUIhEgNqOCd0JF2aY1czHPwJSEtn9UdUnI/htk.m"&gt;Download this file&lt;/a&gt; &lt;/div&gt; &lt;/div&gt; &lt;p&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt;&lt;div class="CodeRay"&gt; &lt;div class="code"&gt;&lt;pre&gt;% HTK-TIMIT Phone Recognition % Tae-Jin Yoon % tyoon@uvic.ca % % The script is taken from somewhere on the web, which is now defunct. % I modified the script to run on my Windows Vista computer. % So, to run this you need to have a TIMIT corpus and need to change the % configuration that are specific to my computer. % I resampled the sampling rate of the TIMIT corpus to 16kHz. htkdir = ['c:\MATLAB\R2008a\work\htk\']; homedir = ['c:\work\timit\htk\']; traindir = ['c:\work\timit\TIMIT\train\']; testdir = ['c:\work\timit\TIMIT\test\']; eval(['!']); eval(['!mkdir label']); eval(['!mkdir mfcc']); eval(['!mkdir model']); for i=0:23 eval(['!mkdir model\hmm', num2str(i)]) end %% Make a gram file and rune HParse disp('make a gram file'); fid = fopen('gram', 'w'); fprintf(fid, '%s\n', ['$beginend = h#;']); fprintf(fid, '%s', ['$phone = bcl | b | dcl | d | gcl | g | pcl | p | tcl | t | kcl | k | ']); fprintf(fid, '%s', ['dx | q | jh | ch | s | sh | z | zh | f | th | v | dh | m | n | ng | em | en | eng | ']); fprintf(fid, '%s', ['nx | l | r | w | y | hh | hv | el | ']); fprintf(fid, '%s', ['iy | ih | eh | ey | ae | aa | aw | ay | ah | ao | oy | ow | ']); fprintf(fid, '%s\n', ['uh | uw | ux | er | ax | ix | axr | ax-h | pau | epi;']); fprintf(fid, '%s\n', ['($beginend &amp;lt;$phone&amp;gt; $beginend)']); fclose(fid); %input('Press enter to continue'); eval(['!c:\MATLAB\R2008a\work\htk\HParse.exe -T 1 gram wdnet']); disp('Make a monophones0 file. The file contains phone symobls'); fid = fopen('monophones0', 'w'); fprintf(fid, '%s\n', 'b'); fprintf(fid, '%s\n', 'd'); fprintf(fid, '%s\n', 'g'); fprintf(fid, '%s\n', 'p'); fprintf(fid, '%s\n', 't'); fprintf(fid, '%s\n', 'k'); fprintf(fid, '%s\n', 'dx'); fprintf(fid, '%s\n', 'q'); fprintf(fid, '%s\n', 'jh'); fprintf(fid, '%s\n', 'ch'); fprintf(fid, '%s\n', 's'); fprintf(fid, '%s\n', 'sh'); fprintf(fid, '%s\n', 'z'); fprintf(fid, '%s\n', 'zh'); fprintf(fid, '%s\n', 'f'); fprintf(fid, '%s\n', 'th'); fprintf(fid, '%s\n', 'v'); fprintf(fid, '%s\n', 'dh'); fprintf(fid, '%s\n', 'm'); fprintf(fid, '%s\n', 'n'); fprintf(fid, '%s\n', 'ng'); fprintf(fid, '%s\n', 'em'); fprintf(fid, '%s\n', 'en'); fprintf(fid, '%s\n', 'eng'); fprintf(fid, '%s\n', 'nx'); fprintf(fid, '%s\n', 'l'); fprintf(fid, '%s\n', 'r'); fprintf(fid, '%s\n', 'w'); fprintf(fid, '%s\n', 'y'); fprintf(fid, '%s\n', 'hh'); fprintf(fid, '%s\n', 'hv'); fprintf(fid, '%s\n', 'el'); fprintf(fid, '%s\n', 'iy'); fprintf(fid, '%s\n', 'ih'); fprintf(fid, '%s\n', 'eh'); fprintf(fid, '%s\n', 'ey'); fprintf(fid, '%s\n', 'ae'); fprintf(fid, '%s\n', 'aa'); fprintf(fid, '%s\n', 'aw'); fprintf(fid, '%s\n', 'ay'); fprintf(fid, '%s\n', 'ah'); fprintf(fid, '%s\n', 'ao'); fprintf(fid, '%s\n', 'oy'); fprintf(fid, '%s\n', 'ow'); fprintf(fid, '%s\n', 'uh'); fprintf(fid, '%s\n', 'uw'); fprintf(fid, '%s\n', 'ux'); fprintf(fid, '%s\n', 'er'); fprintf(fid, '%s\n', 'ax'); fprintf(fid, '%s\n', 'ix'); fprintf(fid, '%s\n', 'axr'); fprintf(fid, '%s\n', 'ax-h'); fprintf(fid, '%s\n', 'bcl'); fprintf(fid, '%s\n', 'dcl'); fprintf(fid, '%s\n', 'gcl'); fprintf(fid, '%s\n', 'pcl'); fprintf(fid, '%s\n', 'tcl'); fprintf(fid, '%s\n', 'kcl'); fprintf(fid, '%s\n', 'pau'); fprintf(fid, '%s\n', 'epi'); fprintf(fid, '%s\n', 'h#'); fclose(fid) %% PREPARING TRAINING DATA %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%% fid1 = fopen('codetr.scp', 'w'); fid2 = fopen('train.scp', 'w'); %fid3 = fopen('fname.praat', 'w'); for n0=1:8 D = dir([traindir, 'DR', num2str(n0)]); for n1=3:size(D,1) D2 = dir([traindir, 'DR', num2str(n0),'\',D(n1).name,'\*.wav']); D3 = dir([traindir, 'DR', num2str(n0),'\',D(n1).name, '\*.phn']); for n2 = 1:size(D2,1) filename = [traindir, 'DR', num2str(n0), '\', D(n1).name, '\' D2(n2).name]; % fprintf(fid3, '%s\n', ['Read from file... ', filename]); % fprintf(fid3, '%s\n', ['Write to WAV file... ', filename]); % fprintf(fid3, '%s\n', 'Remove'); handdefname = [traindir, 'DR', num2str(n0), '\',D(n1).name, '\' D3(n2).name]; newfname=D2(n2).name; newfname=[newfname(1:end-4) '_tr.mfc']; mfcfname = [homedir, 'mfcc\', 'DR', num2str(n0), '_', D(n1).name, '_', newfname]; fprintf(fid1, '%s\n', [filename, ' ', mfcfname]); fprintf(fid2, '%s\n', mfcfname); newlname = D3(n2).name; newlname = [newlname(1:end-4) '_tr.lab']; labfname = [homedir, 'label\', 'DR', num2str(n0), '_', D(n1).name, '_', newlname]; eval(['!copy ', handdefname, ' ', labfname]); end end end fclose(fid1); fclose(fid2); % fclose(fid3); disp('The original TIMIT wav files need to be converted to MSWAVE file format'); disp('Make a praat script'); input('Press enter to continue'); %% PREPARE TIMIT configuration file &amp;amp; run HCopy fid = fopen('configTIMIT', 'w'); fprintf(fid, '%s\d', ['SOURCEKIND = WAVEFORM']); fprintf(fid, '%s\d', ['SOURCEFORMAT = WAV']); fprintf(fid, '%s\d', ['SOURCERATE = 625']); fprintf(fid, '%s\d', ['TARGETKIND = MFCC_0_D_A']); fprintf(fid, '%s\d', ['TARGETRATE = 100000.0']); fprintf(fid, '%s\d', ['WINDOWSIZE = 250000.0']); fprintf(fid, '%s\d', ['USEHAMMING = T']); fprintf(fid, '%s\d', ['PREEMCOEF = 0.97']); fprintf(fid, '%s\d', ['NUMCHANS = 20']); fprintf(fid, '%s\d', ['CEPLIFTER = 22']); fprintf(fid, '%s\d', ['NUMCEPS = 12']); fclose(fid); eval(['!c:\MATLAB\R2008a\work\htk\HCopy.exe -T 1 -C configTIMIT -S codetr.scp']); %% PREPARING TESTING DATA %% %%%%%%%%%%%%%%%%%%%%%%%%%%%% fid1 = fopen('codete.scp', 'w'); fid2 = fopen('test.scp', 'w'); %fid3 = fopen('test.praat', 'w'); for n0 = 1:8 D = dir([testdir, 'DR', num2str(n0)]); for n1 = 3:size(D, 1) D2 = dir([testdir, 'DR', num2str(n0), '\', D(n1).name, '\*.wav']); D3 = dir([testdir, 'DR', num2str(n0), '\', D(n1).name, '\*.phn']); %#%disp(D2(n1).name); for n2 = 1:size(D2, 1) filename=[testdir, 'DR', num2str(n0), '\', D(n1).name, '\' D2(n2).name]; % fprintf(fid3, '%s\n', ['Read from file... ', filename]); % fprintf(fid3, '%s\n', ['Write to WAV file... ', filename]); % fprintf(fid3, '%s\n', 'Remove'); handdefname = [testdir, 'DR', num2str(n0), '\', D(n1).name, '\' D3(n2).name]; newfname = D2(n2).name; newfname=[newfname(1:end-4) '_te.mfc']; mfcfname = [homedir, 'mfcc\', 'DR', num2str(n0), '_', D(n1).name, '_', newfname]; fprintf(fid1, '%s\n', [filename, ' ', mfcfname]); fprintf(fid2, '%s\n', mfcfname); newlname = D3(n2).name; newlname = [newlname(1:end-4) '_te.lab']; labfname = [homedir, 'label\', 'DR', num2str(n0), '_', D(n1).name, '_', newlname]; eval(['!copy ', handdefname, ' ', labfname]); end end end fclose(fid1); fclose(fid2); % fclose(fid3); eval(['!c:\MATLAB\R2008a\work\htk\HCopy.exe -T 1 -C configTIMIT -S codete.scp']); %% PREPARE configuration file fid = fopen('config', 'w'); fprintf(fid, '%s\d', ['TARGETKIND = MFCC_0_D_A']); fprintf(fid, '%s\d', ['TARGETRATE = 100000.0']); fprintf(fid, '%s\d', ['WINDOWSIZE = 250000.0']); fprintf(fid, '%s\d', ['USEHAMMING = T']); fprintf(fid, '%s\d', ['PREEMCOEF = 0.97']); fprintf(fid, '%s\d', ['NUMCHANS = 20']); fprintf(fid, '%s\d', ['CEPLIFTER = 22']); fprintf(fid, '%s\d', ['NUMCEPS = 12']); fclose(fid) eval(['!c:\MATLAB\R2008a\work\htk\HCompV.exe -T 1 -C config -f 0.01 -m -S train.scp -M model/hmm0 proto']); disp('Make proto file'); fid = fopen('proto', 'w'); fprintf(fid, '%s\n', ['~o &amp;lt;VecSize&amp;gt; 39 &amp;lt;MFCC_0_D_A&amp;gt;']); fprintf(fid, '%s\n', ['~h &amp;quot;proto&amp;quot;']); fprintf(fid, '%s\n', ['&amp;lt;BeginHMM&amp;gt;']); fprintf(fid, '\t%s\n', ['&amp;lt;NumStates&amp;gt; 5']); fprintf(fid, '\t%s\n', ['&amp;lt;State&amp;gt; 2']); fprintf(fid, '\t\t%s\n', ['&amp;lt;Mean&amp;gt; 39']); fprintf(fid, '\t\t\t%s\n', ['0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0']); fprintf(fid, '\t\t%s\n', ['&amp;lt;Variance&amp;gt; 39']); fprintf(fid, '\t\t\t%s\n', ['1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1']); fprintf(fid, '\t%s\n', ['&amp;lt;State&amp;gt; 3']); fprintf(fid, '\t\t%s\n', ['&amp;lt;Mean&amp;gt; 39']); fprintf(fid, '\t\t\t%s\n', ['0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0']); fprintf(fid, '\t\t%s\n', ['&amp;lt;Variance&amp;gt; 39']); fprintf(fid, '\t\t\t%s\n', ['1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1']); fprintf(fid, '\t%s\n', ['&amp;lt;State&amp;gt; 4']); fprintf(fid, '\t\t%s\n', ['&amp;lt;Mean&amp;gt; 39']); fprintf(fid, '\t\t\t%s\n', ['0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0']); fprintf(fid, '\t\t%s\n', ['&amp;lt;Variance&amp;gt; 39']); fprintf(fid, '\t\t\t%s\n', ['1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1']); fprintf(fid, '\t%s\n', ['&amp;lt;TransP&amp;gt; 5']); fprintf(fid, '\t\t%s\n', ['0 1 0 0 0']); fprintf(fid, '\t\t%s\n', ['0 0.6 0.4 0 0']); fprintf(fid, '\t\t%s\n', ['0 0 0.6 0.4 0']); fprintf(fid, '\t\t%s\n', ['0 0 0 0.7 0.3']); fprintf(fid, '\t\t%s\n', ['0 0 0 0 0']); fprintf(fid, '%s\n', ['&amp;lt;EndHMM&amp;gt;']); fclose(fid) fid = fopen('model/hmm0/proto', 'r'); F = fread(fid); S = char(F'); SHMM = S( strfind(upper(S), '&amp;lt;BEGINHMM&amp;gt;') :end); S1st3 =S(1: strfind(S, '~h') -1); fclose(fid); fid = fopen('model/hmm0/vFloors', 'r'); F = fread(fid); SvFloors = char(F'); fclose(fid); fid = fopen('model/hmm0/macros', 'w'); fprintf(fid, S1st3); fprintf(fid, SvFloors); fclose(fid); fid1 = fopen('monophones0', 'r'); fid2 = fopen('model/hmm0/hmmdefs', 'w'); fid3 = fopen('dict', 'w'); fid4 = fopen('monophones1', 'w'); while 1 tline = fgetl(fid1); disp(tline); if ~ischar(tline) break; end fprintf(fid2, ['~h &amp;quot;', tline, '&amp;quot;\n']); fprintf(fid2, SHMM); fprintf(fid2, '\n'); fprintf(fid3, [tline, ' ', tline, '\n']); fprintf(fid4, [tline, '\n']); end fprintf(fid4,['!ENTER\n']); fprintf(fid4,['!EXIT\n']); fprintf(fid3,['!ENTER []\n']); fprintf(fid3,['!EXIT []\n']); fclose(fid1); fclose(fid2); fclose(fid3); fclose(fid4); % input('Press enter to continue'); fid1=fopen('phones0.mlf','w'); fid3=fopen('HLStatslist','w'); fprintf(fid1,'%s\n',['!#']); D=dir(['label/*tr.lab']); for n=1:size(D,1) fprintf(fid1,'%s\n',['&amp;quot;*/',D(n).name,'&amp;quot;']); fprintf(fid3,[D(n).name,'\n']); fid2=fopen(['label/',D(n).name],'r'); while 1 tline=fgetl(fid2); if ~ischar(tline) break; end; if (tline(1)=='#')|(tline(1)=='&amp;quot;') fprintf(fid1,'%s\n',tline); else Tmat=sscanf(tline,'%d %d %s'); Tstring=[char(Tmat(3:end))]'; fprintf(fid1,'%s\n',Tstring); end end fprintf(fid1,'%s\n','.'); fclose(fid2); end fprintf(fid1,'\n'); fclose(fid1); fclose(fid3); % input('Press enter to continue'); eval(['!c:\MATLAB\R2008a\work\htk\HLStats.exe -T 1 -b bigfn -o -I phones0.mlf monophones0 -S HLStatslist']); eval(['!c:\MATLAB\R2008a\work\htk\HBuild.exe -T 1 -n bigfn monophones1 outLatFile']); fid1 = fopen('testref.mlf','w'); fprintf(fid1, '%s\n', ['!#']); D = dir(['label/*te.lab']); for n = 1:size(D, 1) fprintf(fid1, '%s\n', ['&amp;quot;*\', D(n).name, '&amp;quot;']); fid2 = fopen(['label\', D(n).name], 'r') while 1 tline = fgetl(fid2); if ~ischar(tline) break; end if (tline(1) == '#') | (tline(1) == '&amp;quot;') fprintf(fid1, '%s\n', tline); else Tmat=sscanf(tline,'%d %d %s'); Tstring=[char(Tmat(3:end))]'; fprintf(fid1,'%s\n',Tstring); end end fprintf(fid1, '%s\n', '.'); fclose(fid2); end fprintf(fid1, '\n'); fclose(fid1); for i = 1:3 eval(['!c:\MATLAB\R2008a\work\htk\HERest.exe -T 1 -C config -I phones0.mlf -t 250.0 150.0 1000.0 -S train.scp -H model/hmm', num2str(i-1), '/macros -H model/hmm', num2str(i-1), '/hmmdefs -M model/hmm', num2str(i), ' monophones0']); end fid = fopen('sil.hed', 'w'); fprintf(fid, ['AT 2 4 0.2 {pau.transP}\n']); fprintf(fid, ['AT 4 2 0.2 {pau.transP}\n']); fprintf(fid, ['AT 2 4 0.2 {h#.transP}\n']); fprintf(fid, ['AT 4 2 0.2 {h#.transP}\n']); fclose(fid); eval(['!c:\MATLAB\R2008a\work\htk\HHEd.exe -T 1 -H model/hmm3/macros -H model/hmm3/hmmdefs -M model/hmm4 sil.hed monophones0']); for i = 5:7 eval(['!c:\MATLAB\R2008a\work\htk\HERest -T 1 -C config -I phones0.mlf -t 250.0 150.0 1000.0 -S train.scp -H model/hmm', num2str(i-1), '/macros -H model/hmm', num2str(i-1), '/hmmdefs -M model/hmm', num2str(i), ' monophones0']); end fid = fopen('MU2.hed', 'w'); fprintf(fid, ['MU 2 {*.state[2-4].mix}\n']); fclose(fid); eval(['!c:\MATLAB\R2008a\work\htk\HHEd.exe -T 1 -H model/hmm7/macros -H model/hmm7/hmmdefs -M model/hmm8 MU2.hed monophones0']); for i=9:11 eval(['!c:\MATLAB\R2008a\work\htk\HERest -T 1 -C config -I phones0.mlf -t 250.0 150.0 1000.0 -S train.scp -H model/hmm',num2str(i-1),'/macros -H model/hmm',num2str(i-1),'/hmmdefs -M model/hmm',num2str(i),' monophones0']); end fid=fopen('MU4.hed','w'); fprintf(fid,['MU 4 {*.state[2-4].mix}\n']); fclose(fid); %input('Press enter to continue'); eval(['!c:\MATLAB\R2008a\work\htk\HHEd.exe -T 1 -H model/hmm11/macros -H model/hmm11/hmmdefs -M model/hmm12 MU4.hed monophones0']); % input('Press enter to continue'); for i=13:15 eval(['!c:\MATLAB\R2008a\work\htk\HERest.exe -T 1 -C config -I phones0.mlf -t 250.0 150.0 1000.0 -S train.scp -H model/hmm',num2str(i-1),'/macros -H model/hmm',num2str(i-1),'/hmmdefs -M model/hmm',num2str(i),' monophones0']); end fid=fopen('MU8.hed','w'); fprintf(fid,['MU 8 {*.state[2-4].mix}\n']); fclose(fid); eval(['!c:\MATLAB\R2008a\work\htk\HHEd.exe -T 1 -H model/hmm15/macros -H model/hmm15/hmmdefs -M model/hmm16 MU8.hed monophones0']); for i=17:23 eval(['!c:\MATLAB\R2008a\work\htk\HERest.exe -T 1 -C config -I phones0.mlf -t 250.0 150.0 1000.0 -S train.scp -H model/hmm',num2str(i-1),'/macros -H model/hmm',num2str(i-1),'/hmmdefs -M model/hmm',num2str(i),' monophones0']); end eval(['!c:\MATLAB\R2008a\work\htk\HVite.exe -T 1 -H model/hmm23/macros -H model/hmm23/hmmdefs -S test.scp -i recout.mlf -w wdnet -p 0.0 -s 5.0 dict monophones0']); %input('Press enter to continue'); disp('With bigram language model:'); eval(['!c:\MATLAB\R2008a\work\htk\HVite.exe -T 1 -H model/hmm23/macros -H model/hmm23/hmmdefs -S test.scp -i recout_bigram.mlf -w outLatFile -p 0.0 -s 5.0 dict monophones0']); disp('Error occurs in recout.mlf'); disp('Need to change mfcc to label in recout.mlf'); disp('A hacky way using Vim:.,$,s/mfcc/label/g'); eval(['!c:\MATLAB\R2008a\work\htk\HResults.exe -T 1 -I testref.mlf monophones0 recout.mlf']); eval(['!c:\MATLAB\R2008a\work\htk\HResults.exe -T 1 -e n en -e aa ao -e ah ax-h -e ah ax -e ih ix -e l el -e sh zh -e uw ux -e er axr -e m em -e n nx -e ng eng -e hh hv -e pau pcl -e pau tcl -e pau kcl -e pau q -e pau bcl -e pau dcl -e pau gcl -e pau epi -e pau h# -I testref.mlf monophones0 recout.mlf']); %input('Press enter to continue'); % disp('With bigram language model:'); %eval(['!HResults -T 1 -I testref.mlf monophones0 recout_bigram.mlf']); % eval(['!c:\MATLAB\R2008a\work\htk\HResults -T 1 -e n en -e aa ao -e ah ax-h -e ah ax -e ih ix -e l el -e sh zh -e uw ux -e er axr -e m em -e n nx -e ng eng -e hh hv -e pau pcl -e pau tcl -e pau kcl -e pau q -e pau bcl -e pau dcl -e pau gcl -e pau epi -e pau h# -I testref.mlf monophones0 recout_bigram.mlf &amp;gt; results_bigram']);&lt;/pre&gt;&lt;/div&gt; &lt;/div&gt; &lt;/span&gt;&lt;/p&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/asr-a-complete-matlab-script-for-timit-phonem"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-3550977399823809179?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/3550977399823809179/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/05/asr-complete-matlab-script-for-timit.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/3550977399823809179'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/3550977399823809179'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/05/asr-complete-matlab-script-for-timit.html' title='[ASR] A complete Matlab script for TIMIT phoneme recognition'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-4635916359729628239</id><published>2011-05-23T21:35:00.001+08:00</published><updated>2011-05-23T21:35:04.145+08:00</updated><title type='text'>[ASR] TIMIT information for phoneme recognition</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;div class='p_embed p_file_embed'&gt; &lt;a href="http://troylee.posterous.com/asr-timit-information-for-phoneme-recognition"&gt;&lt;img alt="" src="http://posterous.com/images/filetypes/pdf.png" /&gt;&lt;/a&gt; &lt;div class='p_embed_description'&gt; &lt;strong&gt;TIMIT.pdf&lt;/strong&gt; &lt;a href="http://posterous.com/getfile/files.posterous.com/troylee/kWq2WbE6N0ZV4lX1Jph5Gfm7Rqw6ip4Huh42HXfsa1N1b3yZLdIm5WAK47Au/TIMIT.pdf"&gt;Download this file&lt;/a&gt; &lt;/div&gt; &lt;/div&gt;  &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/asr-timit-information-for-phoneme-recognition"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-4635916359729628239?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/4635916359729628239/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/05/asr-timit-information-for-phoneme.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/4635916359729628239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/4635916359729628239'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/05/asr-timit-information-for-phoneme.html' title='[ASR] TIMIT information for phoneme recognition'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-1863919406905201783</id><published>2011-05-16T13:57:00.001+08:00</published><updated>2011-05-16T13:57:56.584+08:00</updated><title type='text'>[NN] NN output activations with cross entropy error function</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;div class='p_embed p_file_embed'&gt; &lt;a href="http://troylee.posterous.com/nn-nn-output-activations-with-cross-entropy-e"&gt;&lt;img alt="" src="http://posterous.com/images/filetypes/pdf.png" /&gt;&lt;/a&gt; &lt;div class='p_embed_description'&gt; &lt;strong&gt;NN_sigmoid_softmax.pdf&lt;/strong&gt; &lt;a href="http://posterous.com/getfile/files.posterous.com/troylee/Fc2KVxLWuVWYEKc4LcjLuIZHN3V3HN4jR7tqbhhjbTqjKLOUNFfIgJ89igXE/NN_sigmoid_softmax.pdf"&gt;Download this file&lt;/a&gt; &lt;/div&gt; &lt;/div&gt; &lt;p&gt;Binomial - sigmoid activation function;&lt;/p&gt;&lt;div&gt;Multinomial - softmax activation function.&lt;/div&gt;&lt;p /&gt;&lt;div&gt;The error functions are all cross entropy.&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/nn-nn-output-activations-with-cross-entropy-e"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-1863919406905201783?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/1863919406905201783/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/05/nn-nn-output-activations-with-cross.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/1863919406905201783'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/1863919406905201783'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/05/nn-nn-output-activations-with-cross.html' title='[NN] NN output activations with cross entropy error function'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-7154329462532637678</id><published>2011-05-04T19:43:00.001+08:00</published><updated>2011-05-04T19:43:00.416+08:00</updated><title type='text'>[Business] Business Plan Formating</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;div style="color: rgb(102, 102, 102); font-family: Arial; font-size: 12px; line-height: 17px;"&gt;&lt;h5 style="font-size: 22px; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(51, 204, 51); font-weight: bold; line-height: 20px;"&gt; BUSINESS PLAN&lt;br /&gt;FORMATTING&lt;/h5&gt;&lt;div&gt;We like business plans that present a lot of information in as few words as possible. The following format, within 15-20 slides, is all that’s needed:&lt;/div&gt;&lt;h4 style="font-size: 13px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 12px; padding-right: 0px; padding-bottom: 3px; padding-left: 0px; color: rgb(0, 0, 0);"&gt; COMPANY PURPOSE&lt;/h4&gt;&lt;ul style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 15px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; &lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; Define the company/business in a single declarative sentence.&lt;/li&gt;&lt;/ul&gt;&lt;h4 style="font-size: 13px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 12px; padding-right: 0px; padding-bottom: 3px; padding-left: 0px; color: rgb(0, 0, 0);"&gt; PROBLEM&lt;/h4&gt;&lt;ul style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 15px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; &lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; Describe the pain of the customer (or the customer’s customer).&lt;/li&gt;&lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; Outline how the customer addresses the issue today.&lt;/li&gt;&lt;/ul&gt;&lt;h4 style="font-size: 13px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 12px; padding-right: 0px; padding-bottom: 3px; padding-left: 0px; color: rgb(0, 0, 0);"&gt; SOLUTION&lt;/h4&gt;&lt;ul style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 15px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; &lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; Demonstrate your company’s value proposition to make the customer’s life better.&lt;/li&gt;&lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; Show where your product physically sits.&lt;/li&gt;&lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; Provide use cases.&lt;/li&gt;&lt;/ul&gt;&lt;h4 style="font-size: 13px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 12px; padding-right: 0px; padding-bottom: 3px; padding-left: 0px; color: rgb(0, 0, 0);"&gt; WHY NOW&lt;/h4&gt;&lt;ul style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 15px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; &lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; Set-up the historical evolution of your category.&lt;/li&gt;&lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; Define recent trends that make your solution possible.&lt;/li&gt;&lt;/ul&gt;&lt;h4 style="font-size: 13px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 12px; padding-right: 0px; padding-bottom: 3px; padding-left: 0px; color: rgb(0, 0, 0);"&gt; MARKET SIZE&lt;/h4&gt;&lt;ul style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 15px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; &lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; Identify/profile the customer you cater to.&lt;/li&gt;&lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; Calculate the TAM (top down), SAM (bottoms up) and SOM.&lt;/li&gt;&lt;/ul&gt;&lt;h4 style="font-size: 13px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 12px; padding-right: 0px; padding-bottom: 3px; padding-left: 0px; color: rgb(0, 0, 0);"&gt; COMPETITION&lt;/h4&gt;&lt;ul style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 15px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; &lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; List competitors&lt;/li&gt;&lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; List competitive advantages&lt;/li&gt;&lt;/ul&gt;&lt;h4 style="font-size: 13px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 12px; padding-right: 0px; padding-bottom: 3px; padding-left: 0px; color: rgb(0, 0, 0);"&gt; PRODUCT&lt;/h4&gt;&lt;ul style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 15px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; &lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; Product line-up (form factor, functionality, features, architecture, intellectual property).&lt;/li&gt;&lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; Development roadmap.&lt;/li&gt;&lt;/ul&gt;&lt;h4 style="font-size: 13px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 12px; padding-right: 0px; padding-bottom: 3px; padding-left: 0px; color: rgb(0, 0, 0);"&gt; BUSINESS MODEL&lt;/h4&gt;&lt;ul style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 15px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; &lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; Revenue model&lt;/li&gt;&lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; Pricing&lt;/li&gt;&lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; Average account size and/or lifetime value&lt;/li&gt;&lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; Sales &amp;amp; distribution model&lt;/li&gt;&lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; Customer/pipeline list&lt;/li&gt;&lt;/ul&gt;&lt;h4 style="font-size: 13px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 12px; padding-right: 0px; padding-bottom: 3px; padding-left: 0px; color: rgb(0, 0, 0);"&gt; TEAM&lt;/h4&gt;&lt;ul style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 15px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; &lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; Founders &amp;amp; Management&lt;/li&gt;&lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; Board of Directors/Board of Advisors&lt;/li&gt;&lt;/ul&gt;&lt;h4 style="font-size: 13px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 12px; padding-right: 0px; padding-bottom: 3px; padding-left: 0px; color: rgb(0, 0, 0);"&gt; FINANCIALS&lt;/h4&gt;&lt;ul style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 15px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; &lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; P&amp;amp;L&lt;/li&gt;&lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; Balance sheet&lt;/li&gt;&lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; Cash flow&lt;/li&gt;&lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; Cap table&lt;/li&gt;&lt;li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; The deal&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/business-business-plan-formating"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-7154329462532637678?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/7154329462532637678/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/05/business-business-plan-formating.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/7154329462532637678'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/7154329462532637678'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/05/business-business-plan-formating.html' title='[Business] Business Plan Formating'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-5729803789620361270</id><published>2011-04-28T19:28:00.001+08:00</published><updated>2011-04-28T19:28:35.036+08:00</updated><title type='text'>[Business] Business model</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;div style="line-height: 19px; font-family: Sans; font-size: medium;"&gt;&lt;p style="font-family: Verdana, sans-serif; font-size: 10pt; font-weight: normal;"&gt; What is your business model? Amazingly many people who start a business can&amp;#39;t answer this question. In its most basic form, the business model is the diagram of how you will convert your product or service into money in your pocket.&lt;/p&gt; &lt;p style="font-family: Verdana, sans-serif; font-size: 10pt; font-weight: normal;"&gt;Many entrepreneurs suffer from the Field of Dreams affliction. They are sure that their product or service is so fabulous that everyone will want it without taking into account how their potential customers buy things or even how they will finance the gap between the sale and the cash coming in the door.&lt;/p&gt; &lt;p style="font-family: Verdana, sans-serif; font-size: 10pt; font-weight: normal;"&gt;To create your business model, you need to answer the following questions:&lt;/p&gt;&lt;p style="font-family: Verdana, sans-serif; font-size: 10pt; font-weight: normal;"&gt; &lt;/p&gt;&lt;ul&gt;&lt;li style="font-family: Verdana, sans-serif; font-size: 10pt; font-weight: normal;"&gt;to whom are you going to sell your product?&lt;/li&gt;&lt;li style="font-family: Verdana, sans-serif; font-size: 10pt; font-weight: normal;"&gt; what problems does your product or service solve for the customer?&lt;/li&gt;&lt;li style="font-family: Verdana, sans-serif; font-size: 10pt; font-weight: normal;"&gt;how you are going to reach your customers?&lt;/li&gt;&lt;li style="font-family: Verdana, sans-serif; font-size: 10pt; font-weight: normal;"&gt; how and when the customers will pay you?&lt;/li&gt;&lt;li style="font-family: Verdana, sans-serif; font-size: 10pt; font-weight: normal;"&gt;how your products will get from concept stage into your customers&amp;#39; hands?&lt;/li&gt;&lt;li style="font-family: Verdana, sans-serif; font-size: 10pt; font-weight: normal;"&gt; who are your competitors and how are you different?&lt;/li&gt;&lt;/ul&gt;&lt;p style="font-family: Verdana, sans-serif; font-size: 10pt; font-weight: normal;"&gt;&lt;/p&gt;&lt;p style="font-family: Verdana, sans-serif; font-size: 10pt; font-weight: normal;"&gt; In business speak, the business model needs the following components:&lt;/p&gt;&lt;p style="font-family: Verdana, sans-serif; font-size: 10pt; font-weight: normal;"&gt;&lt;strong&gt;Value Proposition&lt;/strong&gt; - this term is highly overused by every MBA and VC associate out there, but the concept is important. The value proposition is a description of the value that you bring to your customer; ie, what problem are you solving? In short, is your product faster, better, or cheaper?&lt;/p&gt; &lt;p style="font-family: Verdana, sans-serif; font-size: 10pt; font-weight: normal;"&gt;&lt;strong&gt;Market Segment&lt;/strong&gt; - who are you going to sell your product or service to. This is the type of customer that you will target. You need to determine why they are the right group who are willing to pay money to you.&lt;/p&gt; &lt;p style="font-family: Verdana, sans-serif; font-size: 10pt; font-weight: normal;"&gt;&lt;strong&gt;Value Chain&lt;/strong&gt; - another good b-school term. You need to determine where you are in the value chain. If you are making a widget that improves a driver&amp;#39;s experience, but it can only be installed by the car manufacturer, then you have a place in the automotive value chain. You need to understand how you fit in this chain and what prices you can charge as a result of that place.&lt;/p&gt; &lt;p style="font-family: Verdana, sans-serif; font-size: 10pt; font-weight: normal;"&gt;&lt;strong&gt;Revenue and Margin&lt;/strong&gt; - How will you price the product and how will people pay you? License, fee upfront, payment over time. What are your costs? Will you be able to bring them down over time. If there is a big profit margin in your business, expect other company to try to enter the same business.&lt;/p&gt; &lt;p style="font-family: Verdana, sans-serif; font-size: 10pt; font-weight: normal;"&gt;&lt;strong&gt;Competitive Strategy&lt;/strong&gt; - who is your competition and how will you differentiate yourself from them. Are you better, faster or cheaper? Does your competition have the ability to improve in response to your entry into the market? Don&amp;#39;t forget that your customer choosing to do nothing can be competition.&lt;/p&gt; &lt;p style="font-family: Verdana, sans-serif; font-size: 10pt; font-weight: normal;"&gt;Many entrepreneurs think that the business model is the same as the business plan. Your business plan is actually how you plan to execute on your business model. Build the model first, find your strengths and weaknesses and write the plan on how you will reach your goal.&lt;/p&gt; &lt;span&gt;&lt;p /&gt;Article Source: &lt;a href="http://EzineArticles.com/966230"&gt;http://EzineArticles.com/966230&lt;/a&gt;&lt;/span&gt;&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/business-business-model"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-5729803789620361270?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/5729803789620361270/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/04/business-business-model.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/5729803789620361270'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/5729803789620361270'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/04/business-business-model.html' title='[Business] Business model'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-5727780066587365547</id><published>2011-04-27T09:50:00.001+08:00</published><updated>2011-04-27T09:50:54.116+08:00</updated><title type='text'>[ML] Some learnings</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;span style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px;"&gt;&lt;ul&gt;* Active Learning = supervised + oracle queries&lt;/ul&gt;&lt;br /&gt; * Semi-supervised Learning = supervised + unlabeled data&lt;br /&gt;* Multitask &amp;amp; Transfer Learning = supervised + data from related task(s)&lt;br /&gt;* Domain Adaptation = supervised + data from source domain(s)&lt;br /&gt;* Multiview Learning = supervised + alternative data views&lt;br /&gt; * Learning in a Bandit Setting = supervised + limited feedback&lt;br /&gt;* Multiple-Instance Learning = supervised + relaxed label granularity&lt;br /&gt;* Learning with Expert Knowledge = supervised + side information&lt;br /&gt;* Weakly Labeled Data = supervised + free (possibly inaccurate) labels&lt;br /&gt; * Human Computation and Crowd-sourcing = supervised + free/inexpensive&lt;br /&gt;annotators&lt;br /&gt;* Learning on a Budget = supervised + misc. cost constraints&lt;/span&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/ml-some-learnings"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-5727780066587365547?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/5727780066587365547/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/04/ml-some-learnings.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/5727780066587365547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/5727780066587365547'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/04/ml-some-learnings.html' title='[ML] Some learnings'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-1230469627382417421</id><published>2011-04-25T12:49:00.001+08:00</published><updated>2011-04-25T12:49:11.482+08:00</updated><title type='text'>[DBN] Deep Machine Learning - A New Frontier in Artificial Intelligence Research</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;div class='p_embed p_file_embed'&gt; &lt;a href="http://troylee.posterous.com/dbn-deep-machine-learning-a-new-frontier-in-a"&gt;&lt;img alt="" src="http://posterous.com/images/filetypes/pdf.png" /&gt;&lt;/a&gt; &lt;div class='p_embed_description'&gt; &lt;strong&gt;DML_Arel_2010.pdf&lt;/strong&gt; &lt;a href="http://posterous.com/getfile/files.posterous.com/troylee/VkAXwViSJal7U05lmZOPFOTX32NyaJAhYbZQT5LWsSi27Gghmv0KsgGc46q5/DML_Arel_2010.pdf"&gt;Download this file&lt;/a&gt; &lt;/div&gt; &lt;/div&gt;  &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/dbn-deep-machine-learning-a-new-frontier-in-a"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-1230469627382417421?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/1230469627382417421/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/04/dbn-deep-machine-learning-new-frontier.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/1230469627382417421'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/1230469627382417421'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/04/dbn-deep-machine-learning-new-frontier.html' title='[DBN] Deep Machine Learning - A New Frontier in Artificial Intelligence Research'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-2168565443285855498</id><published>2011-04-20T10:37:00.001+08:00</published><updated>2011-04-20T10:37:16.863+08:00</updated><title type='text'>[DBN] Deep Learning and Its Applications to Signal and Information Processing</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;div class='p_embed p_file_embed'&gt; &lt;a href="http://troylee.posterous.com/dbn-deep-learning-and-its-applications-to-sig"&gt;&lt;img alt="" src="http://posterous.com/images/filetypes/pdf.png" /&gt;&lt;/a&gt; &lt;div class='p_embed_description'&gt; &lt;strong&gt;DeepLearn-SPM2010.pdf&lt;/strong&gt; &lt;a href="http://posterous.com/getfile/files.posterous.com/troylee/bJMVTAlwhU2ECrsVKsLFjlyd1HtHXS4iAegjxC6gJYKUd3ltFwIjwwUWJVZ7/DeepLearn-SPM2010.pdf"&gt;Download this file&lt;/a&gt; &lt;/div&gt; &lt;/div&gt; &lt;p&gt;Dong Yu and Li Deng&lt;/p&gt;&lt;div&gt;exploratory DSP 2010&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/dbn-deep-learning-and-its-applications-to-sig"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-2168565443285855498?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/2168565443285855498/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/04/dbn-deep-learning-and-its-applications.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/2168565443285855498'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/2168565443285855498'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/04/dbn-deep-learning-and-its-applications.html' title='[DBN] Deep Learning and Its Applications to Signal and Information Processing'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-8083997290610742931</id><published>2011-04-01T15:39:00.001+08:00</published><updated>2011-04-01T15:39:43.192+08:00</updated><title type='text'>Pronunciation teaching - Internet Resources</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;div class="posterous_bookmarklet_entry"&gt; &lt;div class="posterous_quote_citation"&gt;  Check out this website I found at &lt;a href="http://liceu.uab.es/~joaquim/applied_linguistics/L2_phonetics/rec_Corr_Fon_internet.html"&gt;liceu.uab.es&lt;/a&gt;&lt;/div&gt;     &lt;p&gt;&lt;a href="http://liceu.uab.es/~joaquim/applied_linguistics/L2_phonetics/rec_Corr_Fon_internet.html"&gt;http://liceu.uab.es/~joaquim/applied_linguistics/L2_phonetics/rec_Corr_Fon_in...&lt;/a&gt; &lt;/p&gt;&lt;p&gt;This page lists a quite large amount of resources for Computer Assisted Language Learning research.&lt;/p&gt;&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/pronunciation-teaching-internet-resources"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-8083997290610742931?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/8083997290610742931/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/04/pronunciation-teaching-internet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/8083997290610742931'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/8083997290610742931'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/04/pronunciation-teaching-internet.html' title='Pronunciation teaching - Internet Resources'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-864333082405427753</id><published>2011-03-31T16:44:00.001+08:00</published><updated>2011-03-31T16:44:00.957+08:00</updated><title type='text'>[Latex] Simultaneous Equations in Latex</title><content type='html'>&lt;div class='posterous_autopost'&gt;Writing Simultaneous Equations in Latex using cases command, by default, it deems the whole group of equations as one equation and only gives one number for the whole set. &lt;p /&gt;&lt;div&gt;If we want to add numbering to each of the equations inside the group, it&amp;#39;s a little difficult. &lt;/div&gt; &lt;p /&gt;&lt;div&gt;One solution I found on the web is as follows:&lt;/div&gt;&lt;p /&gt;&lt;div&gt;1) define a new command:&lt;/div&gt;&lt;p /&gt;&lt;div&gt;&lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; border-collapse: collapse; font-size: 13px;"&gt; &lt;b&gt;\newenvironment{ncases}[4]{%&lt;/b&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; border-collapse: collapse; font-size: 13px;"&gt; &lt;b&gt;\parbox{0.5\textwidth}{%&lt;/b&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; border-collapse: collapse; font-size: 13px;"&gt; &lt;b&gt;\begin{equation*}&lt;/b&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; border-collapse: collapse; font-size: 13px;"&gt; &lt;b&gt;#1=&lt;/b&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; border-collapse: collapse; font-size: 13px;"&gt; &lt;b&gt;\begin{cases}&lt;/b&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; border-collapse: collapse; font-size: 13px;"&gt; &lt;b&gt;#2&lt;/b&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; border-collapse: collapse; font-size: 13px;"&gt; &lt;b&gt;\end{cases}&lt;/b&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; border-collapse: collapse; font-size: 13px;"&gt; &lt;b&gt;\end{equation*}}&lt;/b&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; border-collapse: collapse; font-size: 13px;"&gt; &lt;b&gt;\hfill&lt;/b&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; border-collapse: collapse; font-size: 13px;"&gt; &lt;b&gt;\parbox{1cm}{%&lt;/b&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; border-collapse: collapse; font-size: 13px;"&gt; &lt;b&gt;\begin{eqnarray}&lt;/b&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; border-collapse: collapse; font-size: 13px;"&gt; &lt;b&gt;{}\label{#3}\\&lt;/b&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; border-collapse: collapse; font-size: 13px;"&gt; &lt;b&gt;{}\label{#4}&lt;/b&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; border-collapse: collapse; font-size: 13px;"&gt; &lt;b&gt;\end{eqnarray}}}&lt;/b&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px;"&gt; &lt;br /&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px;"&gt;Note: this command only supports two equations, if needed one can extend it easily to the number you want. &lt;/p&gt; &lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px;"&gt; 2) Use that command instead of the case command:&lt;/p&gt;&lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px;"&gt; &lt;br /&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px;"&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px;"&gt; &lt;span style="border-collapse: collapse;"&gt;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px;"&gt;&lt;span style="border-collapse: collapse;"&gt;&lt;br /&gt; &lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px;"&gt;&lt;span style="border-collapse: collapse;"&gt;&lt;b&gt;\newenvironment{ncases}[4]{%&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px;"&gt;&lt;span style="border-collapse: collapse;"&gt;&lt;b&gt;\parbox{0.5\textwidth}{%&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px;"&gt;&lt;span style="border-collapse: collapse;"&gt;&lt;b&gt;\begin{equation*}&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px;"&gt;&lt;span style="border-collapse: collapse;"&gt;&lt;b&gt;#1=&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px;"&gt;&lt;span style="border-collapse: collapse;"&gt;&lt;b&gt;\begin{cases}&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px;"&gt;&lt;span style="border-collapse: collapse;"&gt;&lt;b&gt;#2&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px;"&gt;&lt;span style="border-collapse: collapse;"&gt;&lt;b&gt;\end{cases}&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px;"&gt;&lt;span style="border-collapse: collapse;"&gt;&lt;b&gt;\end{equation*}}&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px;"&gt;&lt;span style="border-collapse: collapse;"&gt;&lt;b&gt;\hfill&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px;"&gt;&lt;span style="border-collapse: collapse;"&gt;&lt;b&gt;\parbox{1cm}{%&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px;"&gt;&lt;span style="border-collapse: collapse;"&gt;&lt;b&gt;\begin{eqnarray}&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px;"&gt;&lt;span style="border-collapse: collapse;"&gt;&lt;b&gt;{}\label{#3}\\&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px;"&gt;&lt;span style="border-collapse: collapse;"&gt;&lt;b&gt;{}\label{#4}&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px;"&gt;&lt;span style="border-collapse: collapse;"&gt;&lt;b&gt;\end{eqnarray}}}&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px;"&gt;&lt;span style="border-collapse: collapse;"&gt;&lt;br /&gt; &lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px;"&gt;&lt;span style="border-collapse: collapse;"&gt;\begin{document}&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px;"&gt;&lt;span style="border-collapse: collapse;"&gt;\begin{spacing}{1.1}&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px;"&gt;&lt;span style="border-collapse: collapse;"&gt;&lt;br /&gt; &lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px;"&gt;&lt;span style="border-collapse: collapse;"&gt;&lt;b&gt;\begin{ncases}&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px;"&gt;&lt;span style="border-collapse: collapse;"&gt;&lt;b&gt;{|x|}{x, &amp;amp;\text{if $x\ge 0$}\\&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px;"&gt;&lt;span style="border-collapse: collapse;"&gt;&lt;b&gt;-x,&amp;amp;\text{if $x\le 0$}}{pos}{neg}&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px;"&gt;&lt;span style="border-collapse: collapse;"&gt;&lt;b&gt;\end{ncases}&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px;"&gt;&lt;span style="border-collapse: collapse;"&gt;&lt;b&gt;&lt;br /&gt; &lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px;"&gt;&lt;span style="border-collapse: collapse;"&gt;&lt;b&gt;For if $x\ge 0$, then by Equation~\eqref{pos}, we have $|x|=x\ge0$ and &lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px;"&gt;&lt;span style="border-collapse: collapse;"&gt;&lt;b&gt;if $x\le0$, then by Equation~\eqref{neg}, we have $|x|=-x\ge0$. &lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px;"&gt;&lt;span style="border-collapse: collapse;"&gt;&lt;br /&gt; &lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px;"&gt;&lt;span style="border-collapse: collapse;"&gt;\end{spacing}&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px;"&gt;&lt;span style="border-collapse: collapse;"&gt;\end{document}&lt;/span&gt;&lt;/p&gt; &lt;p /&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/latex-simultaneous-equations-in-latex"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-864333082405427753?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/864333082405427753/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/03/latex-simultaneous-equations-in-latex.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/864333082405427753'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/864333082405427753'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/03/latex-simultaneous-equations-in-latex.html' title='[Latex] Simultaneous Equations in Latex'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-5242552763885603784</id><published>2011-03-30T14:28:00.001+08:00</published><updated>2011-03-30T14:28:57.859+08:00</updated><title type='text'>[Book] Springer Handbook of Speech Processing</title><content type='html'>&lt;div class='posterous_autopost'&gt;This book has a quiet complete explanation over various speech related techniques.&lt;p /&gt;&lt;div&gt;&lt;a href="http://www.springerlink.com/content/978-3-540-49125-5#section=147599&amp;amp;page=1&amp;amp;locus=-1"&gt;http://www.springerlink.com/content/978-3-540-49125-5#section=147599&amp;amp;page=1&amp;amp;locus=-1&lt;/a&gt;&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/book-springer-handbook-of-speech-processing"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-5242552763885603784?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/5242552763885603784/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/03/book-springer-handbook-of-speech.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/5242552763885603784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/5242552763885603784'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/03/book-springer-handbook-of-speech.html' title='[Book] Springer Handbook of Speech Processing'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-6457835118518263350</id><published>2011-03-28T15:24:00.001+08:00</published><updated>2011-03-28T15:24:12.833+08:00</updated><title type='text'>[Linux] Prevent a background process from being stopped after closing SSH client</title><content type='html'>&lt;div class='posterous_autopost'&gt;Just find that the job could be run in the background on the server without being killed after log off the SSH terminal. Great!&lt;p /&gt;&lt;div&gt;Moreover, it will send you an email after the job is done! &lt;/div&gt;&lt;p /&gt; &lt;div&gt;The wonderful command is:&lt;/div&gt;&lt;p /&gt;&lt;div&gt;&lt;span style="border-collapse: collapse; font-family: Arial, Liberation Sans, DejaVu Sans, sans-serif; font-size: 14px; line-height: 18px;" /&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 14px; vertical-align: baseline; background-color: transparent; clear: both;"&gt; the &amp;#39;batch&amp;#39; command.&lt;/p&gt;&lt;div class="CodeRay"&gt; &lt;div class="code"&gt;&lt;pre&gt;$ batch &amp;gt; mycommand -x arg1 -y arg2 -z arg3 &amp;gt; ^D&lt;/pre&gt;&lt;/div&gt; &lt;/div&gt; &lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 14px; vertical-align: baseline; background-color: transparent; clear: both;"&gt; This stuffs it in to the background, and then mails the results to you. It&amp;#39;s a part of cron.&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 14px; vertical-align: baseline; background-color: transparent; clear: both;"&gt; &lt;br /&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 14px; vertical-align: baseline; background-color: transparent; clear: both;"&gt; Reference from: &lt;span style="font-family: arial; font-size: small; border-collapse: separate; line-height: normal;"&gt;&lt;a href="http://stackoverflow.com/questions/285015/linux-prevent-a-background-process-from-being-stopped-after-closing-ssh-client"&gt;http://stackoverflow.com/questions/285015/linux-prevent-a-background-process-from-being-stopped-after-closing-ssh-client&lt;/a&gt;&lt;/span&gt;&lt;/p&gt; &lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/linux-prevent-a-background-process-from-being"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-6457835118518263350?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/6457835118518263350/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/03/linux-prevent-background-process-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/6457835118518263350'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/6457835118518263350'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/03/linux-prevent-background-process-from.html' title='[Linux] Prevent a background process from being stopped after closing SSH client'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-1109820117024227301</id><published>2011-03-25T23:06:00.001+08:00</published><updated>2011-03-25T23:06:23.440+08:00</updated><title type='text'>[CALL] Mispronunciation detection based on cross-language phonological comparisons</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;div class='p_embed p_file_embed'&gt; &lt;a href="http://troylee.posterous.com/call-mispronunciation-detection-based-on-cros"&gt;&lt;img alt="" src="http://posterous.com/images/filetypes/pdf.png" /&gt;&lt;/a&gt; &lt;div class='p_embed_description'&gt; &lt;strong&gt;10.1.1.149.1270 (1).pdf&lt;/strong&gt; &lt;a href="http://posterous.com/getfile/files.posterous.com/troylee/ZHSRSCOpNG6mkRMlyEj5RBhQee0BsZndqbWYsSitcM6NLJBWSYpDePoFJtFC/10.1.1.149.1270_1.pdf"&gt;Download this file&lt;/a&gt; &lt;/div&gt; &lt;/div&gt; &lt;p&gt;This paper presents a method using speech recognition with linguistic constrains to detect the mispronunciations. &lt;/p&gt;&lt;p /&gt;&lt;div&gt;Compared with the standard ASR system, which consists of Acoustic Model, Lexicon and Language Model, the system used for mispronunciation detection only modifies the lexicon to include the possible phoneme confusions for recognition. &lt;/div&gt; &lt;p /&gt;&lt;div&gt;The phoneme confusions are gained from cross language phonological comparisons by human beings.&lt;/div&gt;&lt;p /&gt;&lt;div&gt;Thus the recognized results would possibly have more errors detected, which are interpreted as mispronunciations.&lt;/div&gt; &lt;p /&gt;&lt;div&gt;Actually, we can do alignment instead of recognition for mispronunciation detection. As in learning, the text is known to the speakers and speakers are asked to utter the given sentences.&lt;/div&gt;&lt;p /&gt;&lt;div&gt;In this paper, the measures they used are:&lt;/div&gt;&lt;div&gt;1) correctness: the percentage of all correctly detected phones;&lt;/div&gt;&lt;div&gt;2) accuracy: taking account of insertion&lt;/div&gt;&lt;div&gt;3) agreement of the system detection results with human judgments.&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/call-mispronunciation-detection-based-on-cros"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-1109820117024227301?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/1109820117024227301/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/03/call-mispronunciation-detection-based.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/1109820117024227301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/1109820117024227301'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/03/call-mispronunciation-detection-based.html' title='[CALL] Mispronunciation detection based on cross-language phonological comparisons'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-724054136294907100</id><published>2011-03-24T20:50:00.001+08:00</published><updated>2011-03-24T20:50:51.523+08:00</updated><title type='text'>[Vis&amp;Speech] TIMIT phoneme distribution</title><content type='html'>&lt;div class='posterous_autopost'&gt;I like figures because &amp;quot;a figure is worth 1000 words&amp;quot;. &lt;p /&gt;&lt;div&gt;In the illustration below, the distribution of the 39 phoneme on the standard TIMIT corpus are reflected by the size of the circles. &lt;/div&gt; &lt;p /&gt;&lt;div&gt;Meanwhile, the positions of each phoneme actually represented some kind of similarity, although it is not verified by linguistic experts, from what I learned in my English classes, some confusing phones are indeed clustered together. &lt;/div&gt; &lt;p /&gt;&lt;div&gt;&lt;div class='p_embed p_image_embed'&gt; &lt;a href="http://posterous.com/getfile/files.posterous.com/troylee/ldCW5ovk2QfXuAKqZudh9CWVBAaQlWbA0Hho3AUDiaRuVPH9rdWEHTLWkFbx/TIMIT-TRAIN_phonedist.jpg.scaled.1000.jpg"&gt;&lt;img alt="Timit-train_phonedist" height="527" src="http://posterous.com/getfile/files.posterous.com/troylee/3bc1S6Cn32uKqE86VwiVCqP70nKGW1aLA5f5IDyS2H5yrCxTMcjxZyxUajP4/TIMIT-TRAIN_phonedist.jpg.scaled.500.jpg" width="500" /&gt;&lt;/a&gt; &lt;/div&gt; &lt;br /&gt;&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/visspeech-timit-phoneme-distribution"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-724054136294907100?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/724054136294907100/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/03/vis-timit-phoneme-distribution.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/724054136294907100'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/724054136294907100'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/03/vis-timit-phoneme-distribution.html' title='[Vis&amp;amp;Speech] TIMIT phoneme distribution'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-7863993605987185796</id><published>2011-03-08T22:57:00.001+08:00</published><updated>2011-03-08T22:57:03.338+08:00</updated><title type='text'>[HTK] HLDA transform estimation for High dimensional features</title><content type='html'>&lt;div class='posterous_autopost'&gt;For the TANDEM system, we could either train a set of HMM models on the projected posterior features, we could also train them directly on the posteriors and then using HTK to do a HLDA projection to reduce the dimension of the feature. &lt;p /&gt;&lt;div&gt;However, there is a limitation to the dimension of the feature vectors used: the dimension should be smaller than 100.&lt;/div&gt;&lt;p /&gt;&lt;div&gt;This is due to the &lt;b&gt;HMath.c&lt;/b&gt; file, in which, there are several functions have defined some local array with the fixed length 100.&lt;/div&gt; &lt;p /&gt;&lt;div&gt;For my copy of the v3.4.1 HTK, those are:&lt;/div&gt;&lt;p /&gt;&lt;div&gt;&lt;blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;"&gt; 1424:   float col[100];&lt;br /&gt;1427:   int n,i,j,perm[100];&lt;br /&gt;1477:   double col[100];&lt;br /&gt;1480:   int n,i,j,perm[100];&lt;br /&gt;1506:   double col[100];&lt;br /&gt;1509:   int n,i,perm[100];&lt;br /&gt;1535:   double col[100];&lt;br /&gt;1538:   int n,i,perm[100];&lt;/blockquote&gt; &lt;p /&gt;&lt;div&gt;What needs to do is just increase the size of those local arrays.&lt;/div&gt;&lt;p /&gt;&lt;div&gt; &lt;/div&gt;&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/htk-hlda-transform-estimation-for-high-dimens"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-7863993605987185796?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/7863993605987185796/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/03/htk-hlda-transform-estimation-for-high.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/7863993605987185796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/7863993605987185796'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/03/htk-hlda-transform-estimation-for-high.html' title='[HTK] HLDA transform estimation for High dimensional features'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-9125490043196995231</id><published>2011-03-08T10:12:00.001+08:00</published><updated>2011-03-08T10:12:21.858+08:00</updated><title type='text'>[Speech] Lecture Notes for ASR from Theory to Practice</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;div class='p_embed p_file_embed'&gt; &lt;a href="http://troylee.posterous.com/speech-lecture-notes-for-asr-from-theory-to-p"&gt;&lt;img alt="" src="http://posterous.com/images/filetypes/pdf.png" /&gt;&lt;/a&gt; &lt;div class='p_embed_description'&gt; &lt;strong&gt;lecture-09.pdf&lt;/strong&gt; &lt;a href="http://troylee.posterous.com/speech-lecture-notes-for-asr-from-theory-to-p"&gt;Download this file&lt;/a&gt; &lt;/div&gt; &lt;/div&gt; &lt;p&gt;In the slides, it provides a good list of available tools for automatic speech recognition and thoughts for the future of ASR techniques.&lt;/p&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/speech-lecture-notes-for-asr-from-theory-to-p"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-9125490043196995231?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/9125490043196995231/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/03/speech-lecture-notes-for-asr-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/9125490043196995231'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/9125490043196995231'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/03/speech-lecture-notes-for-asr-from.html' title='[Speech] Lecture Notes for ASR from Theory to Practice'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-2673148323767956200</id><published>2011-03-07T14:25:00.001+08:00</published><updated>2011-03-07T14:25:43.603+08:00</updated><title type='text'>[Linguistic] Symbols for American English Vowel Sounds</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;div style="font-family: Sans; font-size: medium;"&gt;&lt;div&gt;&lt;div style="font-family: Sans; font-size: medium;"&gt;From: &lt;/div&gt;&lt;/div&gt; &lt;div&gt;&lt;div style="font-family: Sans; font-size: medium;"&gt;&lt;a href="http://www.utexas.edu/courses/linguistics/resources/phonetics/vowelmap/index.html"&gt;http://www.utexas.edu/courses/linguistics/resources/phonetics/vowelmap/index.html&lt;/a&gt;&lt;/div&gt;&lt;/div&gt; &lt;div&gt;The position mapping of vowels:&lt;/div&gt;&lt;p /&gt;&lt;div style="text-align: center;"&gt;&lt;div style="font-family: Sans; font-size: medium;"&gt;&lt;img src="http://www.utexas.edu/courses/linguistics/resources/phonetics/vowelmap/voweltrap10.gif" alt="Vowel chart" /&gt;&lt;/div&gt;&lt;/div&gt; &lt;p /&gt;&lt;div&gt;&lt;div style="font-family: Sans; font-size: medium;"&gt;From: &lt;/div&gt;&lt;a href="http://www.utexas.edu/courses/linguistics/resources/phonetics/vowelmap/index.html"&gt;http://www.utexas.edu/courses/linguistics/resources/phonetics/vowelmap/index.html&lt;/a&gt;&lt;/div&gt; &lt;p /&gt;&lt;div&gt;The Sun name for the phoneme is the one used in speech recognition. &lt;/div&gt;&lt;p /&gt;A typical dialect of American English has about 15 distinctive vowel sounds. Here their symbols are linked to Sun-style .au samples lifted from the&lt;/div&gt;&lt;span style="font-family: Sans; font-size: medium;"&gt;&lt;a href="http://www.ibiblio.org/sounds/phonemes/"&gt;ibiblio (Sunsite) archive&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: Sans; font-size: medium;"&gt; &lt;/span&gt;&lt;span style="font-family: Sans; font-size: medium;"&gt;(where they are listed without the .au extension).&lt;/span&gt;&lt;ul style="font-family: Sans; font-size: medium;"&gt; &lt;li&gt;The first symbol is the International Phonetic Association (IPA) symbol for the sound. (For the diphthongs, the American style of transcription is to use a -y where the standard IPA uses a &amp;#39;j&amp;#39;.)&lt;/li&gt;&lt;li&gt;The second is the Sun name for the phoneme sample (which is in most cases the same as the symbol used by First Byte in Monologue for Windows and its DOS forebears).&lt;/li&gt; &lt;li&gt;The third symbol is the &lt;a href="http://faculty.washington.edu/dillon/PhonResources/ipaascii.html"&gt;ipa-ascii&lt;/a&gt; symbol (an alphabet for use on Usenet groups and email).&lt;/li&gt;&lt;li&gt;The fourth column has the symbol that Rsynth displays in its verbose mode.&lt;/li&gt; &lt;li&gt;The fifth column contains the &lt;a href="http://www.phon.ucl.ac.uk/home/sampa/english.htm"&gt;SAMPA&lt;/a&gt; symbol--as you can see, the differences among these alphabets are minor.&lt;/li&gt;&lt;li&gt;Each row concludes with a key word for the sound.&lt;/li&gt; &lt;/ul&gt;&lt;hr style="font-family: Sans; font-size: medium;" /&gt;&lt;center style="font-family: Sans; font-size: medium;"&gt;&lt;table border="1" align="center"&gt;&lt;td&gt;&lt;b&gt;Front Vowels&lt;/b&gt;&lt;/td&gt;&lt;tr&gt; &lt;th&gt;&lt;/th&gt;&lt;th&gt;IPA&lt;/th&gt;&lt;th&gt;S u n&lt;/th&gt;&lt;th&gt;IPAascii&lt;/th&gt;&lt;th&gt;Rsynth&lt;/th&gt;&lt;th&gt;Sampa&lt;/th&gt;&lt;th&gt;KeyWord&lt;/th&gt;&lt;/tr&gt;&lt;tr align="center"&gt;&lt;td rowspan="5" width="20"&gt;&lt;b&gt;h&lt;br /&gt;i&lt;br /&gt;g&lt;br /&gt;h&lt;br /&gt;l&lt;br /&gt;o&lt;br /&gt;w&lt;/b&gt;&lt;/td&gt; &lt;td&gt;&lt;img src="http://faculty.washington.edu/dillon/PhonResources/vowel_files/IY.gif" height="30" width="45" /&gt;&lt;/td&gt;&lt;td&gt;IY&lt;/td&gt;&lt;td&gt;i&lt;/td&gt;&lt;td&gt;i&lt;/td&gt;&lt;td&gt;i&lt;/td&gt; &lt;td&gt;&lt;a href=""&gt;beet&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr align="center"&gt;&lt;td&gt;&lt;img src="http://faculty.washington.edu/dillon/PhonResources/vowel_files/IH.gif" height="30" alt="IH" width="45" /&gt;&lt;/td&gt;&lt;td&gt;IH&lt;/td&gt; &lt;td&gt;I&lt;/td&gt;&lt;td&gt;I&lt;/td&gt;&lt;td&gt;I&lt;/td&gt;&lt;td&gt;&lt;a href=""&gt;bit&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr align="center"&gt;&lt;td&gt;&lt;img src="http://faculty.washington.edu/dillon/PhonResources/vowel_files/EY.gif" height="30" alt="EY" width="45" /&gt;&lt;/td&gt; &lt;td&gt;EY&lt;/td&gt;&lt;td&gt;eI&lt;/td&gt;&lt;td&gt;eI&lt;/td&gt;&lt;td&gt;e&lt;/td&gt;&lt;td&gt;&lt;a href=""&gt;bait&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr align="center"&gt; &lt;td&gt;&lt;img src="http://faculty.washington.edu/dillon/PhonResources/vowel_files/EH.gif" height="30" alt="EH" width="45" /&gt;&lt;/td&gt;&lt;td&gt;EH&lt;/td&gt;&lt;td&gt;E&lt;/td&gt;&lt;td&gt;e&lt;/td&gt;&lt;td&gt; E&lt;/td&gt;&lt;td&gt;&lt;a href=""&gt;bet&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr align="center"&gt;&lt;td&gt;&lt;img src="http://faculty.washington.edu/dillon/PhonResources/vowel_files/AE.gif" height="30" width="45" /&gt;&lt;/td&gt; &lt;td&gt;AE&lt;/td&gt;&lt;td&gt;&amp;amp;&lt;/td&gt;&lt;td&gt;&amp;amp;&lt;/td&gt;&lt;td&gt;{&lt;/td&gt;&lt;td&gt;&lt;a href=""&gt;at&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/center&gt;&lt;table border="1" align="center" style="font-family: Sans; font-size: medium;"&gt; &lt;td&gt;&lt;b&gt;Back Vowels&lt;/b&gt;&lt;/td&gt;&lt;tr&gt;&lt;th&gt;&lt;/th&gt;&lt;th&gt;IPA&lt;/th&gt;&lt;th&gt;S u n&lt;/th&gt;&lt;th&gt;IPAascii&lt;/th&gt;&lt;th&gt;Rsynth&lt;/th&gt;&lt;th&gt;Sampa&lt;/th&gt;&lt;th&gt;KeyWord&lt;/th&gt;&lt;/tr&gt;&lt;tr align="center"&gt;&lt;td rowspan="6" width="20"&gt; &lt;b&gt;h&lt;br /&gt;i&lt;br /&gt;g&lt;br /&gt;h&lt;br /&gt;.&lt;br /&gt;l&lt;br /&gt;o&lt;br /&gt;w&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;img src="http://faculty.washington.edu/dillon/PhonResources/vowel_files/UW.gif" height="30" width="45" /&gt;&lt;/td&gt;&lt;td&gt;UY&lt;/td&gt;&lt;td&gt;u&lt;/td&gt; &lt;td&gt;u&lt;/td&gt;&lt;td&gt;u&lt;/td&gt;&lt;td&gt;&lt;a href=""&gt;boot&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr align="center"&gt;&lt;td&gt;&lt;img src="http://faculty.washington.edu/dillon/PhonResources/vowel_files/UH.gif" height="30" width="45" /&gt;&lt;/td&gt; &lt;td&gt;UH&lt;/td&gt;&lt;td&gt;U&lt;/td&gt;&lt;td&gt;U&lt;/td&gt;&lt;td&gt;U&lt;/td&gt;&lt;td&gt;&lt;a href=""&gt;book&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr align="center"&gt; &lt;td&gt; &lt;img src="http://faculty.washington.edu/dillon/PhonResources/vowel_files/OW.gif" height="30" width="45" /&gt;&lt;/td&gt;&lt;td&gt;OW&lt;/td&gt;&lt;td&gt;oU&lt;/td&gt;&lt;td&gt;oU&lt;/td&gt;&lt;td&gt;o&lt;/td&gt; &lt;td&gt;&lt;a href=""&gt;boat&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr align="center"&gt;&lt;td&gt;&lt;img src="http://faculty.washington.edu/dillon/PhonResources/vowel_files/AO.gif" height="30" width="45" /&gt;&lt;/td&gt;&lt;td&gt;AO&lt;/td&gt; &lt;td&gt;O&lt;/td&gt;&lt;td&gt;O&lt;/td&gt;&lt;td&gt;O&lt;/td&gt;&lt;td&gt;&lt;a href=""&gt;cause&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr align="center"&gt;&lt;td&gt;&lt;img src="http://faculty.washington.edu/dillon/PhonResources/vowel_files/a2a.gif" height="30" width="45" /&gt;&lt;/td&gt; &lt;td&gt;AA&lt;/td&gt;&lt;td&gt;a/A&lt;/td&gt;&lt;td&gt;A&lt;/td&gt;&lt;td&gt;A&lt;/td&gt;&lt;td&gt;&lt;a href=""&gt;cot&lt;/a&gt;&lt;a href=""&gt; &lt;sup&gt;1&lt;/sup&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt; &lt;center style="font-family: Sans; font-size: medium;"&gt;&lt;table border="1" align="center"&gt;&lt;td&gt;&lt;b&gt;Central Vowels&lt;/b&gt;&lt;/td&gt;&lt;tr&gt;&lt;th&gt;&lt;/th&gt;&lt;th&gt;IPA&lt;/th&gt;&lt;th&gt;S u n&lt;/th&gt;&lt;th&gt;IPAascii&lt;/th&gt; &lt;th&gt;Rsynth&lt;/th&gt;&lt;th&gt;Sampa&lt;/th&gt;&lt;th&gt;KeyWord&lt;/th&gt;&lt;/tr&gt;&lt;tr align="center"&gt;&lt;td rowspan="3"&gt;&lt;/td&gt;&lt;td&gt;&lt;img src="http://faculty.washington.edu/dillon/PhonResources/vowel_files/AX.gif" height="30" width="45" /&gt;&lt;/td&gt; &lt;td&gt;AX&lt;/td&gt;&lt;td&gt;@&lt;/td&gt;&lt;td&gt;@&lt;/td&gt;&lt;td&gt;@&lt;/td&gt;&lt;td&gt;&lt;a href=""&gt;about&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr align="center"&gt; &lt;td&gt;&lt;img src="http://faculty.washington.edu/dillon/PhonResources/vowel_files/AH.gif" height="30" width="45" /&gt;&lt;/td&gt;&lt;td&gt;AH&lt;/td&gt;&lt;td&gt;V&lt;/td&gt;&lt;td&gt;V&lt;/td&gt;&lt;td&gt;V&lt;/td&gt; &lt;td&gt;&lt;a href=""&gt;but&lt;sup&gt;2&lt;/sup&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/center&gt;&lt;center style="font-family: Sans; font-size: medium;"&gt;&lt;table border="1" align="center"&gt;&lt;td&gt; &lt;b&gt;Diphthongs&lt;/b&gt;&lt;/td&gt; &lt;tr&gt;&lt;th&gt;&lt;/th&gt;&lt;th&gt;IPA&lt;/th&gt;&lt;th&gt;S u n&lt;/th&gt;&lt;th&gt;IPAascii&lt;/th&gt;&lt;th&gt;Rsynth&lt;/th&gt;&lt;th&gt;Sampa&lt;/th&gt;&lt;th&gt;KeyWord&lt;/th&gt;&lt;/tr&gt;&lt;tr align="center"&gt;&lt;td rowspan="3"&gt;&lt;/td&gt;&lt;td&gt;&lt;img src="http://faculty.washington.edu/dillon/PhonResources/vowel_files/AY.gif" height="30" width="45" /&gt;&lt;/td&gt; &lt;td&gt;AY&lt;/td&gt;&lt;td&gt;aI&lt;/td&gt;&lt;td&gt;aI&lt;/td&gt;&lt;td&gt;aI&lt;/td&gt;&lt;td&gt;&lt;a href=""&gt;bite&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr align="center"&gt; &lt;td&gt;&lt;img src="http://faculty.washington.edu/dillon/PhonResources/vowel_files/OY.gif" height="30" width="45" /&gt;&lt;/td&gt;&lt;td&gt;OY&lt;/td&gt;&lt;td&gt;OI&lt;/td&gt;&lt;td&gt;OI&lt;/td&gt;&lt;td&gt;OI&lt;/td&gt; &lt;td&gt;&lt;a href=""&gt;boy&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr align="center"&gt;&lt;td&gt;&lt;img src="http://faculty.washington.edu/dillon/PhonResources/vowel_files/AW.gif" height="30" width="45" /&gt;&lt;/td&gt;&lt;td&gt;AW&lt;/td&gt; &lt;td&gt;AU&lt;/td&gt;&lt;td&gt;aU&lt;/td&gt;&lt;td&gt;aU&lt;/td&gt;&lt;td&gt;&lt;a href=""&gt;bough&lt;p /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;&lt;/center&gt;&lt;center style="text-align: left; font-family: Sans; font-size: medium;"&gt; Some links:&lt;/center&gt;&lt;center style="text-align: left; font-family: Sans; font-size: medium;"&gt;&lt;br /&gt;&lt;/center&gt;&lt;center style="text-align: left; font-family: Sans; font-size: medium;"&gt;&lt;a href="http://faculty.washington.edu/dillon/PhonResources/PhonResources.html#Recog"&gt;http://faculty.washington.edu/dillon/PhonResources/PhonResources.html#Recog&lt;/a&gt;&lt;/center&gt; &lt;center style="text-align: left; font-family: Sans; font-size: medium;"&gt;&lt;br /&gt;&lt;/center&gt;&lt;center style="text-align: left; font-family: Sans; font-size: medium;"&gt;&lt;a href="http://www.ibiblio.org/sounds/phonemes/"&gt;http://www.ibiblio.org/sounds/phonemes/&lt;/a&gt;&lt;/center&gt; &lt;center style="text-align: left; font-family: Sans; font-size: medium;"&gt;&lt;br /&gt;&lt;/center&gt; &lt;p&gt;&lt;div class='p_embed p_file_embed'&gt; &lt;a href="http://troylee.posterous.com/linguistic-symbols-for-american-english-vowel"&gt;&lt;img alt="" src="http://posterous.com/images/filetypes/pdf.png" /&gt;&lt;/a&gt; &lt;div class='p_embed_description'&gt; &lt;strong&gt;symbols for american english vowel sounds.pdf&lt;/strong&gt; &lt;a href="http://troylee.posterous.com/linguistic-symbols-for-american-english-vowel"&gt;View this on Posterous&lt;/a&gt; &lt;/div&gt; &lt;/div&gt; &lt;/p&gt;&lt;p&gt;&lt;div class='p_embed p_file_embed'&gt; &lt;a href="http://troylee.posterous.com/linguistic-symbols-for-american-english-vowel"&gt;&lt;img alt="" src="http://posterous.com/images/filetypes/pdf.png" /&gt;&lt;/a&gt; &lt;div class='p_embed_description'&gt; &lt;strong&gt;vowel mapping.pdf&lt;/strong&gt; &lt;a href="http://troylee.posterous.com/linguistic-symbols-for-american-english-vowel"&gt;View this on Posterous&lt;/a&gt; &lt;/div&gt; &lt;/div&gt; &lt;/p&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/linguistic-symbols-for-american-english-vowel"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-2673148323767956200?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/2673148323767956200/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/03/linguistic-symbols-for-american-english.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/2673148323767956200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/2673148323767956200'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/03/linguistic-symbols-for-american-english.html' title='[Linguistic] Symbols for American English Vowel Sounds'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-1463342903613054329</id><published>2011-03-03T20:05:00.001+08:00</published><updated>2011-03-03T20:05:07.249+08:00</updated><title type='text'>[Cocoa] A simple audio recording and playing demo using AudioQueue</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;div class='p_embed p_file_embed'&gt; &lt;a href="http://troylee.posterous.com/cocoa-a-simple-audio-recording-and-playing-de"&gt;&lt;img alt="" src="http://posterous.com/images/filetypes/zip.png" /&gt;&lt;/a&gt; &lt;div class='p_embed_description'&gt; &lt;strong&gt;AudioRecord.zip&lt;/strong&gt; &lt;a href="http://troylee.posterous.com/cocoa-a-simple-audio-recording-and-playing-de"&gt;View this on Posterous&lt;/a&gt; &lt;/div&gt; &lt;/div&gt; &lt;p&gt;This code is based on the Sample project SpeakHere of Apple developer site.&lt;/p&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/cocoa-a-simple-audio-recording-and-playing-de"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-1463342903613054329?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/1463342903613054329/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/03/cocoa-simple-audio-recording-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/1463342903613054329'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/1463342903613054329'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/03/cocoa-simple-audio-recording-and.html' title='[Cocoa] A simple audio recording and playing demo using AudioQueue'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-5669296111827341528</id><published>2011-03-01T20:13:00.001+08:00</published><updated>2011-03-01T20:13:29.898+08:00</updated><title type='text'>[Conference] Workshops related to Unsupervised learning and transfer learning</title><content type='html'>&lt;div class='posterous_autopost'&gt;       &lt;div style='padding: 5px 5px 10px 5px; margin-top: 5px; border: 1px solid #ddd; background-color: #fff;line-height: 16px;'&gt;       &lt;div style="float: left; margin-right: 5px; overflow: visible;"&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/ZtPjy9ktl5sSY9fDopAEMmKsYidBEWOvIwWitRTae504YYDSj4ngkPzBeJiB/NIPS10_TLWS_Huang.pdf' style='color: #bc7134;'&gt;&lt;img src='http://posterous.com/images/filetypes/pdf.png' style='border: none;'/&gt;&lt;/a&gt;&lt;/div&gt;       &lt;div style="font-size: 10px; color: #424037;line-height: 16px;"&gt;Download now or &lt;a href='http://troylee.posterous.com/conference-workshops-related-to-unsupervised' style='color: #bc7134;'&gt;preview on posterous&lt;/a&gt;&lt;/div&gt;       &lt;b&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/ZtPjy9ktl5sSY9fDopAEMmKsYidBEWOvIwWitRTae504YYDSj4ngkPzBeJiB/NIPS10_TLWS_Huang.pdf' style='color: #bc7134;'&gt;NIPS10_TLWS_Huang.pdf&lt;/a&gt;&lt;/b&gt; &lt;span style="font-size: 10px; color: #424037;"&gt;(114 KB)&lt;/span&gt;       &lt;br style="clear: both;"/&gt;&lt;/div&gt;      &lt;p&gt;&lt;/p&gt;&lt;p /&gt;&lt;div&gt;ICML workshop on Transfer Learning:&lt;/div&gt;&lt;p /&gt;&lt;a href="http://clopinet.com/isabelle/Projects/ICML2011/"&gt;http://clopinet.com/isabelle/Projects/ICML2011/&lt;/a&gt;&lt;p /&gt;&lt;div&gt;&lt;a href="http://clopinet.com/isabelle/Projects/ICML2011/"&gt;&lt;/a&gt;There is also a list of past papers for Transfer learning on that page. &lt;br /&gt; &lt;p /&gt;&lt;div&gt;&lt;h1 style="font-size: 22px; text-align: center; color: rgb(51, 119, 204); font-family: verdana, sans-serif;"&gt;Unsupervised and Transfer Learning Challenge&lt;/h1&gt;&lt;p /&gt;&lt;div&gt;&lt;span style="font-size: 11px;"&gt;&lt;a href="http://www.causality.inf.ethz.ch/unsupervised-learning.php?page=synopsis#cont"&gt;http://www.causality.inf.ethz.ch/unsupervised-learning.php?page=synopsis#cont&lt;/a&gt;&lt;/span&gt;&lt;/div&gt; &lt;/div&gt;&lt;/div&gt;&lt;p /&gt;&lt;p /&gt;&lt;div&gt;&lt;h1 style="font-size: 1.3em; margin-top: 0px; margin-right: 0px; margin-bottom: 0.3em; margin-left: 0px; color: rgb(17, 17, 17); font-family: verdana, geneva, sans-serif; line-height: 16px;"&gt; &lt;a href="http://www.mit.edu/~rsalakhu/workshop_nips2010/index.html" style="color: rgb(128, 171, 205); text-decoration: none; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(0, 85, 153);"&gt;NIPS 2010 Workshop on Transfer Learning Via Rich Generative Models&lt;/a&gt;&lt;/h1&gt; &lt;p /&gt;&lt;div style="color: rgb(17, 17, 17); font-family: verdana, geneva, sans-serif; font-size: 11px; line-height: 16px;"&gt; Two interesting papers on this NIPS workshop:&lt;/div&gt;&lt;p /&gt;&lt;div&gt;&lt;span style="font-size: 11px; line-height: 16px;"&gt;&lt;a href="http://www.mit.edu/~rsalakhu/workshop_nips2010/papers/NIPS10_TLWS_Huang.pd"&gt;http://www.mit.edu/~rsalakhu/workshop_nips2010/papers/NIPS10_TLWS_Huang.pd&lt;/a&gt;f&lt;/span&gt;&lt;/div&gt; &lt;/div&gt;&lt;p /&gt;&lt;div&gt;&lt;span style="font-size: 11px; line-height: 16px;"&gt;&lt;a href="http://www.mit.edu/~rsalakhu/workshop_nips2010/papers/Piyush_mixture_nipsworkshop.pdf"&gt;http://www.mit.edu/~rsalakhu/workshop_nips2010/papers/Piyush_mixture_nipsworkshop.pdf&lt;/a&gt;&lt;/span&gt;&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/conference-workshops-related-to-unsupervised"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-5669296111827341528?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/5669296111827341528/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/03/conference-workshops-related-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/5669296111827341528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/5669296111827341528'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/03/conference-workshops-related-to.html' title='[Conference] Workshops related to Unsupervised learning and transfer learning'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-2664547079249108625</id><published>2011-03-01T12:59:00.001+08:00</published><updated>2011-03-01T12:59:52.671+08:00</updated><title type='text'>[Misc] Mixing Objective-C and C++</title><content type='html'>&lt;div class='posterous_autopost'&gt;To use the C++ code in Objective-C, we can implement C++ class in pure C++. When using those C++ classes in Objective-C, any file having C++ types must have the extension of &amp;quot;.mm&amp;quot;. Thus it seems not suitable to include C++ headers in Objective-C headers, although they are all &amp;quot;.h&amp;quot; files.  &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/misc-mixing-objective-c-and-c"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-2664547079249108625?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/2664547079249108625/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/03/misc-mixing-objective-c-and-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/2664547079249108625'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/2664547079249108625'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/03/misc-mixing-objective-c-and-c.html' title='[Misc] Mixing Objective-C and C++'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-4922839342015109153</id><published>2011-02-28T13:31:00.001+08:00</published><updated>2011-02-28T13:31:12.412+08:00</updated><title type='text'>Interspeech proceeding index</title><content type='html'>&lt;div class='posterous_autopost'&gt;       &lt;div style='padding: 5px 5px 10px 5px; margin-top: 5px; border: 1px solid #ddd; background-color: #fff;line-height: 16px;'&gt;       &lt;div style="float: left; margin-right: 5px; overflow: visible;"&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/I4gEdGJcPXEOfP51a4RU1cMgetDLRkemBUPfUle3t2nLwx57LaRFd6meLdEf/INTERSPEECH_proeeding_index.pdf' style='color: #bc7134;'&gt;&lt;img src='http://posterous.com/images/filetypes/pdf.png' style='border: none;'/&gt;&lt;/a&gt;&lt;/div&gt;       &lt;div style="font-size: 10px; color: #424037;line-height: 16px;"&gt;Download now or &lt;a href='http://troylee.posterous.com/interspeech-proceeding-index' style='color: #bc7134;'&gt;preview on posterous&lt;/a&gt;&lt;/div&gt;       &lt;b&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/I4gEdGJcPXEOfP51a4RU1cMgetDLRkemBUPfUle3t2nLwx57LaRFd6meLdEf/INTERSPEECH_proeeding_index.pdf' style='color: #bc7134;'&gt;INTERSPEECH proeeding index.pdf&lt;/a&gt;&lt;/b&gt; &lt;span style="font-size: 10px; color: #424037;"&gt;(497 KB)&lt;/span&gt;       &lt;br style="clear: both;"/&gt;&lt;/div&gt;       &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/interspeech-proceeding-index"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-4922839342015109153?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/4922839342015109153/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/02/interspeech-proceeding-index.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/4922839342015109153'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/4922839342015109153'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/02/interspeech-proceeding-index.html' title='Interspeech proceeding index'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-7309423364506143388</id><published>2011-02-27T20:46:00.001+08:00</published><updated>2011-02-27T20:46:31.714+08:00</updated><title type='text'>[OpenGL] FreeType and FTGL for Xcode</title><content type='html'>&lt;div class='posterous_autopost'&gt;1) Download FreeType from: &lt;span style=""&gt;&lt;a href="http://www.freetype.org/" style="color: rgb(153, 51, 0); text-decoration: none !important; line-height: normal;"&gt;http://www.freetype.org&lt;/a&gt; and FTGL source from: &lt;/span&gt;&lt;span style=""&gt;&lt;a href="http://sourceforge.net/projects/ftgl/" style="color: rgb(153, 51, 0); text-decoration: none !important; line-height: normal;"&gt;http://sourceforge.net/projects/ftgl/&lt;/a&gt;&lt;/span&gt;&lt;p /&gt;&lt;div&gt;2) Extract the source and open a Terminal to navigate under the corresponding folder&lt;/div&gt;&lt;p /&gt;&lt;div&gt;3) For each do following steps in Terminal:&lt;/div&gt;&lt;div&gt;a) ./configure&lt;/div&gt;&lt;div&gt;b) make&lt;/div&gt;&lt;p /&gt;&lt;div&gt;4) find the libfreetype.a library file, for my case, it is under the folder of objs/.libs&lt;/div&gt;&lt;p /&gt;&lt;div&gt;5) copy the libfreetype.a and the include folder to a place, these are the files needed for apps;&lt;/div&gt; &lt;p /&gt;&lt;div&gt;6) Similarly for the FTGL, do ./configure, make and find the libftgl.a which is under src/.libs/&lt;/div&gt;&lt;p /&gt;&lt;div&gt;7) copy the libftgl.a and the folder FTGL under the src folder for future use.&lt;/div&gt; &lt;p /&gt;&lt;div&gt;For testing,&lt;/div&gt;&lt;p /&gt;&lt;div&gt;In Xcode, create a command-line app.&lt;/div&gt;&lt;p /&gt;&lt;div&gt;Copy the code from FTGL&amp;#39;s demo folder&amp;#39;s c-demo.c to the main.c of the newly created Xcode project.&lt;/div&gt; &lt;p /&gt;&lt;div&gt;drag libftgl.a, libfreetype.a and the header folders FTGL, freetype and the f2build.h to the project.&lt;/div&gt;&lt;p /&gt;&lt;div&gt;&lt;img src="http://posterous.com/getfile/files.posterous.com/troylee/nZuNNJn3kxQLDPy0xORcJUIRmmp9h6beXPLDZy3IfE1JAvGl3CoNyMSlKhW6/Screen_shot_2011-02-27_at_PM_0.png" width="286" height="275"/&gt; &lt;br /&gt; &lt;/div&gt;&lt;p /&gt;&lt;div&gt;To compile the program we also need the &amp;quot;config.h&amp;quot; file from the FTGL&amp;#39;s folder and add the OpenGL and GLUT frameworks.&lt;/div&gt;&lt;p /&gt;&lt;div&gt;Finally the result is :&lt;/div&gt;&lt;div&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/vsYFSHsgpdk6Ggi5nHHpcEz7N6BJ3OlGzUJGCY1wuVD4dkyXEaNltJPuoZfj/Untitled.png'&gt;&lt;img src="http://posterous.com/getfile/files.posterous.com/troylee/u2hNOqEe5OEzbSKh8IDX0SCcNN8vY6sjhpbSuGfbC265nduFrgO0fPkAhICd/Untitled.png.scaled.500.jpg" width="500" height="390"/&gt;&lt;/a&gt; &lt;br /&gt; &lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/opengl-freetype-and-ftgl-for-xcode"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-7309423364506143388?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/7309423364506143388/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/02/opengl-freetype-and-ftgl-for-xcode.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/7309423364506143388'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/7309423364506143388'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/02/opengl-freetype-and-ftgl-for-xcode.html' title='[OpenGL] FreeType and FTGL for Xcode'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-2054035324540078310</id><published>2011-02-24T15:47:00.001+08:00</published><updated>2011-02-24T15:47:20.972+08:00</updated><title type='text'>[misc] speech recognition in real world - for fun</title><content type='html'>&lt;div class='posterous_autopost'&gt; &lt;div style="background-color: #FFF; margin: 20px; padding: 0px;"&gt; &lt;br /&gt;&lt;table border="0"&gt;&lt;tr&gt;&lt;td colspan="2" style="padding: 10px 0px 0px 0px;"&gt;&lt;div style="background-color: #FFF; border: 0px; padding: 0px; margin: 15px 0px 0px 15px;"&gt; &lt;div style="background-color: #F9F9FD; padding: 10px 10px 5px 10px; margin-bottom: 15px;"&gt; &lt;div style="float: left; margin: 0px 10px 5px 0px; border: 1px solid #999;"&gt; &lt;div style="overflow: hidden; background-color: #FFF;"&gt; &lt;a href="http://www.youtube.com/watch?v=Ok4-Y_xQhbE&amp;amp;feature=email" target="_blank"&gt; &lt;img src="http://i4.ytimg.com/vi/Ok4-Y_xQhbE/default.jpg" style="border: none;" /&gt; &lt;/a&gt; &lt;/div&gt; &lt;/div&gt; &lt;div style="font-weight: bold; margin-bottom: 5px;"&gt; &lt;a href="http://www.youtube.com/watch?v=Ok4-Y_xQhbE&amp;amp;feature=email" target="_blank"&gt;Scotish Irish English American Eleven How you say eleven&lt;/a&gt; &lt;/div&gt; &lt;div style="margin-bottom: 5px;"&gt; Sup Mee x&lt;p /&gt;Suck﻿ my willy :P&lt;p /&gt;Open The Door Pleasee :D&lt;p /&gt;Going Upp :P &lt;/div&gt; &lt;p /&gt; &lt;/div&gt; &lt;/div&gt; &lt;p&gt;&lt;/p&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td colspan="2" style="text-align: left; padding-top: 50px; color: rgb(204, 204, 204);"&gt;&lt;object height="417" width="500"&gt;&lt;param name="movie" value="http://www.youtube.com/v/Ok4-Y_xQhbE&amp;hl=en&amp;fs=1" /&gt;&lt;/param&gt;&lt;param name="wmode" value="window" /&gt;&lt;param name="allowFullScreen" value="true" /&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always" /&gt;&lt;/param&gt;&lt;embed allowfullscreen="true" src="http://www.youtube.com/v/Ok4-Y_xQhbE&amp;hl=en&amp;fs=1" wmode="opaque" allowscriptaccess="always" type="application/x-shockwave-flash" height="417" width="500"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;p /&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/misc-speech-recognition-in-real-world-for-fun"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-2054035324540078310?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/2054035324540078310/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/02/misc-speech-recognition-in-real-world.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/2054035324540078310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/2054035324540078310'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/02/misc-speech-recognition-in-real-world.html' title='[misc] speech recognition in real world - for fun'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-4827688290037935760</id><published>2011-02-22T12:15:00.001+08:00</published><updated>2011-02-22T12:15:26.564+08:00</updated><title type='text'>[HMM] The GCONST in HTK's HMM definition file</title><content type='html'>&lt;div class='posterous_autopost'&gt;The GCONST value is a precomputed constant for the log likelihood of the Gaussian, i.e. the log of the denominator of the Gaussian formula:&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;img src="http://posterous.com/getfile/files.posterous.com/troylee/tMoGWxmI16F9mWxg7hBOEGdqNPl3O5ZFW6QSsW3x1offVMMJ5e88x73QOMTg/Screenshot.png" width="461" height="72"/&gt; &lt;/div&gt; &lt;p /&gt;&lt;div&gt;The stored GCONST is:&lt;/div&gt;&lt;p /&gt;&lt;div&gt;&lt;img src="http://posterous.com/getfile/files.posterous.com/troylee/Xe3C5lgu77hMa7ZCDOqooD3F6VAA6trypBVXgnKJoTxRFrjGdMyz7TGy0WcG/Screenshot-1.png" width="364" height="71"/&gt; &lt;br /&gt;&lt;/div&gt;&lt;div&gt;where for the diagonal covariance matrix, the determinant is just the product of the diagonal elements.&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/hmm-the-gconst-in-htks-hmm-definition-file"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-4827688290037935760?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/4827688290037935760/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/02/hmm-gconst-in-htk-hmm-definition-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/4827688290037935760'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/4827688290037935760'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/02/hmm-gconst-in-htk-hmm-definition-file.html' title='[HMM] The GCONST in HTK&amp;#39;s HMM definition file'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-6338782083965716032</id><published>2011-02-20T16:13:00.001+08:00</published><updated>2011-02-20T16:13:20.201+08:00</updated><title type='text'>[ML] Unsupervised Learning</title><content type='html'>&lt;div class='posterous_autopost'&gt;       &lt;div style='padding: 5px 5px 10px 5px; margin-top: 5px; border: 1px solid #ddd; background-color: #fff;line-height: 16px;'&gt;       &lt;div style="float: left; margin-right: 5px; overflow: visible;"&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/XsENAX3WODIkoqJFojARcHa7NJF3mHqDQxiADqnZ4Fi2oXYysvd9J4PaJ2t4/fulltext_7.pdf' style='color: #bc7134;'&gt;&lt;img src='http://posterous.com/images/filetypes/pdf.png' style='border: none;'/&gt;&lt;/a&gt;&lt;/div&gt;       &lt;div style="font-size: 10px; color: #424037;line-height: 16px;"&gt;Download now or &lt;a href='http://troylee.posterous.com/ml-unsupervised-learning' style='color: #bc7134;'&gt;preview on posterous&lt;/a&gt;&lt;/div&gt;       &lt;b&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/XsENAX3WODIkoqJFojARcHa7NJF3mHqDQxiADqnZ4Fi2oXYysvd9J4PaJ2t4/fulltext_7.pdf' style='color: #bc7134;'&gt;fulltext (7).pdf&lt;/a&gt;&lt;/b&gt; &lt;span style="font-size: 10px; color: #424037;"&gt;(539 KB)&lt;/span&gt;       &lt;br style="clear: both;"/&gt;&lt;/div&gt;      &lt;p&gt;Unsupervised Learning lecture notes from MLSS.&lt;/p&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/ml-unsupervised-learning"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-6338782083965716032?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/6338782083965716032/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/02/ml-unsupervised-learning.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/6338782083965716032'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/6338782083965716032'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/02/ml-unsupervised-learning.html' title='[ML] Unsupervised Learning'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-5967265805877892215</id><published>2011-02-20T11:23:00.001+08:00</published><updated>2011-02-20T11:23:38.539+08:00</updated><title type='text'>[ML] Basics about Monte Carlo Methods</title><content type='html'>&lt;div class='posterous_autopost'&gt;       &lt;div style='padding: 5px 5px 10px 5px; margin-top: 5px; border: 1px solid #ddd; background-color: #fff;line-height: 16px;'&gt;       &lt;div style="float: left; margin-right: 5px; overflow: visible;"&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/0wDEwnE1xSB4spCOmUI5yISsCOlkGhNJRF02Lp65A0ZRfEfjNZgV72ZckvYr/fulltext_6.pdf' style='color: #bc7134;'&gt;&lt;img src='http://posterous.com/images/filetypes/pdf.png' style='border: none;'/&gt;&lt;/a&gt;&lt;/div&gt;       &lt;div style="font-size: 10px; color: #424037;line-height: 16px;"&gt;Download now or &lt;a href='http://troylee.posterous.com/ml-basics-about-monte-carlo-methods' style='color: #bc7134;'&gt;preview on posterous&lt;/a&gt;&lt;/div&gt;       &lt;b&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/0wDEwnE1xSB4spCOmUI5yISsCOlkGhNJRF02Lp65A0ZRfEfjNZgV72ZckvYr/fulltext_6.pdf' style='color: #bc7134;'&gt;fulltext (6).pdf&lt;/a&gt;&lt;/b&gt; &lt;span style="font-size: 10px; color: #424037;"&gt;(1545 KB)&lt;/span&gt;       &lt;br style="clear: both;"/&gt;&lt;/div&gt;      &lt;p&gt;This is the lecture notes from MLSS for Monte Carlo Methods.&lt;/p&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/ml-basics-about-monte-carlo-methods"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-5967265805877892215?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/5967265805877892215/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/02/ml-basics-about-monte-carlo-methods.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/5967265805877892215'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/5967265805877892215'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/02/ml-basics-about-monte-carlo-methods.html' title='[ML] Basics about Monte Carlo Methods'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-7700829248557636399</id><published>2011-02-20T11:16:00.001+08:00</published><updated>2011-02-20T11:16:10.727+08:00</updated><title type='text'>[MLSS] Singapore 2011</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;div&gt;&lt;a href="http://mlss2011.comp.nus.edu.sg/index.php?n=Main.HomePage"&gt;http://mlss2011.comp.nus.edu.sg/index.php?n=Main.HomePage&lt;/a&gt;&lt;/div&gt;&lt;p /&gt; &lt;div&gt;&lt;span style="font-family: Trebuchet Ms, sans-serif; font-weight: bold;"&gt;Machine Learning Summer School&lt;/span&gt;&lt;div class="CodeRay"&gt; &lt;div class="code"&gt;&lt;pre&gt;13-17 June 2011, Singapore&lt;/pre&gt;&lt;/div&gt; &lt;/div&gt; &lt;/div&gt;&lt;p /&gt;&lt;div&gt;The home page for the MLSS world series is &lt;a href="http://www.mlss.cc/"&gt;http://www.mlss.cc/&lt;/a&gt;&lt;/div&gt;&lt;p /&gt;&lt;div&gt;Lecture notes for previous events: &lt;a href="http://www.springerlink.com/content/lrh41y849xdh"&gt;http://www.springerlink.com/content/lrh41y849xdh&lt;/a&gt;/&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/mlss-singapore-2011"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-7700829248557636399?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/7700829248557636399/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/02/mlss-singapore-2011.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/7700829248557636399'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/7700829248557636399'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/02/mlss-singapore-2011.html' title='[MLSS] Singapore 2011'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-4302917112489765300</id><published>2011-02-17T10:39:00.001+08:00</published><updated>2011-02-17T10:39:27.160+08:00</updated><title type='text'>[NN] A guide to recurrent neural network and backpropagation</title><content type='html'>&lt;div class='posterous_autopost'&gt;This doc is a rather simple introduction to Recurrent Neural Network giving a basic understanding of RNN. &lt;p /&gt;&lt;div&gt;Modeling time series, we can use either feedforward networks or RNN:&lt;/div&gt;&lt;p /&gt;&lt;div&gt;1) Adopting temporal windows on the input feature for feed forward NN, i.e. the tapped delay line memory in this paper&lt;/div&gt; &lt;p /&gt;&lt;div&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/XzBSoNvUnBHXZbq8IZdF60iqMGLelX0wn6fn2uSVWQ9h0KBZebO1bBRa7mYN/Screenshot.png'&gt;&lt;img src="http://posterous.com/getfile/files.posterous.com/troylee/itw4H8Jz3CB0rBFnkHXVsl0DR3JRc6GdqoIBYqyfkRGkldb1lED2A2OC2dbJ/Screenshot.png.scaled.500.jpg" width="500" height="540"/&gt;&lt;/a&gt; &lt;br /&gt;&lt;/div&gt;&lt;p /&gt;&lt;div&gt;2) RNN is inherently capable of modeling the temporal information in the input sequence due to its recurrent characteristic&lt;/div&gt; &lt;p /&gt;&lt;div&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/5KjZZB5cyknIi7f9gCcMWWooZTpbKXLNYK1XEtPsm6SwWeWr639CxAyC3UPk/Screenshot-1.png'&gt;&lt;img src="http://posterous.com/getfile/files.posterous.com/troylee/o18GxkSUF0i88tJbD7k4UuRy0DwYby3b9okguMwv4m3hjVUrAnflr87YYJl0/Screenshot-1.png.scaled.500.jpg" width="500" height="462"/&gt;&lt;/a&gt; &lt;br /&gt;&lt;/div&gt;&lt;p /&gt;&lt;div&gt;One major concern is the simple RNN only make use of the previous input information, which may not be sufficient especially for speech signals.&lt;/div&gt; &lt;p /&gt;&lt;div&gt;To incorporate more temporal information a complex system is required and the structure after unfolding is illustrated below:&lt;/div&gt;&lt;p /&gt;&lt;div&gt;&lt;img src="http://posterous.com/getfile/files.posterous.com/troylee/obrCGWRh59runwwEft5gZKKvwxhFuKrXlTr2qalHLvN0qVKZGSYYzQYh1EMo/Screenshot-2.png" width="415" height="535"/&gt; &lt;br /&gt; &lt;/div&gt;&lt;p /&gt;&lt;div&gt;Will this more complex system beat the feed forward NN with similar model complexity?&lt;/div&gt;&lt;p /&gt;&lt;div&gt;Another issue is the RNN only utilizes the historical information in the time series, while for windowing in feed forward NN, we can actually employ both the history and future information for current frame prediction. &lt;/div&gt; &lt;p /&gt;&lt;div&gt;However, feed forward NN process the current input and the context information with the same set of model parameter, which may not be the best way. &lt;/div&gt;&lt;p /&gt;&lt;div&gt;Maybe the first thing to try is just to experiment with RNN see whether it gives any promising results.&lt;/div&gt; &lt;p /&gt;&lt;div&gt; &lt;/div&gt; &lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;       &lt;div style='padding: 5px 5px 10px 5px; margin-top: 5px; border: 1px solid #ddd; background-color: #fff;line-height: 16px;'&gt;       &lt;div style="float: left; margin-right: 5px; overflow: visible;"&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/qXMnwpnkBsBfWlfUD8F72xZxT4OXgIGyPDLJfniGXGqjbX6YSftdcviNr0LE/10.1.1.3.9311.pdf' style='color: #bc7134;'&gt;&lt;img src='http://posterous.com/images/filetypes/pdf.png' style='border: none;'/&gt;&lt;/a&gt;&lt;/div&gt;       &lt;div style="font-size: 10px; color: #424037;line-height: 16px;"&gt;Download now or &lt;a href='http://troylee.posterous.com/nn-a-guide-to-recurrent-neural-network-and-ba' style='color: #bc7134;'&gt;preview on posterous&lt;/a&gt;&lt;/div&gt;       &lt;b&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/qXMnwpnkBsBfWlfUD8F72xZxT4OXgIGyPDLJfniGXGqjbX6YSftdcviNr0LE/10.1.1.3.9311.pdf' style='color: #bc7134;'&gt;10.1.1.3.9311.pdf&lt;/a&gt;&lt;/b&gt; &lt;span style="font-size: 10px; color: #424037;"&gt;(137 KB)&lt;/span&gt;       &lt;br style="clear: both;"/&gt;&lt;/div&gt;      &lt;/p&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/nn-a-guide-to-recurrent-neural-network-and-ba"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-4302917112489765300?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/4302917112489765300/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/02/nn-guide-to-recurrent-neural-network.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/4302917112489765300'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/4302917112489765300'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/02/nn-guide-to-recurrent-neural-network.html' title='[NN] A guide to recurrent neural network and backpropagation'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-6790804923163136930</id><published>2011-02-16T15:36:00.001+08:00</published><updated>2011-02-16T15:36:48.719+08:00</updated><title type='text'>Introduction To Bayesian Inference</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;div class="posterous_bookmarklet_entry"&gt; &lt;blockquote&gt;&lt;div&gt;  &lt;h3&gt;See Also:&lt;/h3&gt;    	  	    	  	    	  	  &lt;p&gt;&lt;img src="http://media.videolectures.net/icons/icons_win_sm.gif" alt="Launch Windows Media Player" /&gt;&lt;a rel="nofollow"&gt;Launch in a standalone WM Player&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img src="http://media.videolectures.net/icons/icons_win_sm.gif" alt="WMedia Player" /&gt;&lt;a href="http://videolectures.net/mlss09uk_bishop_ibi#" rel="nofollow"&gt;Switch to Windows Media Player&lt;/a&gt;&lt;/p&gt;  	  	    	  	  &lt;p&gt;&lt;img src="http://media.videolectures.net/icons/powerpoint.png" alt="Download slides icon" /&gt;  Download slides:   &lt;a href="http://videolectures.net/mlss09uk_bishop_ibi#" rel="nofollow"&gt;mlss09uk_bishop_ibi_01.pdf&lt;/a&gt;&amp;nbsp;&lt;small&gt;(2.8 MB)&lt;/small&gt;&lt;/p&gt;  	  	    	  	    	                                                    &lt;p&gt;  		&lt;img src="http://media.videolectures.net/icons/sync_video.png" alt="View slides" /&gt;  &lt;a href="http://videolectures.net/mlss09uk_bishop_ibi#" rel="nofollow"&gt; View slides&lt;/a&gt;&lt;br /&gt;  &lt;/p&gt;            &lt;p&gt;  &lt;img src="http://media.videolectures.net/icons/help.png" alt="Help icon" /&gt;  &lt;a href="http://videolectures.net/mlss09uk_bishop_ibi#"&gt;Streaming Video Help&lt;/a&gt;  	  &lt;/p&gt;  &lt;p&gt;  	  &lt;img src="http://media.videolectures.net/icons/link.png" alt="WebLink icon" /&gt;  &lt;a href="http://port25.technet.com/pages/windows-media-player-firefox-plugin-download.aspx" rel="nofollow"&gt;Windows Media Player Firefox Plugin - Download&lt;/a&gt;  &lt;/p&gt;  &lt;/div&gt;&lt;/blockquote&gt;    &lt;div class="posterous_quote_citation"&gt;via &lt;a href="http://videolectures.net/mlss09uk_bishop_ibi/"&gt;videolectures.net&lt;/a&gt;&lt;/div&gt; &lt;p&gt;In the progress of learning his wonderful book Pattern Recognition and Machine Learning&lt;/p&gt;&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/introduction-to-bayesian-inference"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-6790804923163136930?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/6790804923163136930/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/02/introduction-to-bayesian-inference.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/6790804923163136930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/6790804923163136930'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/02/introduction-to-bayesian-inference.html' title='Introduction To Bayesian Inference'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-9170685132496760540</id><published>2011-02-16T15:35:00.001+08:00</published><updated>2011-02-16T15:35:31.340+08:00</updated><title type='text'>Probabilistic Models for Computational Linguistics</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;div class="posterous_bookmarklet_entry"&gt; &lt;blockquote&gt;&lt;div&gt;  &lt;h3&gt;See Also:&lt;/h3&gt;    	  	    	  	    	  	  &lt;p&gt;&lt;img src="http://media.videolectures.net/icons/icons_win_sm.gif" alt="Launch Windows Media Player" /&gt;&lt;a rel="nofollow"&gt;Launch in a standalone WM Player&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img src="http://media.videolectures.net/icons/icons_win_sm.gif" alt="WMedia Player" /&gt;&lt;a href="http://videolectures.net/mlss2010au_johnson_probabmodels#" rel="nofollow"&gt;Switch to Windows Media Player&lt;/a&gt;&lt;/p&gt;  	  	    	  	    	  	    	                                                    &lt;p&gt;  &lt;img src="http://media.videolectures.net/icons/help.png" alt="Help icon" /&gt;  &lt;a href="http://videolectures.net/mlss2010au_johnson_probabmodels#"&gt;Streaming Video Help&lt;/a&gt;  	  &lt;/p&gt;  &lt;p&gt;  	  &lt;img src="http://media.videolectures.net/icons/link.png" alt="WebLink icon" /&gt;  &lt;a href="http://port25.technet.com/pages/windows-media-player-firefox-plugin-download.aspx" rel="nofollow"&gt;Windows Media Player Firefox Plugin - Download&lt;/a&gt;  &lt;/p&gt;  &lt;/div&gt;&lt;/blockquote&gt;&lt;div class="posterous_quote_citation"&gt;via &lt;a href="http://videolectures.net/mlss2010au_johnson_probabmodels/"&gt;videolectures.net&lt;/a&gt;&lt;/div&gt; &lt;p&gt;Time to learn more basic and fundamental stuffs for my research&lt;/p&gt;&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/probabilistic-models-for-computational-lingui"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-9170685132496760540?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/9170685132496760540/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/02/probabilistic-models-for-computational.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/9170685132496760540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/9170685132496760540'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/02/probabilistic-models-for-computational.html' title='Probabilistic Models for Computational Linguistics'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-9108631450010121727</id><published>2011-01-27T08:37:00.001+08:00</published><updated>2011-01-27T08:37:10.921+08:00</updated><title type='text'>[Conference] PASCAL CHiME</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;span style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse;"&gt;PASCAL CHiME Speech Separation and Recognition Challenge&lt;p /&gt;                 Deadline: April 14, 2011&lt;br /&gt;        Workshop: September 1, 2011, Florence, Italy&lt;p /&gt;  &lt;a href="http://www.dcs.shef.ac.uk/spandh/chime/challenge.html" target="_blank" style="color: rgb(17, 65, 112);"&gt;http://www.dcs.shef.ac.uk/spandh/chime/challenge.html&lt;/a&gt;&lt;/span&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/conference-pascal-chime"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-9108631450010121727?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/9108631450010121727/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/01/conference-pascal-chime.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/9108631450010121727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/9108631450010121727'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/01/conference-pascal-chime.html' title='[Conference] PASCAL CHiME'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-7292925127200567539</id><published>2011-01-26T16:13:00.001+08:00</published><updated>2011-01-26T16:13:42.967+08:00</updated><title type='text'>[Speech] FFT algorithm</title><content type='html'>&lt;div class='posterous_autopost'&gt;The FFT algorithm implemented in the HTK is the Decimation-In-Time FFT algorithm as detailed explained in the attached file. The computation could be reflected in the following flow graph ( 8-poing DFT ):&lt;p /&gt;&lt;div&gt; &lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/ZR0bQBiaHtdgezdAxBGzzSwzzW03p86c6QCQLEgUWgnos70BXDcmMHXXsvHB/0Screen_shot_2011-01-26_at_PM_0.png'&gt;&lt;img src="http://posterous.com/getfile/files.posterous.com/troylee/QgmKGzgTsWYHQDcdibUO0OvNwxIMfKSFNQnSzTlNAO04fYP2xJKeZpIddU0f/0Screen_shot_2011-01-26_at_PM_0.png.scaled.500.jpg" width="500" height="220"/&gt;&lt;/a&gt; &lt;br /&gt;&lt;p /&gt;&lt;div&gt;A minor difference is that in the HTK implementation, the Wn=exp(j * 2 * pi / n), while in common the Wn adopted is Wn=exp(-j * 2 * pi).&lt;/div&gt; &lt;p /&gt;&lt;div&gt;The above FFT algorithm only deals with complex numbers. To do DFT on the real valued signal sequence we need a real version of the FFT, for which we could utilize the complex FFT. In the second document from Texas Instrument, they give a fast implementation of the FFT for real valued sequences ( on page 12-19). The algorithm is illustrated briefly in following figure:&lt;/div&gt; &lt;p /&gt;&lt;div&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/0fskYTLuBHqIz8bhGbrsBZivFgrFrCCv8vAlxQ9vFuLFwMBfNgIPsRuxGvDP/Screen_shot_2011-01-26_at_PM_0.png'&gt;&lt;img src="http://posterous.com/getfile/files.posterous.com/troylee/LaKsZS2IEsHK3wOo7E5LxlRA5GuCDyjkGAq6aKgEO0GfUkZUD6vOt0x1znT9/Screen_shot_2011-01-26_at_PM_0.png.scaled.500.jpg" width="500" height="333"/&gt;&lt;/a&gt; &lt;br /&gt;&lt;/div&gt;&lt;p /&gt;&lt;p /&gt;&lt;/div&gt; &lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;       &lt;div style='padding: 5px 5px 10px 5px; margin-top: 5px; border: 1px solid #ddd; background-color: #fff;line-height: 16px;'&gt;       &lt;div style="float: left; margin-right: 5px; overflow: visible;"&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/qDQE6zPA4aIsaZ4BcbmC8werbDLGi60iDhzKEb7nAcW5IQa0EF2e7jPziSwM/Decimation_in_time_FFT_algorit.pdf' style='color: #bc7134;'&gt;&lt;img src='http://posterous.com/images/filetypes/pdf.png' style='border: none;'/&gt;&lt;/a&gt;&lt;/div&gt;       &lt;div style="font-size: 10px; color: #424037;line-height: 16px;"&gt;Download now or &lt;a href='http://troylee.posterous.com/speech-fft-algorithm' style='color: #bc7134;'&gt;preview on posterous&lt;/a&gt;&lt;/div&gt;       &lt;b&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/qDQE6zPA4aIsaZ4BcbmC8werbDLGi60iDhzKEb7nAcW5IQa0EF2e7jPziSwM/Decimation_in_time_FFT_algorit.pdf' style='color: #bc7134;'&gt;Decimation in time FFT algorithm.pdf&lt;/a&gt;&lt;/b&gt; &lt;span style="font-size: 10px; color: #424037;"&gt;(735 KB)&lt;/span&gt;       &lt;br style="clear: both;"/&gt;&lt;/div&gt;      &lt;/p&gt;&lt;p&gt;       &lt;div style='padding: 5px 5px 10px 5px; margin-top: 5px; border: 1px solid #ddd; background-color: #fff;line-height: 16px;'&gt;       &lt;div style="float: left; margin-right: 5px; overflow: visible;"&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/mAHQIbjK4oandWNogcEHPT4FPeL3Ro971WdOfvUa8XQYebrdMOcpPl5xSbbY/DSP_FOR_FFT_COMPUTATION.pdf' style='color: #bc7134;'&gt;&lt;img src='http://posterous.com/images/filetypes/pdf.png' style='border: none;'/&gt;&lt;/a&gt;&lt;/div&gt;       &lt;div style="font-size: 10px; color: #424037;line-height: 16px;"&gt;Download now or &lt;a href='http://troylee.posterous.com/speech-fft-algorithm' style='color: #bc7134;'&gt;preview on posterous&lt;/a&gt;&lt;/div&gt;       &lt;b&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/mAHQIbjK4oandWNogcEHPT4FPeL3Ro971WdOfvUa8XQYebrdMOcpPl5xSbbY/DSP_FOR_FFT_COMPUTATION.pdf' style='color: #bc7134;'&gt;DSP_FOR_FFT_COMPUTATION.PDF&lt;/a&gt;&lt;/b&gt; &lt;span style="font-size: 10px; color: #424037;"&gt;(389 KB)&lt;/span&gt;       &lt;br style="clear: both;"/&gt;&lt;/div&gt;      &lt;/p&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/speech-fft-algorithm"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-7292925127200567539?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/7292925127200567539/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/01/speech-fft-algorithm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/7292925127200567539'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/7292925127200567539'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/01/speech-fft-algorithm.html' title='[Speech] FFT algorithm'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-9033172295481259317</id><published>2011-01-21T11:10:00.001+08:00</published><updated>2011-01-21T11:10:29.935+08:00</updated><title type='text'>[Learning] Unsupervised Learning</title><content type='html'>&lt;div class='posterous_autopost'&gt;       &lt;div style='padding: 5px 5px 10px 5px; margin-top: 5px; border: 1px solid #ddd; background-color: #fff;line-height: 16px;'&gt;       &lt;div style="float: left; margin-right: 5px; overflow: visible;"&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/8dH3VnAHrQgif0R69cwEmzYQhpAvUotZTrHMXeSb8abNzXTmpWQN1ZR1tObV/ul.pdf' style='color: #bc7134;'&gt;&lt;img src='http://posterous.com/images/filetypes/pdf.png' style='border: none;'/&gt;&lt;/a&gt;&lt;/div&gt;       &lt;div style="font-size: 10px; color: #424037;line-height: 16px;"&gt;Download now or &lt;a href='http://troylee.posterous.com/learning-unsupervised-learning' style='color: #bc7134;'&gt;preview on posterous&lt;/a&gt;&lt;/div&gt;       &lt;b&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/8dH3VnAHrQgif0R69cwEmzYQhpAvUotZTrHMXeSb8abNzXTmpWQN1ZR1tObV/ul.pdf' style='color: #bc7134;'&gt;ul.pdf&lt;/a&gt;&lt;/b&gt; &lt;span style="font-size: 10px; color: #424037;"&gt;(362 KB)&lt;/span&gt;       &lt;br style="clear: both;"/&gt;&lt;/div&gt;       &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/learning-unsupervised-learning"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-9033172295481259317?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/9033172295481259317/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/01/learning-unsupervised-learning.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/9033172295481259317'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/9033172295481259317'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/01/learning-unsupervised-learning.html' title='[Learning] Unsupervised Learning'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-3088899967745613157</id><published>2011-01-20T17:43:00.001+08:00</published><updated>2011-01-20T17:43:41.906+08:00</updated><title type='text'>[Speech] Front end analysis of speech recognition: A review</title><content type='html'>&lt;div class='posterous_autopost'&gt;       &lt;div style='padding: 5px 5px 10px 5px; margin-top: 5px; border: 1px solid #ddd; background-color: #fff;line-height: 16px;'&gt;       &lt;div style="float: left; margin-right: 5px; overflow: visible;"&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/lx5LwyotOp0qh7mavssj4SreVnodkeZNCBOQA4f1xUh9ZtTpz5vnkUPzHsM0/front_end_analysis_of_speech_r.pdf' style='color: #bc7134;'&gt;&lt;img src='http://posterous.com/images/filetypes/pdf.png' style='border: none;'/&gt;&lt;/a&gt;&lt;/div&gt;       &lt;div style="font-size: 10px; color: #424037;line-height: 16px;"&gt;Download now or &lt;a href='http://troylee.posterous.com/speech-front-end-analysis-of-speech-recogniti' style='color: #bc7134;'&gt;preview on posterous&lt;/a&gt;&lt;/div&gt;       &lt;b&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/lx5LwyotOp0qh7mavssj4SreVnodkeZNCBOQA4f1xUh9ZtTpz5vnkUPzHsM0/front_end_analysis_of_speech_r.pdf' style='color: #bc7134;'&gt;front end analysis of speech recognition_a review.pdf&lt;/a&gt;&lt;/b&gt; &lt;span style="font-size: 10px; color: #424037;"&gt;(2930 KB)&lt;/span&gt;       &lt;br style="clear: both;"/&gt;&lt;/div&gt;       &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/speech-front-end-analysis-of-speech-recogniti"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-3088899967745613157?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/3088899967745613157/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/01/speech-front-end-analysis-of-speech.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/3088899967745613157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/3088899967745613157'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/01/speech-front-end-analysis-of-speech.html' title='[Speech] Front end analysis of speech recognition: A review'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-1428404317125357203</id><published>2011-01-20T16:02:00.001+08:00</published><updated>2011-01-20T16:02:23.925+08:00</updated><title type='text'>[Machine Learning] GTM: The Generative Topographic Mapping</title><content type='html'>&lt;div class='posterous_autopost'&gt;       &lt;div style='padding: 5px 5px 10px 5px; margin-top: 5px; border: 1px solid #ddd; background-color: #fff;line-height: 16px;'&gt;       &lt;div style="float: left; margin-right: 5px; overflow: visible;"&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/qrI0AHrZN03manpPVQl4VduicpeyLgXVeaC3FUtb01K5O8J8VETvRbBFmJDS/GTM_The_generative_topographic.pdf' style='color: #bc7134;'&gt;&lt;img src='http://posterous.com/images/filetypes/pdf.png' style='border: none;'/&gt;&lt;/a&gt;&lt;/div&gt;       &lt;div style="font-size: 10px; color: #424037;line-height: 16px;"&gt;Download now or &lt;a href='http://troylee.posterous.com/machine-learning-gtm-the-generative-topograph' style='color: #bc7134;'&gt;preview on posterous&lt;/a&gt;&lt;/div&gt;       &lt;b&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/qrI0AHrZN03manpPVQl4VduicpeyLgXVeaC3FUtb01K5O8J8VETvRbBFmJDS/GTM_The_generative_topographic.pdf' style='color: #bc7134;'&gt;GTM_The generative topographic mapping.pdf&lt;/a&gt;&lt;/b&gt; &lt;span style="font-size: 10px; color: #424037;"&gt;(463 KB)&lt;/span&gt;       &lt;br style="clear: both;"/&gt;&lt;/div&gt;       &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/machine-learning-gtm-the-generative-topograph"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-1428404317125357203?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/1428404317125357203/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/01/machine-learning-gtm-generative.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/1428404317125357203'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/1428404317125357203'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/01/machine-learning-gtm-generative.html' title='[Machine Learning] GTM: The Generative Topographic Mapping'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-7103578697333148352</id><published>2011-01-20T10:53:00.001+08:00</published><updated>2011-01-20T10:53:17.762+08:00</updated><title type='text'>[Misc] Command Line Keyboard Shortcuts for Mac OS X</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;div style="font-family: Helvetica Neue, Verdana, Helvetica, Tahoma, Arial, sans-serif; font-size: 14px; color: rgb(48, 48, 48); line-height: 21px;"&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; From: &lt;a href="http://osxdaily.com/2006/12/19/command-line-keyboard-shortcuts-for-mac-os-x/"&gt;http://osxdaily.com/2006/12/19/command-line-keyboard-shortcuts-for-mac-os-x/&lt;/a&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; The command line in Mac OS X can be a very powerful and fun tool, so it’s good to know how to maneuver around if you find yourself in it. By default, the Mac OS X Terminal uses the Bash shell, which is what these keyboard shortcuts are intended for. So if you’re ready to get your feet wet, open up the Terminal and try these shortcuts out, they’re sure to make your command line life easier. The list isn’t too crazy so you should be able to try all these out within a minute or two, have fun:&lt;/p&gt; &lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt;&lt;/p&gt;&lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px;"&gt; &lt;span /&gt;&lt;/p&gt;&lt;/div&gt;&lt;table border="1"&gt;&lt;tr&gt;&lt;td&gt;Ctrl + A&lt;/td&gt;&lt;td&gt;Go to the beginning of the line you are currently typing on&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Ctrl + E&lt;/td&gt;&lt;td&gt;Go to the end of the line you are currently typing on&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Ctrl + L&lt;/td&gt;&lt;td&gt;Clears the Screen, similar to the clear command&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Ctrl + U&lt;/td&gt;&lt;td&gt;Clears the line before the cursor position. If you are at the end of the line, clears the entire line.&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Ctrl + H&lt;/td&gt;&lt;td&gt;Same as backspace&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Ctrl + R&lt;/td&gt;&lt;td&gt;Let’s you search through previously used commands&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Ctrl + C&lt;/td&gt;&lt;td&gt;Kill whatever you are running&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Ctrl + D&lt;/td&gt; &lt;td&gt;Exit the current shell&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Ctrl + Z&lt;/td&gt;&lt;td&gt;Puts whatever you are running into a suspended background process. fg restores it.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Ctrl + W&lt;/td&gt;&lt;td&gt;Delete the word before the cursor&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;Ctrl + K&lt;/td&gt;&lt;td&gt;Clear the line after the cursor&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Ctrl + T&lt;/td&gt;&lt;td&gt;Swap the last two characters before the cursor&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Esc + T&lt;/td&gt;&lt;td&gt;Swap the last two words before the cursor&lt;/td&gt;&lt;/tr&gt; &lt;/table&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/misc-command-line-keyboard-shortcuts-for-mac"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-7103578697333148352?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/7103578697333148352/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/01/misc-command-line-keyboard-shortcuts.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/7103578697333148352'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/7103578697333148352'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/01/misc-command-line-keyboard-shortcuts.html' title='[Misc] Command Line Keyboard Shortcuts for Mac OS X'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-5191667999986197502</id><published>2011-01-19T11:17:00.001+08:00</published><updated>2011-01-19T11:17:36.466+08:00</updated><title type='text'>[Tool] HMM Toolkit STK from Speech@FIT</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;a href="http://www.fit.vutbr.cz/research/groups/speech/sw/stk.html"&gt;http://www.fit.vutbr.cz/research/groups/speech/sw/stk.html&lt;/a&gt;&lt;p /&gt;&lt;div&gt;Simple example scripts for MMI, MPE training.&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/tool-hmm-toolkit-stk-from-speechfit"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-5191667999986197502?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/5191667999986197502/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/01/tool-hmm-toolkit-stk-from-speechfit.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/5191667999986197502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/5191667999986197502'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/01/tool-hmm-toolkit-stk-from-speechfit.html' title='[Tool] HMM Toolkit STK from Speech@FIT'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-4100952250938246455</id><published>2011-01-19T10:52:00.001+08:00</published><updated>2011-01-19T10:52:33.698+08:00</updated><title type='text'>[Speech] Hierarchical structures of neural networks for phoneme recognition</title><content type='html'>&lt;div class='posterous_autopost'&gt;Four Neural Network based phoneme recognition systems are investigated:&lt;div&gt;a) the TRAPs system (Fig. 1a) - separate networks for processing of speech in frequency bands;&lt;/div&gt;&lt;div&gt;b) the split temporal context (STC) system (Fig. 1b) - separate networks for processing of blocks of spectral vectors;&lt;/div&gt; &lt;div&gt;c) combination of both (Fig. 1c) - split in both frequency and time.&lt;/div&gt;&lt;div&gt;d) Tandem of two networks, the frond-end network is trained in classical ways and the back-end is trained on the combination of the front-end&amp;#39;s posteriors and original features. &lt;/div&gt; &lt;p /&gt;&lt;div&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/6XGXCkBLDOXrEsQEe3jWqRMsbKpkGOilSHDKwb32IlOU1yPpVrjw11KwqluW/0Screen_shot_2011-01-19_at_AM_1.png'&gt;&lt;img src="http://posterous.com/getfile/files.posterous.com/troylee/ccEh4dfUKOSsw8PorlfoTWImoEMssdIZPvtJojUZynepJVnHY33QURdvwwWD/0Screen_shot_2011-01-19_at_AM_1.png.scaled.500.jpg" width="500" height="214"/&gt;&lt;/a&gt; &lt;br /&gt;&lt;/div&gt;&lt;p /&gt;&lt;div&gt;The assumptions for those systems are:&lt;/div&gt; &lt;div&gt;a) Independent processing of speech in critical bands;&lt;/div&gt;&lt;div&gt;b) Independent processing of parts of phonemes;&lt;/div&gt;&lt;div&gt;c) both a) and b).&lt;/div&gt;&lt;p /&gt;&lt;div&gt;Phoneme strings are basic representation for automatic language recognition and it is proved that language recognition results are highly correlated with phoneme recognition results. Phoneme posteriors are useful representation for acoustic keyword search, they contain enough information to distinguish among all words and they are small enough to store compared for example to the size of posteriors from context dependent Gaussian Mixture Models.&lt;/div&gt; &lt;p /&gt;&lt;div&gt;Two ways to provide additional information for NN training:&lt;/div&gt;&lt;div&gt;i) windowing, multiple frames context window, hamming window to emphasis the central frame;&lt;/div&gt;&lt;div&gt;ii) output representation: some improvements have been observed when a net was trained for multiple tasks in the same time.&lt;/div&gt; &lt;p /&gt;&lt;div&gt;A special Phoneme set mapping adopted in this paper is they merged closures with burst instead of with silence (bcl b -&amp;gt; b not bcl b -&amp;gt; pau b). It is believed that this mapping is more appropriate for features which use a longer temporal context.&lt;/div&gt; &lt;p /&gt;&lt;div&gt;The number of neurons in hidden layer of neural networks was increased until the saturation of phoneme error rate (PER) was observed. The obtained number of hidden layer neurons was approximately 500. &lt;/div&gt; &lt;p /&gt;&lt;div&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/9Muyook6VxahRB1sKFG0nXcnnrMP8XzWJCrzrZ4vnTUpbGeR7l69ZlEuoBMP/Screen_shot_2011-01-19_at_AM_1.png'&gt;&lt;img src="http://posterous.com/getfile/files.posterous.com/troylee/xTKloloMpX18E5PhIdk1Tukk29ZfYWxCzdQMo3tmyOYDiCPN631g9Onsh7oe/Screen_shot_2011-01-19_at_AM_1.png.scaled.500.jpg" width="500" height="189"/&gt;&lt;/a&gt; &lt;br /&gt;&lt;/div&gt;&lt;p /&gt;&lt;div&gt;Table 1 shows the superiority of long Mel-bank energies but also great improvement coming from three state model. ( Block of 31 vectors of mel-bank energies (MBE) = 310 ms, Temporal trajectories in bands were weighted by Hamming window and down-sampled by DCT to 11 coefficients. )&lt;/div&gt; &lt;p /&gt;&lt;div&gt;The final best PER reported in this paper is using the 5-block STC system with bigram LM as shown in following table:&lt;/div&gt;&lt;div&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/QOG7FBx3Y0ItY5PMHBjcAEDkco5OBfZExAKurB0LXN8w0MJAUnmWW3A8undQ/1Screen_shot_2011-01-19_at_AM_1.png'&gt;&lt;img src="http://posterous.com/getfile/files.posterous.com/troylee/ia5vLqQgYZXqyqoe5EWhI74q8vRaVRMtiZcmdk8ZQmELZhtBjsYJkl0eAIag/1Screen_shot_2011-01-19_at_AM_1.png.scaled.500.jpg" width="500" height="245"/&gt;&lt;/a&gt; &lt;br /&gt; &lt;/div&gt;&lt;p /&gt; &lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;       &lt;div style='padding: 5px 5px 10px 5px; margin-top: 5px; border: 1px solid #ddd; background-color: #fff;line-height: 16px;'&gt;       &lt;div style="float: left; margin-right: 5px; overflow: visible;"&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/85C2ENQ4LlwI9PABQtZdpBiuxY8Piu94ni4RWvAnHy9HSDzQguGJPAfQYgW7/ICASSP2006_Schwarz_PhnRec.pdf' style='color: #bc7134;'&gt;&lt;img src='http://posterous.com/images/filetypes/pdf.png' style='border: none;'/&gt;&lt;/a&gt;&lt;/div&gt;       &lt;div style="font-size: 10px; color: #424037;line-height: 16px;"&gt;Download now or &lt;a href='http://troylee.posterous.com/speech-hierarchical-structures-of-neural-netw' style='color: #bc7134;'&gt;preview on posterous&lt;/a&gt;&lt;/div&gt;       &lt;b&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/85C2ENQ4LlwI9PABQtZdpBiuxY8Piu94ni4RWvAnHy9HSDzQguGJPAfQYgW7/ICASSP2006_Schwarz_PhnRec.pdf' style='color: #bc7134;'&gt;ICASSP2006_Schwarz_PhnRec.pdf&lt;/a&gt;&lt;/b&gt; &lt;span style="font-size: 10px; color: #424037;"&gt;(75 KB)&lt;/span&gt;       &lt;br style="clear: both;"/&gt;&lt;/div&gt;      &lt;/p&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/speech-hierarchical-structures-of-neural-netw"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-4100952250938246455?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/4100952250938246455/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/01/speech-hierarchical-structures-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/4100952250938246455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/4100952250938246455'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/01/speech-hierarchical-structures-of.html' title='[Speech] Hierarchical structures of neural networks for phoneme recognition'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-8279226650795282704</id><published>2011-01-17T20:37:00.001+08:00</published><updated>2011-01-17T20:37:07.748+08:00</updated><title type='text'>[Machine Learning] Machine Learning Summer School 2008 - Kioloa</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;a href="http://videolectures.net/mlss08au_kioloa/"&gt;http://videolectures.net/mlss08au_kioloa/&lt;/a&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/machine-learning-machine-learning-summer-scho"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-8279226650795282704?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/8279226650795282704/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/01/machine-learning-machine-learning.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/8279226650795282704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/8279226650795282704'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/01/machine-learning-machine-learning.html' title='[Machine Learning] Machine Learning Summer School 2008 - Kioloa'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-3518475410821475817</id><published>2011-01-17T20:27:00.000+08:00</published><updated>2011-01-17T20:27:41.570+08:00</updated><title type='text'>Monte Carlo Simulation for Statistical Inference, Model Selection and Decision Making</title><content type='html'>&lt;a href="http://videolectures.net/mlss08au_freitas_asm/"&gt;Monte Carlo Simulation for Statistical Inference, Model Selection and Decision Making&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-3518475410821475817?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://videolectures.net/mlss08au_freitas_asm/' title='Monte Carlo Simulation for Statistical Inference, Model Selection and Decision Making'/><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/3518475410821475817/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/01/monte-carlo-simulation-for-statistical_17.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/3518475410821475817'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/3518475410821475817'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/01/monte-carlo-simulation-for-statistical_17.html' title='Monte Carlo Simulation for Statistical Inference, Model Selection and Decision Making'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-7329391109865865073</id><published>2011-01-17T20:25:00.001+08:00</published><updated>2011-01-17T20:25:37.540+08:00</updated><title type='text'>Monte Carlo Simulation for Statistical Inference, Model Selection and Decision Making</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;div class="posterous_bookmarklet_entry"&gt; &lt;blockquote&gt;&lt;div&gt;  &lt;h3&gt;See Also:&lt;/h3&gt;    	  	    	  	    	  	  &lt;p&gt;&lt;img src="http://media.videolectures.net/icons/icons_win_sm.gif" alt="Launch Windows Media Player" /&gt;&lt;a rel="nofollow"&gt;Launch in a standalone WM Player&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img src="http://media.videolectures.net/icons/icons_win_sm.gif" alt="WMedia Player" /&gt;&lt;a href="http://videolectures.net/mlss08au_freitas_asm#" rel="nofollow"&gt;Switch to Windows Media Player&lt;/a&gt;&lt;/p&gt;  	  	    	  	  &lt;p&gt;&lt;img src="http://media.videolectures.net/icons/powerpoint.png" alt="Download slides icon" /&gt;  Download slides:   &lt;a href="http://videolectures.net/mlss08au_freitas_asm#" rel="nofollow"&gt;mlss08au_freitas_asm.pdf&lt;/a&gt;&amp;nbsp;&lt;small&gt;(14.4 MB)&lt;/small&gt;&lt;/p&gt;  	  	    	  	    	                                                        &lt;p&gt;  &lt;img src="http://media.videolectures.net/icons/help.png" alt="Help icon" /&gt;  &lt;a href="http://videolectures.net/mlss08au_freitas_asm#"&gt;Streaming Video Help&lt;/a&gt;  	  &lt;/p&gt;  &lt;p&gt;  	  &lt;img src="http://media.videolectures.net/icons/link.png" alt="WebLink icon" /&gt;  &lt;a href="http://port25.technet.com/pages/windows-media-player-firefox-plugin-download.aspx" rel="nofollow"&gt;Windows Media Player Firefox Plugin - Download&lt;/a&gt;  &lt;/p&gt;  &lt;/div&gt;&lt;/blockquote&gt;    &lt;div class="posterous_quote_citation"&gt;via &lt;a href="http://videolectures.net/mlss08au_freitas_asm/"&gt;videolectures.net&lt;/a&gt;&lt;/div&gt; &lt;p&gt;&lt;/p&gt;&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/monte-carlo-simulation-for-statistical-infere"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-7329391109865865073?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/7329391109865865073/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/01/monte-carlo-simulation-for-statistical.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/7329391109865865073'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/7329391109865865073'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/01/monte-carlo-simulation-for-statistical.html' title='Monte Carlo Simulation for Statistical Inference, Model Selection and Decision Making'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-2329732672405826404</id><published>2011-01-17T17:20:00.001+08:00</published><updated>2011-01-17T17:20:01.157+08:00</updated><title type='text'>[Tool] TexPoint - A latex plugin for Microsoft Office</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;a href="http://texpoint.necula.org/index.html"&gt;http://texpoint.necula.org/index.html&lt;/a&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/tool-texpoint-a-latex-plugin-for-microsoft-of"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-2329732672405826404?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/2329732672405826404/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/01/tool-texpoint-latex-plugin-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/2329732672405826404'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/2329732672405826404'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/01/tool-texpoint-latex-plugin-for.html' title='[Tool] TexPoint - A latex plugin for Microsoft Office'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-5542643769305959628</id><published>2011-01-17T16:52:00.001+08:00</published><updated>2011-01-17T16:52:27.805+08:00</updated><title type='text'>[Speech] Mixture Density Network (Technical Report)</title><content type='html'>&lt;div class='posterous_autopost'&gt;       &lt;div style='padding: 5px 5px 10px 5px; margin-top: 5px; border: 1px solid #ddd; background-color: #fff;line-height: 16px;'&gt;       &lt;div style="float: left; margin-right: 5px; overflow: visible;"&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/gu3vcEHt1CiQ6NaLkPIOelt6bF1INjmBBIWri8D3GYq5nLV4GLGuGGh9rdPR/Mixture_Density_Network.pdf' style='color: #bc7134;'&gt;&lt;img src='http://posterous.com/images/filetypes/pdf.png' style='border: none;'/&gt;&lt;/a&gt;&lt;/div&gt;       &lt;div style="font-size: 10px; color: #424037;line-height: 16px;"&gt;Download now or &lt;a href='http://troylee.posterous.com/speech-mixture-density-network-technical-repo' style='color: #bc7134;'&gt;preview on posterous&lt;/a&gt;&lt;/div&gt;       &lt;b&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/gu3vcEHt1CiQ6NaLkPIOelt6bF1INjmBBIWri8D3GYq5nLV4GLGuGGh9rdPR/Mixture_Density_Network.pdf' style='color: #bc7134;'&gt;Mixture Density Network.pdf&lt;/a&gt;&lt;/b&gt; &lt;span style="font-size: 10px; color: #424037;"&gt;(428 KB)&lt;/span&gt;       &lt;br style="clear: both;"/&gt;&lt;/div&gt;       &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/speech-mixture-density-network-technical-repo"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-5542643769305959628?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/5542643769305959628/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/01/speech-mixture-density-network.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/5542643769305959628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/5542643769305959628'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/01/speech-mixture-density-network.html' title='[Speech] Mixture Density Network (Technical Report)'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-7433285122101082374</id><published>2011-01-17T16:49:00.001+08:00</published><updated>2011-01-17T16:49:09.642+08:00</updated><title type='text'>[Speech] A trajectory density mixture network for acoustic articulatory inversion mapping</title><content type='html'>&lt;div class='posterous_autopost'&gt;       &lt;div style='padding: 5px 5px 10px 5px; margin-top: 5px; border: 1px solid #ddd; background-color: #fff;line-height: 16px;'&gt;       &lt;div style="float: left; margin-right: 5px; overflow: visible;"&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/rcrVHHdVU5y3UhFQCbgAAdqfinfrasiWR9eVfFQnIa44qPRQCThABTP8VzRz/A_trajectory_mixture_density_n.pdf' style='color: #bc7134;'&gt;&lt;img src='http://posterous.com/images/filetypes/pdf.png' style='border: none;'/&gt;&lt;/a&gt;&lt;/div&gt;       &lt;div style="font-size: 10px; color: #424037;line-height: 16px;"&gt;Download now or &lt;a href='http://troylee.posterous.com/speech-a-trajectory-density-mixture-network-f' style='color: #bc7134;'&gt;preview on posterous&lt;/a&gt;&lt;/div&gt;       &lt;b&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/rcrVHHdVU5y3UhFQCbgAAdqfinfrasiWR9eVfFQnIa44qPRQCThABTP8VzRz/A_trajectory_mixture_density_n.pdf' style='color: #bc7134;'&gt;A trajectory mixture density network for acoustic articulatory inversion mapping.pdf&lt;/a&gt;&lt;/b&gt; &lt;span style="font-size: 10px; color: #424037;"&gt;(113 KB)&lt;/span&gt;       &lt;br style="clear: both;"/&gt;&lt;/div&gt;      &lt;p&gt;Mixture Density Network &lt;/p&gt;&lt;p /&gt;&lt;div&gt;PRML Chapter 5.&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.cedar.buffalo.edu/~srihari/CSE574/Chap5/Chap5.6-MixDensityNetworks.pdf"&gt;http://www.cedar.buffalo.edu/~srihari/CSE574/Chap5/Chap5.6-MixDensityNetworks.pdf&lt;/a&gt;&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/speech-a-trajectory-density-mixture-network-f"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-7433285122101082374?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/7433285122101082374/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/01/speech-trajectory-density-mixture.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/7433285122101082374'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/7433285122101082374'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/01/speech-trajectory-density-mixture.html' title='[Speech] A trajectory density mixture network for acoustic articulatory inversion mapping'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-8585942680526514735</id><published>2011-01-13T21:36:00.000+08:00</published><updated>2011-01-13T21:36:27.477+08:00</updated><title type='text'>Extracting and Composing Robust Features with Denoising Autoencoders</title><content type='html'>&lt;a href="http://videolectures.net/icml08_vincent_ecrf/"&gt;Extracting and Composing Robust Features with Denoising Autoencoders&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-8585942680526514735?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://videolectures.net/icml08_vincent_ecrf/' title='Extracting and Composing Robust Features with Denoising Autoencoders'/><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/8585942680526514735/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/01/extracting-and-composing-robust.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/8585942680526514735'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/8585942680526514735'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/01/extracting-and-composing-robust.html' title='Extracting and Composing Robust Features with Denoising Autoencoders'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-3777253282160331965</id><published>2011-01-07T15:32:00.001+08:00</published><updated>2011-01-07T15:32:34.768+08:00</updated><title type='text'>[DBN] Learning multiple layers of Features from tiny images</title><content type='html'>&lt;div class='posterous_autopost'&gt;       &lt;div style='padding: 5px 5px 10px 5px; margin-top: 5px; border: 1px solid #ddd; background-color: #fff;line-height: 16px;'&gt;       &lt;div style="float: left; margin-right: 5px; overflow: visible;"&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/qRHRvIHSUvHyBoFJIdYchtbvSp4E1k41rzhnGq3v2jIQTolPx9f3uUx05wUa/learning-features-2009-TR.pdf' style='color: #bc7134;'&gt;&lt;img src='http://posterous.com/images/filetypes/pdf.png' style='border: none;'/&gt;&lt;/a&gt;&lt;/div&gt;       &lt;div style="font-size: 10px; color: #424037;line-height: 16px;"&gt;Download now or &lt;a href='http://troylee.posterous.com/dbn-learning-multiple-layers-of-features-from' style='color: #bc7134;'&gt;preview on posterous&lt;/a&gt;&lt;/div&gt;       &lt;b&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/qRHRvIHSUvHyBoFJIdYchtbvSp4E1k41rzhnGq3v2jIQTolPx9f3uUx05wUa/learning-features-2009-TR.pdf' style='color: #bc7134;'&gt;learning-features-2009-TR.pdf&lt;/a&gt;&lt;/b&gt; &lt;span style="font-size: 10px; color: #424037;"&gt;(4107 KB)&lt;/span&gt;       &lt;br style="clear: both;"/&gt;&lt;/div&gt;      &lt;p&gt;In this paper, there are more detailed equation derivations for RBM, especially the Gaussian-Bernoulli RBM.&lt;/p&gt;&lt;p /&gt;&lt;div&gt; &lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/dbn-learning-multiple-layers-of-features-from"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-3777253282160331965?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/3777253282160331965/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/01/dbn-learning-multiple-layers-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/3777253282160331965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/3777253282160331965'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/01/dbn-learning-multiple-layers-of.html' title='[DBN] Learning multiple layers of Features from tiny images'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-2173184199085332617</id><published>2011-01-05T20:27:00.001+08:00</published><updated>2011-01-05T20:27:29.408+08:00</updated><title type='text'>Matlab v7.3 mat file and python</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;span style="font-family: Verdana, sans-serif; font-size: 12px; line-height: 16px;"&gt;&lt;h1 style="margin-left: 22px; margin-right: 24px; margin-top: 0.6em; font-family: Trebuchet MS, sans-serif; font-weight: normal; font-size: 26px; margin-bottom: 0.6em; color: rgb(17, 51, 102); line-height: 1.1em;"&gt; &lt;span style="color: rgb(0, 0, 0); font-family: Verdana, sans-serif; line-height: 16px; font-size: 12px;"&gt;From: &lt;a href="http://mloss.org/community/blog/2009/nov/19/matlabtm-73-file-format-is-actually-hdf5-and-can-b/"&gt;http://mloss.org/community/blog/2009/nov/19/matlabtm-73-file-format-is-actually-hdf5-and-can-b/&lt;/a&gt;&lt;/span&gt;&lt;/h1&gt; &lt;h1 style="margin-left: 22px; margin-right: 24px; margin-top: 0.6em; font-family: Trebuchet MS, sans-serif; font-weight: normal; font-size: 26px; margin-bottom: 0.6em; color: rgb(17, 51, 102); line-height: 1.1em;"&gt; &lt;span style="color: rgb(0, 0, 0); font-family: Verdana, sans-serif; line-height: 16px; font-size: 12px;"&gt;It looks like that matlab version 7.3 and later are capable of writing out objects in the so called matlab 7.3 file format. While at first glance it looks like another proprietary format - it seems to be in fact the Hierarchical Data Format version 5 or in short &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Verdana, sans-serif; line-height: 16px; font-size: 12px;"&gt;&lt;a href="http://www.hdfgroup.org/HDF5/" style="text-decoration: underline; color: rgb(16, 49, 99); margin-left: 0px; margin-right: 0px;"&gt;hdf5&lt;/a&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Verdana, sans-serif; line-height: 16px; font-size: 12px;"&gt;.&lt;/span&gt;&lt;/h1&gt; &lt;p style="margin-left: 22px; margin-right: 24px;"&gt;So you can do all sorts of neat things:&lt;/p&gt;&lt;ol style="padding-left: 30px; margin-left: 22px; margin-right: 24px;"&gt;&lt;li style="margin-left: 0px; margin-right: 0px;"&gt;&lt;p style="margin-left: 0px; margin-right: 0px;"&gt; Lets create some matrix in matlab first and save it:&lt;/p&gt;&lt;div class="CodeRay"&gt; &lt;div class="code"&gt;&lt;pre&gt;&amp;gt;&amp;gt; x=[[1,2,3];[4,5,6];[7,8,9]] x = 1 2 3 4 5 6 7 8 9 &amp;gt;&amp;gt; save -v7.3 x.mat x&lt;/pre&gt;&lt;/div&gt; &lt;/div&gt; &lt;/li&gt;&lt;li style="margin-left: 0px; margin-right: 0px;"&gt;&lt;p style="margin-left: 0px; margin-right: 0px;"&gt;Lets investigate that file from the shell:&lt;/p&gt;&lt;div class="CodeRay"&gt; &lt;div class="code"&gt;&lt;pre&gt;$ h5ls x.mat x Dataset {3, 3} $ h5dump x.mat HDF5 &amp;quot;x.mat&amp;quot; { GROUP &amp;quot;/&amp;quot; { DATASET &amp;quot;x&amp;quot; { DATATYPE H5T_IEEE_F64LE DATASPACE SIMPLE { ( 3, 3 ) / ( 3, 3 ) } DATA { (0,0): 1, 4, 7, (1,0): 2, 5, 8, (2,0): 3, 6, 9 } ATTRIBUTE &amp;quot;MATLAB_class&amp;quot; { DATATYPE H5T_STRING { STRSIZE 6; STRPAD H5T_STR_NULLTERM; CSET H5T_CSET_ASCII; CTYPE H5T_C_S1; } DATASPACE SCALAR DATA { (0): &amp;quot;double&amp;quot; } } } } }&lt;/pre&gt;&lt;/div&gt; &lt;/div&gt; &lt;/li&gt;&lt;li style="margin-left: 0px; margin-right: 0px;"&gt;&lt;p style="margin-left: 0px; margin-right: 0px;"&gt;And load it from python:&lt;/p&gt;&lt;div class="CodeRay"&gt; &lt;div class="code"&gt;&lt;pre&gt;&amp;gt;&amp;gt;&amp;gt; import h5py &amp;gt;&amp;gt;&amp;gt; import numpy &amp;gt;&amp;gt;&amp;gt; f = h5py.File('x.mat') &amp;gt;&amp;gt;&amp;gt; x=f[&amp;quot;x&amp;quot;] &amp;gt;&amp;gt;&amp;gt; x &amp;lt;HDF5 dataset &amp;quot;x&amp;quot;: shape (3, 3), type &amp;quot;&amp;lt;f8&amp;quot;&amp;gt; &amp;gt;&amp;gt;&amp;gt; numpy.array(x) array([[ 1., 4., 7.], [ 2., 5., 8.], [ 3., 6., 9.]])&lt;/pre&gt;&lt;/div&gt; &lt;/div&gt; &lt;/li&gt;&lt;/ol&gt;&lt;p style="margin-left: 22px; margin-right: 24px;"&gt;So it seems actually to be a good idea to use matlab&amp;#39;s 7.3 format for interoperability.&lt;/p&gt;&lt;/span&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/matlab-v73-mat-file-and-python"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-2173184199085332617?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/2173184199085332617/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2011/01/matlab-v73-mat-file-and-python.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/2173184199085332617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/2173184199085332617'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2011/01/matlab-v73-mat-file-and-python.html' title='Matlab v7.3 mat file and python'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-525285701819941417</id><published>2010-12-28T16:34:00.001+08:00</published><updated>2010-12-28T16:34:59.128+08:00</updated><title type='text'>[Deep] Deep learning tutorial on MLSS 2010</title><content type='html'>&lt;div class='posterous_autopost'&gt;       &lt;div style='padding: 5px 5px 10px 5px; margin-top: 5px; border: 1px solid #ddd; background-color: #fff;line-height: 16px;'&gt;       &lt;div style="float: left; margin-right: 5px; overflow: visible;"&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/RMIZN2JzQBms7fowvadmSd9e1lnL5M8zgy6qprKUT5NTQyGDOdIqDM84cUra/Frean1.pdf' style='color: #bc7134;'&gt;&lt;img src='http://posterous.com/images/filetypes/pdf.png' style='border: none;'/&gt;&lt;/a&gt;&lt;/div&gt;       &lt;div style="font-size: 10px; color: #424037;line-height: 16px;"&gt;Download now or &lt;a href='http://troylee.posterous.com/deep-deep-learning-tutorial-on-mlss-2010' style='color: #bc7134;'&gt;preview on posterous&lt;/a&gt;&lt;/div&gt;       &lt;b&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/RMIZN2JzQBms7fowvadmSd9e1lnL5M8zgy6qprKUT5NTQyGDOdIqDM84cUra/Frean1.pdf' style='color: #bc7134;'&gt;Frean1.pdf&lt;/a&gt;&lt;/b&gt; &lt;span style="font-size: 10px; color: #424037;"&gt;(11467 KB)&lt;/span&gt;       &lt;br style="clear: both;"/&gt;&lt;/div&gt;      &lt;p&gt;More about MLSS 2010 could be found &lt;a href="http://mlss10.rsise.anu.edu.au/proceedings"&gt;http://mlss10.rsise.anu.edu.au/proceedings&lt;/a&gt;&lt;/p&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/deep-deep-learning-tutorial-on-mlss-2010"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-525285701819941417?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/525285701819941417/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2010/12/deep-deep-learning-tutorial-on-mlss.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/525285701819941417'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/525285701819941417'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2010/12/deep-deep-learning-tutorial-on-mlss.html' title='[Deep] Deep learning tutorial on MLSS 2010'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-4612208918259668718</id><published>2010-12-23T12:05:00.001+08:00</published><updated>2010-12-23T12:05:37.055+08:00</updated><title type='text'>[ASR] Still Tandem systems</title><content type='html'>&lt;div class='posterous_autopost'&gt;       &lt;div style='padding: 5px 5px 10px 5px; margin-top: 5px; border: 1px solid #ddd; background-color: #fff;line-height: 16px;'&gt;       &lt;div style="float: left; margin-right: 5px; overflow: visible;"&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/A80Gjfph6TJwj0DmAVKFVnEbHEYHJwKolIrfaAca8dUcmQeQjj3BQhWbxwuF/combining_phonetic_attributes_.pdf' style='color: #bc7134;'&gt;&lt;img src='http://posterous.com/images/filetypes/pdf.png' style='border: none;'/&gt;&lt;/a&gt;&lt;/div&gt;       &lt;div style="font-size: 10px; color: #424037;line-height: 16px;"&gt;Download now or &lt;a href='http://troylee.posterous.com/asr-still-tandem-systems' style='color: #bc7134;'&gt;preview on posterous&lt;/a&gt;&lt;/div&gt;       &lt;b&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/A80Gjfph6TJwj0DmAVKFVnEbHEYHJwKolIrfaAca8dUcmQeQjj3BQhWbxwuF/combining_phonetic_attributes_.pdf' style='color: #bc7134;'&gt;combining phonetic attributes using conditional random field.pdf&lt;/a&gt;&lt;/b&gt; &lt;span style="font-size: 10px; color: #424037;"&gt;(112 KB)&lt;/span&gt;       &lt;br style="clear: both;"/&gt;&lt;/div&gt;      &lt;p&gt;The attached paper models phonetic attributes with CRF models. However, the sentence interests me most is the following one:&lt;/p&gt;&lt;p /&gt;&lt;div&gt;As described in [1] we used &lt;b&gt;the linear output of the MLPs with a KL transform applied to them to decorrelate the features&lt;/b&gt;, as this gave the best results for the HMM system.&lt;/div&gt; &lt;p /&gt;&lt;div&gt;[1] H. Hermansky, D. Ellis, and S. Sharma, &amp;quot;Tandem connectionist feature stream extraction for conventional HMM systems&amp;quot;, in Proc. of the ICASSP 2000.&lt;/div&gt;&lt;p /&gt;&lt;div&gt;Maybe sometime we could also try to refine the posterior features from NN for HMM systems. &lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/asr-still-tandem-systems"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-4612208918259668718?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/4612208918259668718/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2010/12/asr-still-tandem-systems.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/4612208918259668718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/4612208918259668718'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2010/12/asr-still-tandem-systems.html' title='[ASR] Still Tandem systems'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-7888535468841234302</id><published>2010-12-20T20:57:00.001+08:00</published><updated>2010-12-20T20:57:58.574+08:00</updated><title type='text'>[Linux] Mac configure type</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;div style="font-family: verdana, geneva, lucida, lucida grande, arial, helvetica, sans-serif; font-size: 13px;"&gt;&lt;span style="font-family: verdana, geneva, lucida, lucida grande, arial, helvetica, sans-serif; font-size: 13px;"&gt;From: &lt;a href="http://macosx.com/forums/unix-x11/29486-guessing-host-type-since-10-2-4-a.html"&gt;http://macosx.com/forums/unix-x11/29486-guessing-host-type-since-10-2-4-a.html&lt;/a&gt;&lt;/span&gt;&lt;/div&gt; &lt;p /&gt;&lt;div&gt;&lt;a href="http://hints.macworld.com/article.php?story=2001041322081284"&gt;http://hints.macworld.com/article.php?story=2001041322081284&lt;/a&gt;&lt;/div&gt; &lt;p /&gt;In many cases the build step involves running a configure script. Occasionally you&amp;#39;ll run a configure script that gives error message stating that the host type cannot be determined. In such a case, you can usually either specify the configure option --host=powerpc-apple-darwin6.4 as I&amp;#39;ve done in the examples below. (Note in this case, we are using darwin6.4. To determine the correct release of darwin, enter the command uname -r.) You can alternatively copy two files into the build directory, that is, into the same directory that contains the script configure. &lt;br /&gt; &lt;div style="margin-right: 20px; margin-bottom: 20px; margin-left: 20px; margin-top: 5px; font-family: verdana, geneva, lucida, lucida grande, arial, helvetica, sans-serif; font-size: 13px;"&gt;&lt;div class="smallfont" style=""&gt; Code:&lt;/div&gt;&lt;div class="CodeRay"&gt; &lt;div class="code"&gt;&lt;pre&gt;cp /usr/share/libtool/config.guess . cp /usr/share/libtool/config.sub .&lt;/pre&gt;&lt;/div&gt; &lt;/div&gt; &lt;/div&gt;Occasionally, the configure option --build=powerpc-apple-darwin6.4 is needed to produce the desired result (again assuming we&amp;#39;re using darwin release 6.4). &lt;p /&gt; In some cases, there are additional steps to be performed. ... &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/linux-mac-configure-type"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-7888535468841234302?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/7888535468841234302/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2010/12/linux-mac-configure-type.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/7888535468841234302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/7888535468841234302'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2010/12/linux-mac-configure-type.html' title='[Linux] Mac configure type'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-1030429436817548497</id><published>2010-12-19T23:19:00.001+08:00</published><updated>2010-12-19T23:19:53.015+08:00</updated><title type='text'>[Info] Machine Learning Summer School 2009</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;a href="http://mlg.eng.cam.ac.uk/mlss09/"&gt;http://mlg.eng.cam.ac.uk/mlss09/&lt;/a&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/info-machine-learning-summer-school-2009"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-1030429436817548497?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/1030429436817548497/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2010/12/info-machine-learning-summer-school.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/1030429436817548497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/1030429436817548497'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2010/12/info-machine-learning-summer-school.html' title='[Info] Machine Learning Summer School 2009'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-9195608504285150796</id><published>2010-12-16T17:17:00.001+08:00</published><updated>2010-12-16T17:17:22.784+08:00</updated><title type='text'>[Basic] Whitening</title><content type='html'>&lt;div class='posterous_autopost'&gt;       &lt;div style='padding: 5px 5px 10px 5px; margin-top: 5px; border: 1px solid #ddd; background-color: #fff;line-height: 16px;'&gt;       &lt;div style="float: left; margin-right: 5px; overflow: visible;"&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/B8HPYK3K3zrhDG2u5W6DbIOe3YeqitEmkWCx4LqWLKqMavvHjUH8e6VS5ypH/whiten.pdf' style='color: #bc7134;'&gt;&lt;img src='http://posterous.com/images/filetypes/pdf.png' style='border: none;'/&gt;&lt;/a&gt;&lt;/div&gt;       &lt;div style="font-size: 10px; color: #424037;line-height: 16px;"&gt;Download now or &lt;a href='http://troylee.posterous.com/basic-whitening' style='color: #bc7134;'&gt;preview on posterous&lt;/a&gt;&lt;/div&gt;       &lt;b&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/B8HPYK3K3zrhDG2u5W6DbIOe3YeqitEmkWCx4LqWLKqMavvHjUH8e6VS5ypH/whiten.pdf' style='color: #bc7134;'&gt;whiten.pdf&lt;/a&gt;&lt;/b&gt; &lt;span style="font-size: 10px; color: #424037;"&gt;(37 KB)&lt;/span&gt;       &lt;br style="clear: both;"/&gt;&lt;/div&gt;      &lt;p&gt;&lt;/p&gt;&lt;p style="font-family: Times New Roman; font-size: medium;"&gt;From: &lt;span style="font-family: arial; font-size: small;"&gt;&lt;a href="http://cis.legacy.ics.tkk.fi/aapo/papers/IJCNN99_tutorialweb/node26.html"&gt;http://cis.legacy.ics.tkk.fi/aapo/papers/IJCNN99_tutorialweb/node26.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="font-family: Times New Roman; font-size: medium;"&gt;Another useful preprocessing strategy in ICA is to first whiten the observed variables. This means that before the application of the ICA algorithm (and after centering), we transform the observed vector &lt;img src="http://cis.legacy.ics.tkk.fi/aapo/papers/IJCNN99_tutorialweb/img8.gif" border="0" align="BOTTOM" height="13" alt="${\bf x}$" width="14" /&gt;&lt;em&gt;linearly&lt;/em&gt; so that we obtain a new vector &lt;img src="http://cis.legacy.ics.tkk.fi/aapo/papers/IJCNN99_tutorialweb/img99.gif" border="0" align="BOTTOM" height="14" alt="$\tilde{{\bf x}}$" width="14" /&gt; which is white, i.e. its components are uncorrelated and their variances equal unity. In other words, the covariance matrix of &lt;img src="http://cis.legacy.ics.tkk.fi/aapo/papers/IJCNN99_tutorialweb/img99.gif" border="0" align="BOTTOM" height="14" alt="$\tilde{{\bf x}}$" width="14" /&gt; equals the identity matrix: &lt;br /&gt; &lt;/p&gt;&lt;p style="font-family: Times New Roman; font-size: medium;"&gt;&lt;/p&gt;&lt;div align="CENTER" style="font-family: Times New Roman; font-size: medium;"&gt;&lt;table align="CENTER"&gt;&lt;tr valign="MIDDLE"&gt; &lt;td align="CENTER"&gt;&lt;img src="http://cis.legacy.ics.tkk.fi/aapo/papers/IJCNN99_tutorialweb/img100.gif" height="28" alt="\begin{displaymath}E\{\tilde{{\bf x}}\tilde{{\bf x}}^T\}={\bf I}. \end{displaymath}" width="90" /&gt;&lt;/td&gt;&lt;td align="RIGHT" width="10"&gt;(30)&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;p style="font-family: Times New Roman; font-size: medium;"&gt; &lt;/p&gt;&lt;p style="font-family: Times New Roman; font-size: medium;"&gt;The whitening transformation is always possible. One popular method for whitening is to use the eigen-value decomposition (EVD) of the covariance matrix&lt;img src="http://cis.legacy.ics.tkk.fi/aapo/papers/IJCNN99_tutorialweb/img101.gif" border="0" align="MIDDLE" height="34" alt="$E\{{\bf x}{\bf x}^T\}={\bf E}{\bf D}{\bf E}^T$" width="132" /&gt;, where &lt;img src="http://cis.legacy.ics.tkk.fi/aapo/papers/IJCNN99_tutorialweb/img102.gif" border="0" align="BOTTOM" height="14" alt="${\bf E}$" width="16" /&gt; is the orthogonal matrix of eigenvectors of &lt;img src="http://cis.legacy.ics.tkk.fi/aapo/papers/IJCNN99_tutorialweb/img103.gif" border="0" align="MIDDLE" height="34" alt="$E\{{\bf x}{\bf x}^T\}$" width="62" /&gt; and &lt;img src="http://cis.legacy.ics.tkk.fi/aapo/papers/IJCNN99_tutorialweb/img104.gif" border="0" align="BOTTOM" height="14" alt="${\bf D}$" width="18" /&gt; is the diagonal matrix of its eigenvalues, &lt;img src="http://cis.legacy.ics.tkk.fi/aapo/papers/IJCNN99_tutorialweb/img105.gif" border="0" align="MIDDLE" height="31" alt="${\bf D}= \mbox{diag}(d_1,...,d_n)$" width="141" /&gt;. Note that &lt;img src="http://cis.legacy.ics.tkk.fi/aapo/papers/IJCNN99_tutorialweb/img103.gif" border="0" align="MIDDLE" height="34" alt="$E\{{\bf x}{\bf x}^T\}$" width="62" /&gt;can be estimated in a standard way from the available sample &lt;img src="http://cis.legacy.ics.tkk.fi/aapo/papers/IJCNN99_tutorialweb/img61.gif" border="0" align="MIDDLE" height="31" alt="${\bf x}(1), ... , {\bf x}(T)$" width="95" /&gt;. Whitening can now be done by &lt;br /&gt;&lt;/p&gt;&lt;p style="font-family: Times New Roman; font-size: medium;"&gt;&lt;/p&gt;&lt;div align="CENTER" style="font-family: Times New Roman; font-size: medium;"&gt;&lt;table align="CENTER"&gt; &lt;tr valign="MIDDLE"&gt;&lt;td align="CENTER"&gt;&lt;a name="tildex"&gt; &lt;/a&gt;&lt;img src="http://cis.legacy.ics.tkk.fi/aapo/papers/IJCNN99_tutorialweb/img106.gif" height="24" alt="\begin{displaymath} \tilde{{\bf x}}={\bf E}{\bf D}^{-1/2}{\bf E}^T {\bf x} \end{displaymath}" width="118" /&gt;&lt;/td&gt;&lt;td align="RIGHT" width="10"&gt;(31)&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;p style="font-family: Times New Roman; font-size: medium;"&gt; &lt;/p&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt;where the matrix&lt;/span&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt; &lt;/span&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt;&lt;img src="http://cis.legacy.ics.tkk.fi/aapo/papers/IJCNN99_tutorialweb/img107.gif" border="0" align="BOTTOM" height="17" alt="${\bf D}^{-1/2}$" width="48" /&gt;&lt;/span&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt;is computed by a simple component-wise operation as&lt;/span&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt; &lt;/span&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt;&lt;img src="http://cis.legacy.ics.tkk.fi/aapo/papers/IJCNN99_tutorialweb/img108.gif" border="0" align="MIDDLE" height="41" alt="${\bf D}^{-1/2}=\mbox{diag}(d_1^{-1/2},...,d_n^{-1/2})$" width="215" /&gt;&lt;/span&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt;. It is easy to check that now&lt;/span&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt; &lt;/span&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt;&lt;img src="http://cis.legacy.ics.tkk.fi/aapo/papers/IJCNN99_tutorialweb/img109.gif" border="0" align="MIDDLE" height="34" alt="$E\{\tilde{{\bf x}}\tilde{{\bf x}}^T\}={\bf I}$" width="90" /&gt;&lt;/span&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt;.&lt;/span&gt;&lt;p style="font-family: Times New Roman; font-size: medium;"&gt; Whitening transforms the mixing matrix into a new one, &lt;img src="http://cis.legacy.ics.tkk.fi/aapo/papers/IJCNN99_tutorialweb/img110.gif" border="0" align="BOTTOM" height="19" alt="$\tilde{{\bf A}}$" width="18" /&gt;. We have from (&lt;a href="http://cis.legacy.ics.tkk.fi/aapo/papers/IJCNN99_tutorialweb/node3.html#xAs"&gt;4&lt;/a&gt;) and (&lt;a href="http://cis.legacy.ics.tkk.fi/aapo/papers/IJCNN99_tutorialweb/node26.html#tildex"&gt;34&lt;/a&gt;): &lt;br /&gt; &lt;/p&gt;&lt;p style="font-family: Times New Roman; font-size: medium;"&gt;&lt;/p&gt;&lt;div align="CENTER" style="font-family: Times New Roman; font-size: medium;"&gt;&lt;table align="CENTER"&gt;&lt;tr valign="MIDDLE"&gt; &lt;td align="CENTER"&gt;&lt;img src="http://cis.legacy.ics.tkk.fi/aapo/papers/IJCNN99_tutorialweb/img111.gif" height="24" alt="\begin{displaymath}\tilde{{\bf x}}= {\bf E}{\bf D}^{-1/2}{\bf E}^T {\bf A}{\bf s}=\tilde{{\bf A}}{\bf s} \end{displaymath}" width="172" /&gt;&lt;/td&gt;&lt;td align="RIGHT" width="10"&gt;(32)&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;p style="font-family: Times New Roman; font-size: medium;"&gt; &lt;/p&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt;The utility of whitening resides in the fact that the new mixing matrix&lt;/span&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt; &lt;/span&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt;&lt;img src="http://cis.legacy.ics.tkk.fi/aapo/papers/IJCNN99_tutorialweb/img110.gif" border="0" align="BOTTOM" height="19" alt="$\tilde{{\bf A}}$" width="18" /&gt;&lt;/span&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt; &lt;/span&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt;is orthogonal. This can be seen from&lt;/span&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt; &lt;/span&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt;&lt;br /&gt; &lt;/span&gt;&lt;p style="font-family: Times New Roman; font-size: medium;"&gt;&lt;/p&gt;&lt;div align="CENTER" style="font-family: Times New Roman; font-size: medium;"&gt;&lt;table align="CENTER"&gt;&lt;tr valign="MIDDLE"&gt; &lt;td align="CENTER"&gt;&lt;img src="http://cis.legacy.ics.tkk.fi/aapo/papers/IJCNN99_tutorialweb/img112.gif" height="28" alt="\begin{displaymath}E\{\tilde{{\bf x}}\tilde{{\bf x}}^T\}=\tilde{{\bf A}} E\{{\bf... ...\}\tilde{{\bf A}}^T =\tilde{{\bf A}}\tilde{{\bf A}}^T={\bf I}. \end{displaymath}" width="261" /&gt;&lt;/td&gt;&lt;td align="RIGHT" width="10"&gt;(33)&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;p style="font-family: Times New Roman; font-size: medium;"&gt; &lt;/p&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt;Here we see that whitening reduces the number of parameters to be estimated. Instead of having to estimate the&lt;/span&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt; &lt;/span&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt;&lt;i&gt;n&lt;/i&gt;&lt;/span&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt;&lt;sup&gt;2&lt;/sup&gt;&lt;/span&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt; &lt;/span&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt;parameters that are the elements of the original matrix&lt;/span&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt; &lt;/span&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt;&lt;img src="http://cis.legacy.ics.tkk.fi/aapo/papers/IJCNN99_tutorialweb/img10.gif" border="0" align="BOTTOM" height="14" alt="${\bf A}$" width="18" /&gt;&lt;/span&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt;, we only need to estimate the new, orthogonal mixing matrix&lt;/span&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt; &lt;/span&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt;&lt;img src="http://cis.legacy.ics.tkk.fi/aapo/papers/IJCNN99_tutorialweb/img110.gif" border="0" align="BOTTOM" height="19" alt="$\tilde{{\bf A}}$" width="18" /&gt;&lt;/span&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt;. An orthogonal matrix contains&lt;/span&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt; &lt;/span&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt;&lt;i&gt;n&lt;/i&gt;&lt;/span&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt;(&lt;/span&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt;&lt;i&gt;n&lt;/i&gt;&lt;/span&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt;-1)/2degrees of freedom. For example, in two dimensions, an orthogonal transformation is determined by a single angle parameter. In larger dimensions, an orthogonal matrix contains only about half of the number of parameters of an arbitrary matrix. Thus one can say that whitening solves half of the problem of ICA. Because whitening is a very simple and standard procedure, much simpler than any ICA algorithms, it is a good idea to reduce the complexity of the problem this way.&lt;/span&gt;&lt;p style="font-family: Times New Roman; font-size: medium;"&gt; It may also be quite useful to reduce the dimension of the data at the same time as we do the whitening. Then we look at the eigenvalues &lt;i&gt;d&lt;/i&gt;&lt;sub&gt;&lt;i&gt;j&lt;/i&gt;&lt;/sub&gt; of &lt;img src="http://cis.legacy.ics.tkk.fi/aapo/papers/IJCNN99_tutorialweb/img103.gif" border="0" align="MIDDLE" height="34" alt="$E\{{\bf x}{\bf x}^T\}$" width="62" /&gt; and discard those that are too small, as is often done in the statistical technique of principal component analysis. This has often the effect of reducing noise. Moreover, dimension reduction prevents overlearning, which can sometimes be observed in ICA [&lt;a href="http://cis.legacy.ics.tkk.fi/aapo/papers/IJCNN99_tutorialweb/node39.html#Hyva99ICA_bumps"&gt;26&lt;/a&gt;].&lt;/p&gt; &lt;p style="font-family: Times New Roman; font-size: medium;"&gt;A graphical illustration of the effect of whitening can be seen in Figure &lt;a href="http://cis.legacy.ics.tkk.fi/aapo/papers/IJCNN99_tutorialweb/node26.html#fig:whitened_distr"&gt;10&lt;/a&gt;, in which the data in Figure &lt;a href="http://cis.legacy.ics.tkk.fi/aapo/papers/IJCNN99_tutorialweb/node5.html#fig:x_distr"&gt;6&lt;/a&gt; has been whitened. The square defining the distribution is now clearly a rotated version of the original square in Figure &lt;a href="http://cis.legacy.ics.tkk.fi/aapo/papers/IJCNN99_tutorialweb/node5.html#fig:s_distr"&gt;5&lt;/a&gt;. All that is left is the estimation of a single angle that gives the rotation.&lt;/p&gt; &lt;p style="font-family: Times New Roman; font-size: medium;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;div align="CENTER" style="font-family: Times New Roman; font-size: medium;"&gt;&lt;a name="fig:whitened_distr"&gt; &lt;/a&gt;&lt;a name="745"&gt; &lt;/a&gt;&lt;table&gt; &lt;td&gt;&lt;strong&gt;Figure 10:&lt;/strong&gt; The joint distribution of the whitened mixtures.&lt;/td&gt;&lt;tr&gt;&lt;td&gt;&lt;div align="CENTER"&gt;&lt;img src="http://cis.legacy.ics.tkk.fi/aapo/papers/IJCNN99_tutorialweb/img113.gif" border="0" align="BOTTOM" height="274" alt="\resizebox{.50\textwidth}{!}{ \includegraphics{Vuni}}" width="277" /&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;span style="font-family: Times New Roman; font-size: medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;p style="font-family: Times New Roman; font-size: medium;"&gt; In the rest of this tutorial, we assume that the data has been preprocessed by centering and whitening. For simplicity of notation, we denote the preprocessed data just by &lt;img src="http://cis.legacy.ics.tkk.fi/aapo/papers/IJCNN99_tutorialweb/img8.gif" border="0" align="BOTTOM" height="13" alt="${\bf x}$" width="14" /&gt;, and the transformed mixing matrix by &lt;img src="http://cis.legacy.ics.tkk.fi/aapo/papers/IJCNN99_tutorialweb/img10.gif" border="0" align="BOTTOM" height="14" alt="${\bf A}$" width="18" /&gt;, omitting the tildes.&lt;/p&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/basic-whitening"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-9195608504285150796?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/9195608504285150796/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2010/12/basic-whitening.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/9195608504285150796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/9195608504285150796'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2010/12/basic-whitening.html' title='[Basic] Whitening'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-6653503424116485923</id><published>2010-12-13T11:39:00.001+08:00</published><updated>2010-12-13T11:39:10.025+08:00</updated><title type='text'>[Basic] Cross-Entropy Criterion</title><content type='html'>&lt;div class='posterous_autopost'&gt;       &lt;div style='padding: 5px 5px 10px 5px; margin-top: 5px; border: 1px solid #ddd; background-color: #fff;line-height: 16px;'&gt;       &lt;div style="float: left; margin-right: 5px; overflow: visible;"&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/PB8qxUvCpe7A5fULEfMphAufp2DPSpfOqZzp4DdmBBJV88QbKjlUadImwNc1/Kullback-Leibler_divergence.pdf' style='color: #bc7134;'&gt;&lt;img src='http://posterous.com/images/filetypes/pdf.png' style='border: none;'/&gt;&lt;/a&gt;&lt;/div&gt;       &lt;div style="font-size: 10px; color: #424037;line-height: 16px;"&gt;Download now or &lt;a href='http://troylee.posterous.com/basic-cross-entropy-criterion' style='color: #bc7134;'&gt;preview on posterous&lt;/a&gt;&lt;/div&gt;       &lt;b&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/PB8qxUvCpe7A5fULEfMphAufp2DPSpfOqZzp4DdmBBJV88QbKjlUadImwNc1/Kullback-Leibler_divergence.pdf' style='color: #bc7134;'&gt;Kullback-Leibler divergence.pdf&lt;/a&gt;&lt;/b&gt; &lt;span style="font-size: 10px; color: #424037;"&gt;(281 KB)&lt;/span&gt;       &lt;br style="clear: both;"/&gt;&lt;/div&gt;      &lt;p&gt;Cross-Entropy Criterion is actually the Kullback Leibler Divergence.&lt;/p&gt;&lt;p /&gt;&lt;div&gt;KL divergence is a non-symmetric measure of the difference between two probability distributions P and Q. KL measures the expected number of extra bits required to code samples from P when using a code based on Q, rather than using a code based on P. Thus, P is the true distribution and Q is the estimated distribution. Typically P represent the &amp;quot;true&amp;quot; distribution of data, observations, or a precise calculated theoretical distribution. The measure Q typically represent a theory, model, description, or approximation of P. &lt;/div&gt; &lt;p /&gt;&lt;div&gt;Although it is often intuited as a distance metric, the KL divergence is not a true metric - for example, it&amp;#39;s not symmetric: the KL from P to Q is not necessarily the same as the KL from  Q to P. &lt;/div&gt; &lt;p /&gt;&lt;div&gt;For probability distributions P and Q of a discrete random variable their KL divergence is defined to be:&lt;/div&gt;&lt;div&gt;D_KL(P||Q)=\sum{ P(i) log[ P(i)/Q(i) ] }&lt;/div&gt;&lt;p /&gt;&lt;div&gt;In words, it is the average of the logarithmic difference between the probabilities P and Q, where the average is taken using the probabilities P. The KL divergence is only defined if P and Q both sum to 1 and if Q(i) &amp;gt; 0 for any i such that P(i) &amp;gt; 0. If the quantity 0 log 0 appears in the formula, it is interpreted as zero.&lt;/div&gt; &lt;p /&gt;&lt;div&gt;The attached document is the explanation for KL divergence from wikipedia. &lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/basic-cross-entropy-criterion"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-6653503424116485923?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/6653503424116485923/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2010/12/basic-cross-entropy-criterion.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/6653503424116485923'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/6653503424116485923'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2010/12/basic-cross-entropy-criterion.html' title='[Basic] Cross-Entropy Criterion'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-1703167042997810844</id><published>2010-12-10T14:28:00.001+08:00</published><updated>2010-12-10T14:28:40.242+08:00</updated><title type='text'>Printing in NUS SoC</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;div style="font-family: verdana, sans-serif; line-height: 16px;"&gt;&lt;h1 style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.2em; margin-left: 0px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); font-family: arial, verdana, sans-serif; font-size: 21px; font-weight: normal;"&gt; &lt;br /&gt;&lt;/h1&gt;&lt;div&gt;From: &lt;a href="http://opensource.nus.edu.sg/wiki/index.php/Printing_in_NUS_SoC"&gt;http://opensource.nus.edu.sg/wiki/index.php/Printing_in_NUS_SoC&lt;/a&gt;&lt;/div&gt;&lt;p /&gt;&lt;table class="toc" style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(170, 170, 170); border-right-color: rgb(170, 170, 170); border-bottom-color: rgb(170, 170, 170); border-left-color: rgb(170, 170, 170); background-color: rgb(249, 249, 249); padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; font-size: 12px;"&gt; &lt;tr&gt;&lt;td style="font-family: verdana, sans-serif; font-size: small;"&gt;&lt;div&gt;&lt;h2 style="margin-top: 1em; margin-right: 0px; margin-bottom: 0.2em; margin-left: 0px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); font-family: arial, verdana, sans-serif; font-size: 20px; font-weight: normal;"&gt; Contents&lt;/h2&gt;&lt;span class="toctoggle" style="font-size: 12px;"&gt;[&lt;a href="" class="internal" style="color: rgb(0, 51, 153);"&gt;hide&lt;/a&gt;]&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;ul&gt;&lt;li class="toclevel-1" style="margin-top: 0.2em; margin-bottom: 0.2em;"&gt; &lt;a href="http://opensource.nus.edu.sg/wiki/index.php/Printing_in_NUS_SoC#Printing_in_the_School_of_Computing" style="color: rgb(0, 51, 153);"&gt;&lt;span class="tocnumber"&gt;1&lt;/span&gt; &lt;span class="toctext"&gt;Printing in the School of Computing&lt;/span&gt;&lt;/a&gt;&lt;ul&gt; &lt;li class="toclevel-2" style="margin-top: 0.2em; margin-bottom: 0.2em;"&gt;&lt;a href="http://opensource.nus.edu.sg/wiki/index.php/Printing_in_NUS_SoC#Printing_in_Ubuntu" style="color: rgb(0, 51, 153);"&gt;&lt;span class="tocnumber"&gt;1.1&lt;/span&gt; &lt;span class="toctext"&gt;Printing in Ubuntu&lt;/span&gt;&lt;/a&gt;&lt;/li&gt; &lt;li class="toclevel-2" style="margin-top: 0.2em; margin-bottom: 0.2em;"&gt;&lt;a href="http://opensource.nus.edu.sg/wiki/index.php/Printing_in_NUS_SoC#Printing_in_Kubuntu" style="color: rgb(0, 51, 153);"&gt;&lt;span class="tocnumber"&gt;1.2&lt;/span&gt; &lt;span class="toctext"&gt;Printing in Kubuntu&lt;/span&gt;&lt;/a&gt;&lt;/li&gt; &lt;li class="toclevel-2" style="margin-top: 0.2em; margin-bottom: 0.2em;"&gt;&lt;a href="http://opensource.nus.edu.sg/wiki/index.php/Printing_in_NUS_SoC#Printing_in_OpenSUSE" style="color: rgb(0, 51, 153);"&gt;&lt;span class="tocnumber"&gt;1.3&lt;/span&gt; &lt;span class="toctext"&gt;Printing in OpenSUSE&lt;/span&gt;&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;a name="Printing_in_the_School_of_Computing"&gt;&lt;/a&gt;&lt;h1 style="margin-top: 1em; margin-right: 0px; margin-bottom: 0.2em; margin-left: 0px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); font-family: arial, verdana, sans-serif; font-size: 21px; font-weight: normal;"&gt; &lt;span class="mw-headline"&gt;Printing in the School of Computing&lt;/span&gt;&lt;/h1&gt;&lt;p&gt;Printing in SoC has long been a nightmare for users of &amp;quot;unsupported systems&amp;quot; like us. Fortunately, the most difficult part is actually *figuring out* how to get printing working on Linux, and since we already have, the steps you need to take to enable printing on your Linuxbox is relatively simple, especially if you&amp;#39;re using a fairly recent and popular distro.&lt;/p&gt; &lt;p&gt;Here are detailed steps for recent versions of Ubuntu and OpenSUSE. They should be fairly similar in comparable distros.&lt;/p&gt;&lt;a name="Printing_in_Ubuntu"&gt;&lt;/a&gt;&lt;h2 style="margin-top: 1em; margin-right: 0px; margin-bottom: 0.2em; margin-left: 0px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); font-family: arial, verdana, sans-serif; font-size: 20px; font-weight: normal;"&gt; &lt;span class="mw-headline"&gt;Printing in Ubuntu&lt;/span&gt;&lt;/h2&gt;&lt;p&gt;Since around the time of Hardy, everything you need to print to the SoC printers is available out-the-box on an Ubuntu system. To start printing, you simply need to configure a printer as follows:&lt;/p&gt; &lt;p&gt;&lt;b&gt;Step 1&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Make sure you are either connected to &lt;a href="http://opensource.nus.edu.sg/wiki/index.php/Connecting_to_PEAP_in_NUS" title="Connecting to PEAP in NUS" style="color: rgb(0, 51, 153);"&gt;PEAP&lt;/a&gt; or to &lt;a href="http://opensource.nus.edu.sg/wiki/index.php/SoCVPN" title="SoCVPN" style="color: rgb(0, 51, 153);"&gt;SoCVPN&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;Go to System &amp;gt; Administration &amp;gt; Printing, key in your password, and hit the &amp;quot;New&amp;quot; button on the window that appears.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Step 2&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Select Network Printer &amp;gt; Windows Printer via Samba on the left-hand column.&lt;/p&gt; &lt;p&gt;On the right, enter the following in the textfield under &amp;quot;SMB Printer&amp;quot;&lt;/p&gt;&lt;div class="CodeRay"&gt; &lt;div class="code"&gt;&lt;pre&gt;nusstu/nts27.comp.nus.edu.sg/psts-dx&lt;/pre&gt;&lt;/div&gt; &lt;/div&gt; &lt;p&gt;You can replace &amp;#39;psts-dx&amp;#39; above with the name of whatever target printer you desire to add.&lt;/p&gt;&lt;p&gt;Check &amp;quot;Set authentication details now&amp;quot; and key in your NUSNET credentials.&lt;/p&gt;&lt;div class="thumb tnone" style="margin-bottom: 0.5em; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: white; border-right-color: white; border-bottom-color: white; border-left-color: white;"&gt; &lt;div class="thumbinner" style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); padding-top: 3px !important; padding-right: 3px !important; padding-bottom: 3px !important; padding-left: 3px !important; background-color: rgb(249, 249, 249); font-size: 12px; text-align: center;"&gt; &lt;a href="http://opensource.nus.edu.sg/wiki/index.php/Image:PrinterStep1.png" class="image" title="PrinterStep1.png" style="color: rgb(0, 51, 153);"&gt;&lt;img class="thumbimage" src="http://opensource.nus.edu.sg/wiki/uploads/2/2c/PrinterStep1.png" border="0" height="579" alt="" style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-color: initial; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204);" /&gt;&lt;/a&gt;&lt;p /&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;You can hit &amp;quot;verify&amp;quot; to see if your connection is successful. Hit &amp;quot;Forward&amp;quot; when you&amp;#39;re done.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Step 3&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Select the printer manufacturer here. For the COM1 printers, pick &amp;quot;Lexmark&amp;quot;. Then hit &amp;quot;Forward&amp;quot;.&lt;/p&gt; &lt;div class="thumb tnone" style="margin-bottom: 0.5em; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: white; border-right-color: white; border-bottom-color: white; border-left-color: white;"&gt; &lt;div class="thumbinner" style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); padding-top: 3px !important; padding-right: 3px !important; padding-bottom: 3px !important; padding-left: 3px !important; background-color: rgb(249, 249, 249); font-size: 12px; text-align: center;"&gt; &lt;a href="http://opensource.nus.edu.sg/wiki/index.php/Image:PrinterStep2.png" class="image" title="PrinterStep2.png" style="color: rgb(0, 51, 153);"&gt;&lt;img class="thumbimage" src="http://opensource.nus.edu.sg/wiki/uploads/2/27/PrinterStep2.png" border="0" height="581" alt="" style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-color: initial; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204);" /&gt;&lt;/a&gt;&lt;p /&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;Step 4&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Select the printer model here. For the COM1 printers, pick &amp;quot;T642&amp;quot;.&lt;/p&gt;&lt;div class="thumb tnone" style="margin-bottom: 0.5em; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: white; border-right-color: white; border-bottom-color: white; border-left-color: white;"&gt; &lt;div class="thumbinner" style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); padding-top: 3px !important; padding-right: 3px !important; padding-bottom: 3px !important; padding-left: 3px !important; background-color: rgb(249, 249, 249); font-size: 12px; text-align: center;"&gt; &lt;a href="http://opensource.nus.edu.sg/wiki/index.php/Image:PrinterStep3.png" class="image" title="PrinterStep3.png" style="color: rgb(0, 51, 153);"&gt;&lt;img class="thumbimage" src="http://opensource.nus.edu.sg/wiki/uploads/e/e4/PrinterStep3.png" border="0" height="579" alt="" style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-color: initial; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204);" /&gt;&lt;/a&gt;&lt;p /&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;Step 5&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Optionally Key in some meta information for your new printer.&lt;/p&gt;&lt;div class="thumb tnone" style="margin-bottom: 0.5em; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: white; border-right-color: white; border-bottom-color: white; border-left-color: white;"&gt; &lt;div class="thumbinner" style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); padding-top: 3px !important; padding-right: 3px !important; padding-bottom: 3px !important; padding-left: 3px !important; background-color: rgb(249, 249, 249); font-size: 12px; text-align: center;"&gt; &lt;a href="http://opensource.nus.edu.sg/wiki/index.php/Image:PrinterStep4.png" class="image" title="PrinterStep4.png" style="color: rgb(0, 51, 153);"&gt;&lt;img class="thumbimage" src="http://opensource.nus.edu.sg/wiki/uploads/9/94/PrinterStep4.png" border="0" height="581" alt="" style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-color: initial; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204);" /&gt;&lt;/a&gt;&lt;p /&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;Hit &amp;quot;Apply&amp;quot; and you&amp;#39;re done!!&lt;/p&gt;&lt;p&gt;Print a test page to boost your ego.&lt;/p&gt;&lt;a name="Printing_in_Kubuntu"&gt;&lt;/a&gt;&lt;h2 style="margin-top: 1em; margin-right: 0px; margin-bottom: 0.2em; margin-left: 0px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); font-family: arial, verdana, sans-serif; font-size: 20px; font-weight: normal;"&gt; &lt;span class="mw-headline"&gt;Printing in Kubuntu&lt;/span&gt;&lt;/h2&gt;&lt;p&gt;IdyllicTux has a &lt;a href="http://www.youtube.com/watch?v=DdhTZn99gGc" class="external text" title="http://www.youtube.com/watch?v=DdhTZn99gGc" rel="nofollow" style="color: rgb(51, 102, 187); background-image: ; background-color: initial; padding-right: 13px; background-position: 100% 50%;"&gt;Video Tutorial&lt;/a&gt; on printing on Kubuntu. Steps are highly similar to those for Ubuntu.&lt;/p&gt; &lt;a name="Printing_in_OpenSUSE"&gt;&lt;/a&gt;&lt;h2 style="margin-top: 1em; margin-right: 0px; margin-bottom: 0.2em; margin-left: 0px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); font-family: arial, verdana, sans-serif; font-size: 20px; font-weight: normal;"&gt; &lt;span class="mw-headline"&gt;Printing in OpenSUSE&lt;/span&gt;&lt;/h2&gt;&lt;p&gt;This is based on the KDE version. Steps for OpenSUSE Gnome should be similar.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Step 1&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Make sure you are either connected to &lt;a href="http://opensource.nus.edu.sg/wiki/index.php/Connecting_to_PEAP_in_NUS" title="Connecting to PEAP in NUS" style="color: rgb(0, 51, 153);"&gt;PEAP&lt;/a&gt; or to &lt;a href="http://opensource.nus.edu.sg/wiki/index.php/SoCVPN" title="SoCVPN" style="color: rgb(0, 51, 153);"&gt;SoCVPN&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;Bring up the Yast Administrator Settings Panel (Application &amp;gt; System &amp;gt; Administrator Settings) and select &amp;quot;Printer&amp;quot;&lt;/p&gt;&lt;p&gt;In the window that opens, make sure &amp;quot;Printer configurations&amp;quot; is selected on the left-hand panel, then click &amp;quot;Add&amp;quot; near the bottom-center.&lt;/p&gt; &lt;p&gt;&lt;b&gt;Step 2&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Click &amp;quot;Connection Wizard&amp;quot; at the top-right.&lt;/p&gt;&lt;p&gt;In the page that results, Select &amp;quot;Print via Server Machine &amp;gt; Microsoft Windows/SAMBA (SMB/CIFS)&amp;quot; on the left-hand panel.&lt;/p&gt; &lt;p&gt; On the right, key in&lt;/p&gt;&lt;ul&gt;&lt;li style="margin-top: 0.2em; margin-bottom: 0.2em;"&gt;&amp;quot;&lt;a href="http://nts27.comp.nus.edu.sg"&gt;nts27.comp.nus.edu.sg&lt;/a&gt;&amp;quot; for Server (NetBIOS Host Name)&lt;/li&gt;&lt;li style="margin-top: 0.2em; margin-bottom: 0.2em;"&gt; Your target printer name for Printer (Share Name), eg. psts-dx&lt;/li&gt;&lt;li style="margin-top: 0.2em; margin-bottom: 0.2em;"&gt;&amp;quot;nusstu&amp;quot; for Workgroup (Domain Name)&lt;/li&gt;&lt;li style="margin-top: 0.2em; margin-bottom: 0.2em;"&gt; Your NUSNET credentials under &amp;quot;Authenticate As&amp;quot;&lt;/li&gt;&lt;li style="margin-top: 0.2em; margin-bottom: 0.2em;"&gt;The printer manufacturer - &amp;quot;Lexmark&amp;quot; for the COM1 printers on the last drop-down.&lt;/li&gt;&lt;/ul&gt;&lt;div class="thumb tnone" style="margin-bottom: 0.5em; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: white; border-right-color: white; border-bottom-color: white; border-left-color: white;"&gt; &lt;div class="thumbinner" style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); padding-top: 3px !important; padding-right: 3px !important; padding-bottom: 3px !important; padding-left: 3px !important; background-color: rgb(249, 249, 249); font-size: 12px; text-align: center;"&gt; &lt;a href="http://opensource.nus.edu.sg/wiki/index.php/Image:Printsuse1.jpeg" class="image" title="Printsuse1.jpeg" style="color: rgb(0, 51, 153);"&gt;&lt;img class="thumbimage" src="http://opensource.nus.edu.sg/wiki/uploads/f/f9/Printsuse1.jpeg" border="0" height="654" alt="" style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-color: initial; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204);" /&gt;&lt;/a&gt;&lt;p /&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;Test the connection if you like. Hit &amp;quot;ok&amp;quot; when you&amp;#39;re done.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Step 3&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Under &amp;quot;Assign Driver&amp;quot;, look for and select the driver for the target printer. For the COM1 printers, select the entry beginning with &amp;quot;Lexmark T642&amp;quot;.&lt;/p&gt; &lt;p&gt;If you cannot find this in the list, you may need to install a driver package. Click &amp;quot;Add Driver&amp;quot; to do so. The following page should appear:&lt;/p&gt;&lt;div class="thumb tnone" style="margin-bottom: 0.5em; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: white; border-right-color: white; border-bottom-color: white; border-left-color: white;"&gt; &lt;div class="thumbinner" style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); padding-top: 3px !important; padding-right: 3px !important; padding-bottom: 3px !important; padding-left: 3px !important; background-color: rgb(249, 249, 249); font-size: 12px; text-align: center;"&gt; &lt;a href="http://opensource.nus.edu.sg/wiki/index.php/Image:Printsuse2.jpeg" class="image" title="Printsuse2.jpeg" style="color: rgb(0, 51, 153);"&gt;&lt;img class="thumbimage" src="http://opensource.nus.edu.sg/wiki/uploads/f/f9/Printsuse2.jpeg" border="0" height="654" alt="" style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-color: initial; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204);" /&gt;&lt;/a&gt;&lt;p /&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;Check off the driver packages you would like to install. &amp;quot;cups-drivers&amp;quot; should contain the T642 driver for the COM1 printers, so check it if you haven&amp;#39;t. Hit &amp;quot;ok&amp;quot; to install the driver packages.&lt;/p&gt; &lt;p&gt;You will be returned to the original page once you&amp;#39;re done, and you should now find your driver in the list. Select it and hit &amp;quot;ok&amp;quot;.&lt;/p&gt;&lt;div class="thumb tnone" style="margin-bottom: 0.5em; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: white; border-right-color: white; border-bottom-color: white; border-left-color: white;"&gt; &lt;div class="thumbinner" style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); padding-top: 3px !important; padding-right: 3px !important; padding-bottom: 3px !important; padding-left: 3px !important; background-color: rgb(249, 249, 249); font-size: 12px; text-align: center;"&gt; &lt;a href="http://opensource.nus.edu.sg/wiki/index.php/Image:Printsuse3.jpeg" class="image" title="Printsuse3.jpeg" style="color: rgb(0, 51, 153);"&gt;&lt;img class="thumbimage" src="http://opensource.nus.edu.sg/wiki/uploads/a/a6/Printsuse3.jpeg" border="0" height="654" alt="" style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-color: initial; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204);" /&gt;&lt;/a&gt;&lt;p /&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;You&amp;#39;re done!! Print a test page to boost your ego.&lt;/p&gt;&lt;p&gt;&lt;b&gt;A word on changing password&lt;/b&gt;&lt;/p&gt;&lt;p&gt;The Yast printer configuration tool is a little unwieldy, and shockingly does not appear to have a direct way of changing your authentication password. When you change your NUSNET password, simply delete your existing printing configurations and re-add them following the steps above.&lt;/p&gt;  &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/printing-in-nus-soc"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-1703167042997810844?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/1703167042997810844/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2010/12/printing-in-nus-soc.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/1703167042997810844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/1703167042997810844'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2010/12/printing-in-nus-soc.html' title='Printing in NUS SoC'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-6326904119137278348</id><published>2010-12-06T18:52:00.001+08:00</published><updated>2010-12-06T18:52:41.315+08:00</updated><title type='text'>[Ogre] SDK Install</title><content type='html'>&lt;div class='posterous_autopost'&gt;After dragging the SDK folder to local disk, before open the xcode project, be sure to run following command to make the xcode project adjusted to the current environment.&lt;p /&gt;&lt;div&gt;cmake -GXcode .&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/ogre-sdk-install"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-6326904119137278348?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/6326904119137278348/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2010/12/ogre-sdk-install.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/6326904119137278348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/6326904119137278348'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2010/12/ogre-sdk-install.html' title='[Ogre] SDK Install'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-6286021234165084579</id><published>2010-12-04T20:05:00.001+08:00</published><updated>2010-12-04T20:05:43.910+08:00</updated><title type='text'>3D Little Human Figures Clipart Big Collection</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: rgb(102, 102, 102); line-height: 16px;"&gt;&lt;p&gt; &lt;a href="http://lordofdesign.com/wp-content/uploads/2009/09/3d_character_post.jpg" rel="lightbox[6043]" style="text-decoration: none; color: rgb(65, 110, 144); border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-color: initial;"&gt;&lt;img title="3d people shapes" class="alignnone size-thumbnail wp-image-6044" src="http://lordofdesign.com/wp-content/uploads/2009/09/3d_character_post-270x190.jpg" height="190" alt="3d people shapes" style="border-top-width: 4px; border-right-width: 4px; border-bottom-width: 4px; border-left-width: 4px; border-top-color: rgb(238, 238, 238); border-right-color: rgb(238, 238, 238); border-bottom-color: rgb(238, 238, 238); border-left-color: rgb(238, 238, 238); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid;" width="270" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;3D Little Human Figures Clipart – Big Collection&lt;br /&gt;115 jpg | Up to 9001*6000 pix | 300 dpi | 282 Mb rar&lt;/p&gt;&lt;p&gt;Download:&lt;br /&gt;&lt;/p&gt;&lt;p /&gt;&lt;br /&gt;Part 1 &lt;a href="http://depositfiles.com/en/files/a9wxaatgz"&gt;http://depositfiles.com/en/files/a9wxaatgz&lt;/a&gt;&lt;br /&gt; Part 2 &lt;a href="http://depositfiles.com/en/files/7f2ftolkj"&gt;http://depositfiles.com/en/files/7f2ftolkj&lt;/a&gt;&lt;br /&gt;Part 3 &lt;a href="http://depositfiles.com/en/files/bozjkzeza"&gt;http://depositfiles.com/en/files/bozjkzeza&lt;/a&gt; &lt;p&gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;From: &lt;span style="color: rgb(0, 0, 0); font-family: arial; line-height: normal; font-size: small;"&gt;&lt;a href="http://lordofdesign.com/3d-little-human-figures-clipart-big-collection/"&gt;http://lordofdesign.com/3d-little-human-figures-clipart-big-collection/&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;  &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/3d-little-human-figures-clipart-big-collectio"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-6286021234165084579?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/6286021234165084579/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2010/12/3d-little-human-figures-clipart-big.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/6286021234165084579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/6286021234165084579'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2010/12/3d-little-human-figures-clipart-big.html' title='3D Little Human Figures Clipart Big Collection'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-4803191564330752908</id><published>2010-12-01T18:30:00.001+08:00</published><updated>2010-12-01T18:30:49.335+08:00</updated><title type='text'>[Speech] Power spectrum</title><content type='html'>&lt;div class='posterous_autopost'&gt;       &lt;div style='padding: 5px 5px 10px 5px; margin-top: 5px; border: 1px solid #ddd; background-color: #fff;line-height: 16px;'&gt;       &lt;div style="float: left; margin-right: 5px; overflow: visible;"&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/O28kXMZsCwl0Al6maTO7GQjoth0MFMtSyrhNOJr8Hdatd9LU1KejSjXbygnd/Power.pdf' style='color: #bc7134;'&gt;&lt;img src='http://posterous.com/images/filetypes/pdf.png' style='border: none;'/&gt;&lt;/a&gt;&lt;/div&gt;       &lt;div style="font-size: 10px; color: #424037;line-height: 16px;"&gt;Download now or &lt;a href='http://troylee.posterous.com/speech-power-spectrum' style='color: #bc7134;'&gt;preview on posterous&lt;/a&gt;&lt;/div&gt;       &lt;b&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/O28kXMZsCwl0Al6maTO7GQjoth0MFMtSyrhNOJr8Hdatd9LU1KejSjXbygnd/Power.pdf' style='color: #bc7134;'&gt;Power.pdf&lt;/a&gt;&lt;/b&gt; &lt;span style="font-size: 10px; color: #424037;"&gt;(45 KB)&lt;/span&gt;       &lt;br style="clear: both;"/&gt;&lt;/div&gt;       &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/speech-power-spectrum"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-4803191564330752908?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/4803191564330752908/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2010/12/speech-power-spectrum.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/4803191564330752908'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/4803191564330752908'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2010/12/speech-power-spectrum.html' title='[Speech] Power spectrum'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-8762800846447707997</id><published>2010-12-01T13:52:00.001+08:00</published><updated>2010-12-01T13:52:28.509+08:00</updated><title type='text'>[Latex] LaTex: Fixing Wrong Figure Numbers</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;span style="font-family: Lucida Grande, Verdana, Arial, sans-serif; font-size: 12px; color: rgb(51, 51, 51);"&gt;&lt;h2 style="font-family: Trebuchet MS, Lucida Grande, Verdana, Arial, sans-serif; font-weight: bold; font-size: 1.6em; color: rgb(51, 51, 51); text-decoration: none; margin-top: 30px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"&gt; &lt;span style="font-family: Lucida Grande, Verdana, Arial, sans-serif; font-weight: normal; font-size: 12px; line-height: 16px;"&gt;From: &lt;/span&gt;&lt;span style="font-family: Lucida Grande, Verdana, Arial, sans-serif; font-weight: normal; font-size: 12px; line-height: 16px;"&gt;&lt;a href="http://www.terminally-incoherent.com/blog/2007/04/14/latex-fixing-wrong-figure-numbers/"&gt;http://www.terminally-incoherent.com/blog/2007/04/14/latex-fixing-wrong-figure-numbers/&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt; &lt;p /&gt;&lt;div&gt;ONE SENTENCE: &lt;b&gt;PUT THE LABEL COMMAND AFTER CAPTION COMMAND FOR FIGURES.&lt;/b&gt;&lt;/div&gt;&lt;h2 style="font-family: Trebuchet MS, Lucida Grande, Verdana, Arial, sans-serif; font-weight: bold; font-size: 1.6em; color: rgb(51, 51, 51); text-decoration: none; margin-top: 30px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"&gt; &lt;span style="font-family: Lucida Grande, Verdana, Arial, sans-serif; font-weight: normal; font-size: 12px; line-height: 16px;"&gt;What I tell you right now may save you hours of extensive debugging, cursing under your breath, commenting out custom code dealing with figure layout and much frustration. Whenever you use figures, always (and I mean ALWAYS EVER FOREVER ALWAYS) put &lt;kbd&gt;\caption&lt;/kbd&gt; first, and &lt;kbd&gt;\label&lt;/kbd&gt;second like this:&lt;/span&gt;&lt;/h2&gt; &lt;div class="entry" style="line-height: 1.4em;"&gt;&lt;div class="wp_syntax" style="color: rgb(17, 0, 0); background-color: rgb(249, 249, 249); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: silver; border-right-color: silver; border-bottom-color: silver; border-left-color: silver; margin-top: 0px; margin-right: 0px; margin-bottom: 1.5em; margin-left: 0px;"&gt; &lt;div class="code" style="vertical-align: top; padding-top: 2px; padding-right: 4px; padding-bottom: 2px; padding-left: 4px;"&gt;&lt;div class="CodeRay"&gt; &lt;div class="code"&gt;&lt;pre&gt;\begin{figure}[htp]         \centering                 \includegraphics{image.eps}         \caption{Some Image}         \label{fig:some-image} \end{figure}&lt;/pre&gt;&lt;/div&gt; &lt;/div&gt; &lt;/div&gt;&lt;/div&gt;&lt;p&gt;If you put the &lt;kbd&gt;\label&lt;/kbd&gt; above &lt;kbd&gt;\caption&lt;/kbd&gt; you will run into trouble when referencing figures inside subsections. In my case, the caption underneath the figure would say Fig. 4.2 but the output of &lt;kbd&gt;\ref&lt;/kbd&gt; would be 4.3.10 because somehow it was picking up the section numbers wrong. The whole damn chapter 4 had the caption/label pairs flipped – but the rest of the document was fine. I have no clue what possessed me to write it this way.&lt;/p&gt; &lt;/div&gt;&lt;/span&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/latex-latex-fixing-wrong-figure-numbers"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-8762800846447707997?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/8762800846447707997/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2010/12/latex-latex-fixing-wrong-figure-numbers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/8762800846447707997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/8762800846447707997'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2010/12/latex-latex-fixing-wrong-figure-numbers.html' title='[Latex] LaTex: Fixing Wrong Figure Numbers'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-6011853984565801121</id><published>2010-11-30T23:02:00.001+08:00</published><updated>2010-11-30T23:02:48.421+08:00</updated><title type='text'>[Feature] SIFT</title><content type='html'>&lt;div class='posterous_autopost'&gt;       &lt;div style='padding: 5px 5px 10px 5px; margin-top: 5px; border: 1px solid #ddd; background-color: #fff;line-height: 16px;'&gt;       &lt;div style="float: left; margin-right: 5px; overflow: visible;"&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/lWhX3wB0tzb6hyYqRrg8rbogtmQu5sSwzzYNfSpYKpqANB6QNmQa8ZwkIEAr/tutSIFT04.pdf' style='color: #bc7134;'&gt;&lt;img src='http://posterous.com/images/filetypes/pdf.png' style='border: none;'/&gt;&lt;/a&gt;&lt;/div&gt;       &lt;div style="font-size: 10px; color: #424037;line-height: 16px;"&gt;Download now or &lt;a href='http://troylee.posterous.com/feature-sift' style='color: #bc7134;'&gt;preview on posterous&lt;/a&gt;&lt;/div&gt;       &lt;b&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/lWhX3wB0tzb6hyYqRrg8rbogtmQu5sSwzzYNfSpYKpqANB6QNmQa8ZwkIEAr/tutSIFT04.pdf' style='color: #bc7134;'&gt;tutSIFT04.pdf&lt;/a&gt;&lt;/b&gt; &lt;span style="font-size: 10px; color: #424037;"&gt;(3040 KB)&lt;/span&gt;       &lt;br style="clear: both;"/&gt;&lt;/div&gt;      &lt;p&gt;In spite of significant progress in automatic speech recognition over the years, robustness still appears to be a stumbling block. Current commercial products are quite sensitive to changes in recording device, to acoustic clutter in the form of additional speech signals, and so on. The goal of replicating human performance in a machine remains far from sight.&lt;/p&gt;&lt;p /&gt;&lt;div&gt;Scale Invariant Feature Transform (SIFT) is an approach for detecting and extracting local feature descriptors that are reasonably invariant to changes in illumination, image noise, rotation, scaling, and small changes in viewpoint.&lt;/div&gt; &lt;p /&gt;&lt;div&gt;Detection stages for SIFT features:&lt;/div&gt;&lt;div&gt;&lt;b&gt;1) Scale-space extrema detection&lt;/b&gt;&lt;/div&gt;&lt;p /&gt;&lt;div&gt;Interest points for SIFT features correspond to local extrema of difference-of-Gaussian filters at different scales.&lt;/div&gt; &lt;p /&gt;&lt;div&gt;Interest points (called keypoints in the SIFT framework) are identified as local maxima or minma of the DoG (difference of Gaussian) images across scales. Each pixel in the DoG images is compared to its 8 neighbors at the same scale, plus the 9 corresponding neighbors at neighboring scales. If the pixel is a local maximum or minimum, it is selected as a candidate keypoint.&lt;/div&gt; &lt;p /&gt;&lt;div&gt;For each candidate keypoint:&lt;/div&gt;&lt;div&gt;- Interpolation of nearby data is used to accurately determine its position;&lt;/div&gt;&lt;div&gt;- Keypoints with low contrast are removed;&lt;/div&gt;&lt;div&gt;- Responses along edges are eliminated;&lt;/div&gt; &lt;div&gt;- The keypoint is assigned an orientation.&lt;/div&gt;&lt;p /&gt;&lt;div&gt;To determine the keypoint orientation, a gradient orientation histogram is computed in the neighborhood of the keypoint (using the Gaussian image at the closest scale to the keypoint&amp;#39;s scale). The contribution of each neighboring pixel is weighted by the gradient magnitude and a Gaussian window with a theta that is 1.5 times the scale of the keypoint.&lt;/div&gt; &lt;p /&gt;&lt;div&gt;Peaks in the histogram correspond to dominant orientations. A separate keypoint is created for the direction corresponding to the histogram maximum, and any other direction within 80% of the maximum value.&lt;/div&gt; &lt;p /&gt;&lt;div&gt;All the properties of the keypoint are measured relative to the keypoint orientation, this provides invariance to rotation.&lt;/div&gt;&lt;p /&gt;&lt;div&gt;&lt;b&gt;2) Key point localization&lt;/b&gt;&lt;/div&gt;&lt;p /&gt; &lt;div&gt;&lt;b&gt;3) Orientation assignment&lt;/b&gt;&lt;/div&gt;&lt;p /&gt;&lt;div&gt;&lt;b&gt;4) Generation of keypoint descriptors&lt;/b&gt;&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/feature-sift"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-6011853984565801121?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/6011853984565801121/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2010/11/feature-sift.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/6011853984565801121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/6011853984565801121'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2010/11/feature-sift.html' title='[Feature] SIFT'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-5918586176324466001</id><published>2010-11-30T12:11:00.001+08:00</published><updated>2010-11-30T12:11:05.629+08:00</updated><title type='text'>[Feature] Speech Recognition with localized time-frequency pattern detectors</title><content type='html'>&lt;div class='posterous_autopost'&gt;Characteristics of the localized time-frequency features:&lt;div&gt;1) Local in frequency domain, not like MFCC, each feature is affected by all the frequencies;&lt;/div&gt;&lt;div&gt;2) Temporal dynamics, modeling long and variable time durations, while in MFCC, the features are all short time and fixed duration.&lt;/div&gt; &lt;p /&gt;&lt;div&gt;In this paper, the set of filters adopted is very simple, and are essentially basic edge detectors taking only values +1 and -1. The selection includes vertical edges (of varying frequency span and temporal duration) for onsets and offsets; wide horizontal edges for frication cutoffs; and horizontal edges tilted at various slopes to model formant transitions. The choices for the ranges of the various parameters were made based on acoustic phonetic knowledge, such as typical formant bandwidths, average phone durations, typical rates of formant movement, etc.[Book: Acoustic Phonetics]&lt;/div&gt; &lt;p /&gt;&lt;div&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/eL2T10jBdnKbpREwrpCvG6OVaT3XPFECatBpWuWQ9lk886mT5RFsYEmls3Dn/localfilters.png.scaled.1000.jpg'&gt;&lt;img src="http://posterous.com/getfile/files.posterous.com/troylee/7Mt2Im07L6E1oZiM74NF1p2wC6UV52FP5sQwLqVbXHGR87Ji6jMWS2QiRylR/localfilters.png.scaled.500.jpg" width="500" height="240"/&gt;&lt;/a&gt;  &lt;/div&gt;&lt;p /&gt;&lt;div&gt;With these filters, the features are computed as follows:&lt;/div&gt;&lt;div&gt;For each filter,&lt;/div&gt; &lt;div&gt; 1) centering it at a particular frequency, and convolving with the whole spectrogram along the time axis for that specific frequency;&lt;/div&gt;&lt;div&gt;2) for each frequency value, we could get a time series of the convolution sums;&lt;/div&gt; &lt;div&gt;3) to reduce the dimension of features, the convolution sums are down sampled over a 16*32 point grid.&lt;/div&gt;&lt;div&gt;4) The 32 frequency points are taken linearly between 0 and 4kHz.&lt;/div&gt;&lt;div&gt;5) The 16 time points (which is specific to their task) is the centers of the 16 states (for the HMM word model) in the state alignment.&lt;/div&gt; &lt;p /&gt;&lt;div&gt;Thus, a feature refers to both the filter shape, and the time-frequency point (16*32 point grid).&lt;/div&gt;&lt;p /&gt;&lt;div&gt;In this paper, the task is to classify isolated digits. Each spectrogram is one single digit. The feature computed is per digit, thus is global to the target class.&lt;/div&gt; &lt;p /&gt;&lt;div&gt;###################&lt;/div&gt;&lt;p /&gt;&lt;div&gt;The problem with current frame based features is its non-localization, make it difficult to modeling speaker variabilities.&lt;/div&gt;&lt;div&gt;As shown in following figure:&lt;/div&gt; &lt;p /&gt;&lt;div&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/ZliSflzSmX17KpTQXCmbcPP4ROQrLepfjbvvIT1IUiDnhb93ZBOA1hXB8qfZ/genderdiff.png.scaled.1000.jpg'&gt;&lt;img src="http://posterous.com/getfile/files.posterous.com/troylee/umbYgtPGSnYmMxeN5wQWVpNELeAPAuPQxPzGZr4B9DaB94ueJazufMJYDCPu/genderdiff.png.scaled.500.jpg" width="500" height="307"/&gt;&lt;/a&gt; &lt;br /&gt;&lt;/div&gt;&lt;p /&gt;&lt;p /&gt; &lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;       &lt;div style='padding: 5px 5px 10px 5px; margin-top: 5px; border: 1px solid #ddd; background-color: #fff;line-height: 16px;'&gt;       &lt;div style="float: left; margin-right: 5px; overflow: visible;"&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/meBoEcQJMSmyNqQY7skMV1sYUL851nRPAB0j8IzjJro9VXg68DR4MZhblTt1/Schutte_Glass_2008_Speech_reco.pdf' style='color: #bc7134;'&gt;&lt;img src='http://posterous.com/images/filetypes/pdf.png' style='border: none;'/&gt;&lt;/a&gt;&lt;/div&gt;       &lt;div style="font-size: 10px; color: #424037;line-height: 16px;"&gt;Download now or &lt;a href='http://troylee.posterous.com/feature-speech-recognition-with-localized-tim' style='color: #bc7134;'&gt;preview on posterous&lt;/a&gt;&lt;/div&gt;       &lt;b&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/meBoEcQJMSmyNqQY7skMV1sYUL851nRPAB0j8IzjJro9VXg68DR4MZhblTt1/Schutte_Glass_2008_Speech_reco.pdf' style='color: #bc7134;'&gt;Schutte, Glass_2008_Speech recognition with localized time-frequency pattern detectors.pdf&lt;/a&gt;&lt;/b&gt; &lt;span style="font-size: 10px; color: #424037;"&gt;(374 KB)&lt;/span&gt;       &lt;br style="clear: both;"/&gt;&lt;/div&gt;      &lt;/p&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/feature-speech-recognition-with-localized-tim"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-5918586176324466001?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/5918586176324466001/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2010/11/feature-speech-recognition-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/5918586176324466001'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/5918586176324466001'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2010/11/feature-speech-recognition-with.html' title='[Feature] Speech Recognition with localized time-frequency pattern detectors'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-6544051503153927466</id><published>2010-11-29T20:28:00.001+08:00</published><updated>2010-11-29T20:28:51.532+08:00</updated><title type='text'>[Speech] Phonetic cues</title><content type='html'>&lt;div class='posterous_autopost'&gt;       &lt;div style='padding: 5px 5px 10px 5px; margin-top: 5px; border: 1px solid #ddd; background-color: #fff;line-height: 16px;'&gt;       &lt;div style="float: left; margin-right: 5px; overflow: visible;"&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/mn2HOTv5iyEDtgTerzqWATzzXkf5iehToDm75E7VpQzC22nw4CNbvo00fuC5/Glass_Schutte_2009_Parts-based.pdf' style='color: #bc7134;'&gt;&lt;img src='http://posterous.com/images/filetypes/pdf.png' style='border: none;'/&gt;&lt;/a&gt;&lt;/div&gt;       &lt;div style="font-size: 10px; color: #424037;line-height: 16px;"&gt;Download now or &lt;a href='http://troylee.posterous.com/speech-phonetic-cues' style='color: #bc7134;'&gt;preview on posterous&lt;/a&gt;&lt;/div&gt;       &lt;b&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/mn2HOTv5iyEDtgTerzqWATzzXkf5iehToDm75E7VpQzC22nw4CNbvo00fuC5/Glass_Schutte_2009_Parts-based.pdf' style='color: #bc7134;'&gt;Glass, Schutte_2009_Parts-based models and local features for automatic speech recognition.pdf&lt;/a&gt;&lt;/b&gt; &lt;span style="font-size: 10px; color: #424037;"&gt;(2115 KB)&lt;/span&gt;       &lt;br style="clear: both;"/&gt;&lt;/div&gt;      &lt;p&gt;While automatic speech recognition systems have steadily improved and are now in widespread use, their accuracy continues to lag behind human performance, particularly in adverse conditions. &lt;/p&gt;&lt;p /&gt;&lt;div&gt;There has been much progress and ASR technology is now in widespread use; however, there is still a considerable gap between human and machine performance, particularly in adverse conditions.&lt;br /&gt; &lt;p /&gt;&lt;div&gt;How human evolution makes humans different from machines in perceiving speech signals?&lt;/div&gt;&lt;p /&gt;&lt;div&gt;What&amp;#39;s the major differences between humans and machine when processing speech signals? And which are the crucial ones?&lt;/div&gt; &lt;p /&gt;&lt;div&gt;The parts-based model (PBM), based on previous work in machine vision, uses graphical models to represent speech with a deformable template of spectro-temporally localized &amp;quot;parts&amp;quot;, as opposed to modeling speech as a sequence of fixed spectral profiles.&lt;/div&gt; &lt;p /&gt;&lt;div&gt;Perhaps most importantly, ASR systems have benefited greatly from general improvements in computer technology. The availability of very large datasets and the ability to utilize them for training models has been very beneficial. Also, with ever increasing computing power, more powerful search techniques can be utilized during recognition.&lt;/div&gt; &lt;p /&gt;&lt;div&gt;Reaching the ultimate goal of ASR - human-level (or beyond) performance in all conditions and on all tasks - will require investigating other regions of this landscape, even if doing so results in back-tracking in progress in the short-term.&lt;/div&gt; &lt;p /&gt;&lt;div&gt;Utilize the knowledge of acoustic phonetics and human speech perception in speech recognition.&lt;/div&gt;&lt;p /&gt;&lt;div&gt;We will argue that well known phonetic cues crucial to human speech perception are not modeled effectively in standard ASR systems, and that there is a benefit to model such cues explicitly, rather than implicitly.&lt;/div&gt; &lt;p /&gt;&lt;div&gt;The &amp;quot;glimpsing&amp;quot; model of speech perception suggests that humans can robustly decode noise-corrupted speech by taking advantage of local T-F regions having high SNR, and is supported by empirical evidence and computational models.&lt;/div&gt; &lt;p /&gt;&lt;div&gt;Auditory Neuroscience, Tonotopic maps. Also, recent research seeking to characterize the behavior of individual neurons in the mammalian auditory cortex has resulted in models in which cortical neurons act as localized spectro-temporal pattern detectors. ( represented by their so-called spectro-temporal receptive filed, or STRF).&lt;/div&gt; &lt;p /&gt;&lt;div&gt;+ Localized T-F pattern detectors&lt;/div&gt;&lt;div&gt;+ Explicit modeling of phonetic cues&lt;/div&gt;&lt;p /&gt;&lt;div&gt;Corpora:&lt;/div&gt;&lt;div&gt;ISOLET &lt;a href="http://www.icsi.berkeley.edu/speech/papers/eurospeech05-onset/isolet/"&gt;http://www.icsi.berkeley.edu/speech/papers/eurospeech05-onset/isolet/&lt;/a&gt;&lt;/div&gt; &lt;div&gt;VCV &lt;a href="http://www.odettes.dds.nl/challenge_IS08/downloads.html"&gt;http://www.odettes.dds.nl/challenge_IS08/downloads.html&lt;/a&gt;&lt;/div&gt;&lt;p /&gt;&lt;/div&gt;&lt;div&gt;acoustic ----------&amp;gt; phonetic cues  ------------------&amp;gt; phonemes&lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/speech-phonetic-cues"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-6544051503153927466?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/6544051503153927466/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2010/11/speech-phonetic-cues.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/6544051503153927466'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/6544051503153927466'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2010/11/speech-phonetic-cues.html' title='[Speech] Phonetic cues'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-4966689208471166544</id><published>2010-11-29T13:46:00.001+08:00</published><updated>2010-11-29T13:46:39.895+08:00</updated><title type='text'>[DBN] Learning rate for RBM training</title><content type='html'>&lt;div class='posterous_autopost'&gt;       &lt;div style='padding: 5px 5px 10px 5px; margin-top: 5px; border: 1px solid #ddd; background-color: #fff;line-height: 16px;'&gt;       &lt;div style="float: left; margin-right: 5px; overflow: visible;"&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/6gPKqEyJ4B0MgmnbVfIjktpvu2zadkn4Yz1kHHbezIBq01tgVjIPhho70L6M/learnrate.pdf' style='color: #bc7134;'&gt;&lt;img src='http://posterous.com/images/filetypes/pdf.png' style='border: none;'/&gt;&lt;/a&gt;&lt;/div&gt;       &lt;div style="font-size: 10px; color: #424037;line-height: 16px;"&gt;Download now or &lt;a href='http://troylee.posterous.com/dbn-learning-rate-for-rbm-training' style='color: #bc7134;'&gt;preview on posterous&lt;/a&gt;&lt;/div&gt;       &lt;b&gt;&lt;a href='http://posterous.com/getfile/files.posterous.com/troylee/6gPKqEyJ4B0MgmnbVfIjktpvu2zadkn4Yz1kHHbezIBq01tgVjIPhho70L6M/learnrate.pdf' style='color: #bc7134;'&gt;learnrate.pdf&lt;/a&gt;&lt;/b&gt; &lt;span style="font-size: 10px; color: #424037;"&gt;(81 KB)&lt;/span&gt;       &lt;br style="clear: both;"/&gt;&lt;/div&gt;       &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/dbn-learning-rate-for-rbm-training"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-4966689208471166544?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/4966689208471166544/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2010/11/dbn-learning-rate-for-rbm-training.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/4966689208471166544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/4966689208471166544'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2010/11/dbn-learning-rate-for-rbm-training.html' title='[DBN] Learning rate for RBM training'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-259084158018962057</id><published>2010-11-25T15:21:00.001+08:00</published><updated>2010-11-25T15:21:27.018+08:00</updated><title type='text'>[Speech] Spectrogram</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;span style=""&gt;&lt;h1 align="justify"&gt; &lt;span style="font-weight: normal; font-size: medium;"&gt;From: &lt;/span&gt;&lt;span style="font-weight: normal; font-size: medium;"&gt;&lt;a href="http://www-3.unipv.it/cibra/edu_spectrogram_uk.html"&gt;http://www-3.unipv.it/cibra/edu_spectrogram_uk.html&lt;/a&gt;&lt;/span&gt;&lt;/h1&gt; &lt;h1 align="justify"&gt;&lt;span style="font-weight: normal; font-size: medium;"&gt;To analyze sounds it is required to have an acoustic receiver (a microphone, an hydrophone or a vibration transducer) and an analyzer suitable for the frequencies of the signals we want to measure. Eventually, a recorder may allow to permanently store the sounds to allow later analyses or playbacks.&lt;/span&gt;&lt;/h1&gt; &lt;p align="justify"&gt;A spectrograph transforms sounds into images to make &amp;quot;visible&amp;quot;, and thus measurable and comparable, sound features the human hear can&amp;#39;t perceive. Spectrograms (also called sonograms or sonagrams) may show infrasounds, like those emitted by some large whales or by elephants, as well as ultrasounds, like those emitted by echolocating dolphins and by echolocating bats, but also emitted by insects and small rodents.&lt;/p&gt; &lt;p align="justify"&gt;Spectrograms may reveal features, like fast frequency or amplitude modulations we can&amp;#39;t hear even if they lie within our hearing frequency limits (30 Hz - 16 kHz). Spectrograms are widely used to show the features of animal voices, of the human voice and also of machinery noise.&lt;/p&gt; &lt;p align="justify"&gt;A real-time spectrograph displays continuously the results of the analyses on the incoming sounds with a very small - often not perceivable - delay. This kind of instrumentation is very useful in field research because it allows to continuously monitor the sounds received by the sensors, to immediately evaluate their features, and to classify the received signals. A spectrograph can be dedicated instrument or a normal computer equipped with suitable hardware for receiving and digitizing sounds and a software to analyze sounds and convert them into a graphical representation.&lt;/p&gt; &lt;p align="justify"&gt;Normally, a spectrogram represents the time on the x axis, frequency on the y axis and the amplitude of the signals by using a scale of grays or a scale of colours. In some applications, in particular those related with military uses, the x and y axes are swapped.&lt;/p&gt; &lt;p align="justify"&gt;The quality and features of a spectrogram are controlled by a set of parameters. A default set can be used for generic display, but some parameters can be changed to optimize the display of specific features of the signals.&lt;br /&gt; Also, by modifying the colour scale it is possible to optimize the display of the amplitude range of interest.&lt;/p&gt;&lt;p align="justify"&gt;&lt;br /&gt;&lt;/p&gt;&lt;/span&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/speech-spectrogram"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-259084158018962057?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/259084158018962057/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2010/11/speech-spectrogram.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/259084158018962057'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/259084158018962057'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2010/11/speech-spectrogram.html' title='[Speech] Spectrogram'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-3807519505806049031</id><published>2010-11-23T10:04:00.001+08:00</published><updated>2010-11-23T10:04:22.947+08:00</updated><title type='text'>[News] ACMTech Nov.23</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;span style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse;"&gt;&lt;b&gt;AT&amp;amp;T Ups the Ante in Speech Recognition&lt;/b&gt;&lt;br /&gt; CNet (11/18/10) Marguerite Reardon&lt;p /&gt;AT&amp;amp;T says it has devised technologies to boost the accuracy of speech and language recognition technology as well as broaden voice activation to other modes of communication.  AT&amp;amp;T&amp;#39;s Watson technology platform is a cloud-based system of services that identifies words as well as interprets meaning and contexts to make results more accurate.  AT&amp;amp;T recently demonstrated various technologies such as the iRemote, an application that transforms smartphones into voice-activated TV remotes that let users speak natural sentences asking to search for specific programs, actors, or genres.  Most voice-activated remotes respond to prerecorded commands, but the iRemote not only recognizes words, but also employs other language precepts such as syntax and semantics to interpret and comprehend the request&amp;#39;s meaning.  AT&amp;amp;T also is working on voice technology that mimics natural voices through its AT&amp;amp;T Natural Voices technology, which builds on text-to-speech technology to enable any message to be spoken in various languages, including English, French, Italian, German, or Spanish when text is processed via the AT&amp;amp;T cloud-based service.  The technology accesses a database of recorded sounds that, when combined by algorithms, generate spoken phrases.&lt;br /&gt; &lt;a href="http://news.cnet.com/8301-30686_3-20023189-266.html" target="_blank" style="color: rgb(17, 65, 112);"&gt;http://news.cnet.com/8301-30686_3-20023189-266.html&lt;/a&gt;&lt;/span&gt;&lt;p /&gt;&lt;div&gt;&lt;a href="http://news.cnet.com/8301-30686_3-20023189-266.html" target="_blank" style="color: rgb(17, 65, 112);"&gt;&lt;/a&gt;&lt;span style="border-collapse: collapse;"&gt;&lt;br /&gt; &lt;/span&gt;&lt;p /&gt;&lt;div&gt;&lt;span style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse;"&gt;&lt;b&gt;What If We Used Poetry to Teach Computers to Speak Better?&lt;/b&gt;&lt;br /&gt; McGill University (11/17/10)&lt;p /&gt;McGill University linguistics researcher Michael Wagner is studying how English and French speakers use acoustic cues to stress new information over old information.  Finding evidence of a systematic difference in how the two languages use these cues could aid computer programmers in their effort to produce more realistic-sounding speech.  Wagner is working with Harvard University&amp;#39;s Katherine McCurdy to gain a better understanding of how people decide where to put emphasis.  They recently published research that examined the use of identical rhymes in poetry in each language.  The study found that even when repeated words differ in meaning and sound the same, the repeated information should be acoustically reduced as otherwise it will sound odd.  &amp;quot;Voice synthesis has become quite impressive in terms of the pronunciation of individual words,&amp;quot; Wagner says.  &amp;quot;But when a computer &amp;#39;speaks,&amp;#39; whole sentences still sound artificial because of the complicated way we put emphasis on parts of them, depending on context and what we want to get across.&amp;quot;  Wagner is now working on a model that better predicts where emphasis should fall in a sentence given the context of discourse.&lt;br /&gt; &lt;a href="http://www.eurekalert.org/pub_releases/2010-11/mu-wiw111710.php" target="_blank" style="color: rgb(17, 65, 112);"&gt;http://www.eurekalert.org/pub_releases/2010-11/mu-wiw111710.php&lt;/a&gt;&lt;/span&gt;&lt;/div&gt; &lt;/div&gt; &lt;p style="font-size: 10px;"&gt; &lt;a href="http://posterous.com"&gt;Posted via email&lt;/a&gt;  from &lt;a href="http://troylee.posterous.com/news-acmtech-nov23"&gt;Troy's posterous&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8496373585700416995-3807519505806049031?l=troylee2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://troylee2008.blogspot.com/feeds/3807519505806049031/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://troylee2008.blogspot.com/2010/11/news-acmtech-nov23.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/3807519505806049031'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8496373585700416995/posts/default/3807519505806049031'/><link rel='alternate' type='text/html' href='http://troylee2008.blogspot.com/2010/11/news-acmtech-nov23.html' title='[News] ACMTech Nov.23'/><author><name>Troy Lee</name><uri>https://profiles.google.com/109459667985287236689</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-KxNJjokjjL8/AAAAAAAAAAI/AAAAAAAAAaU/WYjimZ-9zu4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8496373585700416995.post-7837201404042568304</id><published>2010-11-22T14:36:00.001+08:00</published><updated>2010-11-22T14:36:40.457+08:00</updated><title type='text'>Enabling Terminal's directory and file color highlighting in Mac</title><content type='html'>&lt;div class='posterous_autopost'&gt;&lt;span style="font-size: 10px; line-height: 11px;"&gt;From: &lt;a href="http://www.geekology.co.za/blog/2009/04/enabling-bash-terminal-directory-file-color-highlighting-mac-os-x/"&gt;http://www.geekology.co.za/blog/2009/04/enabling-bash-terminal-directory-file-color-highlighting-mac-os-x/&lt;/a&gt;&lt;br /&gt; &lt;/span&gt;&lt;div&gt;&lt;span style="font-size: 10px; line-height: 11px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="entry" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; vertical-align: baseline; background-color: transparent; line-height: 20px; color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif;"&gt; &lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 12px; vertical-align: baseline; background-color: transparent;"&gt; By default &lt;a href="http://www.apple.com/macosx/" title="Apple - Mac OS X" rel="nofollow" target="_blank" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 12px; vertical-align: baseline; background-color: transparent; text-decoration: none; color: rgb(32, 93, 122);"&gt;Mac OS X&lt;/a&gt;’s &lt;strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 12px; vertical-align: baseline; background-color: transparent;"&gt;Terminal&lt;/strong&gt; application uses the &lt;a href="http://en.wikipedia.org/wiki/Bash" title="Wikipedia - Bash" rel="nofollow" target="_blank" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 12px; vertical-align: baseline; background-color: transparent; text-decoration: none; color: rgb(32, 93, 122);"&gt;Bash&lt;/a&gt; shell (&lt;em style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 12px; vertical-align: baseline; background-color: transparent;"&gt;Bourne Again SHell&lt;/em&gt;) but doesn’t have&lt;strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 12px; vertical-align: baseline; background-color: transparent;"&gt;directory and file color highlighting&lt;/strong&gt; enabled to indicate &lt;strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 12px; vertical-align: baseline; background-color: transparent;"&gt;resource types&lt;/strong&gt; and &lt;strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 12px; vertical-align: baseline; background-color: transparent;"&gt;permissions settings&lt;/strong&gt;.&lt;/p&gt; &lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 12px; vertical-align: baseline; background-color: transparent;"&gt; &lt;img class="aligncenter size-full wp-image-1385" title="mac-terminal-directory-file-highlighting" src="http://www.geekology.co.za/blog/wp-content/uploads/2009/04/mac-terminal-directory-file-highlighting.png" height="651" alt="mac-terminal-directory-file-highlighting" width="480" style="margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; border-color: initial; font-size: 12px; vertical-align: baseline; background-color: transparent; text-align: center; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-color: initial; display: block; border-color: initial;" /&gt;&lt;/p&gt; &lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 12px; vertical-align: baseline; background-color: transparent;"&gt; Enabling &lt;strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 12px; vertical-align: baseline; background-color: transparent;"&gt;directory and file color highlighting&lt;/strong&gt; requires that you open (&lt;em style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 12px; vertical-align: baseline; background-color: transparent;"&gt;or create&lt;/em&gt;) &lt;strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 12px; vertical-align: baseline; background-color: transparent;"&gt;~/.bash_profile&lt;/strong&gt; in your favourite text editor, add these contents:&lt;/p&gt; &lt;p style="margin-top: 0px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 12px; vertical-align: baseline; background-color: transparent;"&gt; &lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: initial; font-size: 12px; vertical-align: baseline; background-color: transparent;"&gt;&lt;/span&gt;&lt;/p&gt; &lt;div class="wp_syntax" style="margin-top: 0px; margin-right: 0px; margin-bottom: 1.5em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border
