Posted on May 29, 2009 by minhpham0902
In statistics, the likelihood function (often simply the likelihood) is a function of the parameters of a statistical model that plays a key role in statistical inference. In non-technical usage, “likelihood” is a synonym for “probability”, but throughout this article only the technical definition is used. Informally, if “probability” allows us to predict unknown outcomes [...]
Filed under: Khoa học máy tính, Laboratory notes, Toán và thống kê học | Leave a Comment »
Posted on May 26, 2009 by minhpham0902
[1] Cụm to put it another way and put another way (From http://www.thefreedictionary.com/)
a phrase introducing a restatement of what someone, usually the speaker, has just said.
Father: You’re still very young, Tom. To put it another way, you don’t have any idea about what you’re getting into. John: Could you go back to your own room [...]
Filed under: English | Tagged: English, phrase | Leave a Comment »
Posted on May 21, 2009 by minhpham0902
Đầu vào: Câu đã được POS Tagging. Ví dụ
Upon_IN such_JJ reading_NN of_IN any_DT such_JJ certificate_NN or_CC paper_NN ,_, the_DT President_NNP of_IN the_DT Senate_NNP shall_MD call_VB for_IN objections_NNS ,_, if_IN any_DT ._.
Đầu ra: Câu chưa được POS Tagging
Upon such reading of any such certificate or paper , the President of the Senate shall call for objections [...]
Filed under: Lập trình Ruby, Thư viện code | Leave a Comment »
Posted on May 17, 2009 by minhpham0902
Với bash shell (File .bashrc)
export PATH=$PATH:/usr/sbin/:/usr/local/bin
For tcsh or csh (Thêm vào file .cshrc)
set PATH = ($PATH /usr/sbin /usr/local/bin)
Filed under: Góc kỹ thuật và lập trình | Tagged: linux | Leave a Comment »
Posted on May 15, 2009 by minhpham0902
(1) Sử dụng biến toàn cục với Ruby
Sử dụng ký hiệu $ trước tên biến. Chẳng hạn $foo. Nói chung sử dụng biến toàn cục là nguy hiểm và ít nên dùng
Filed under: Laboratory notes, Lập trình Ruby | Leave a Comment »
Posted on May 15, 2009 by minhpham0902
Source: http://blog.360.yahoo.com/blog-XckJEY8_fKl68a_VSVflbIEYqQ–?cq=1&p=391
1. Website Đại sứ quán Mỹ tại Việt Nam:
EN: http://vietnam.usembassy.gov/
VN: http://vietnamese.vietnam.usembassy.gov/
2. Thời báo kinh tế Việt nam
EN: http://www.vneconomy.com.vn/eng/
VN: http://vneconomy.vn/
3. VOANews
EN: http://www.voanews.com/english/portal.cfm
VN: http://www.voanews.com/vietnamese/
FR: http://www.voanews.com/french/
CH: http://www.voanews.com/chinese/
4. British Embassy
EN: http://www.britishembassy.gov.uk/servlet/Front?pagename=OpenMarket/Xcelerate/…
VN: http://www.britishembassy.gov.uk/servlet/Front?pagename=OpenMarket/Xcelerate/…
5. BBC
EN: http://www.bbc.co.uk/
VN: http://www.bbc.co.uk/vietnamese/
6. Viet magazine
EN: http://www.vps.org/sommaire_en.php3
VN: http://www.saigon.com/vietmag/
7. Du lịch VN
EN: http://www.vietnamtourism.com/e_pages/news/index.asp
VN: http://www.vietnamtourism.com/v_pages/news/index.asp
FR: http://www.vietnamtourism.com/f_pages/news/index.asp
JP: http://www.vietnamtourism.com/j_pages/news/index.asp
CH: http://www.vietnamtourism.com/c_pages/tourist/travel.asp
8. PhapLuat
EN: http://vbqppl3.moj.gov.vn/law/en/main_page
VN: http://vbqppl.moj.gov.vn
9. CDC
EN: http://www.bt.cdc.gov/
VN: http://www.bt.cdc.gov/vi/
FR: http://www.bt.cdc.gov/fr/
10. [...]
Filed under: Resource | Leave a Comment »
Posted on May 12, 2009 by minhpham0902
http://lamar.colostate.edu/~hillger/laws/overview.html
Filed under: Laboratory notes | Leave a Comment »
Posted on May 9, 2009 by minhpham0902
作詩:中島みゆき 作曲:中島みゆき
風の中のすばる
砂の中の銀河
みんな何処へ行った 見送られることもなく
草原のペガサス
街角のヴィーナス
みんな何処へ行った 見守られることもなく
地上にある星を誰も覚えていない
人は空ばかり見てる
つばめよ高い空から教えてよ 地上の星を
つばめよ地上の星は今 何処にあるのだろう
崖の上のジュピター
水底のシリウス
みんな何処へ行った 見守られることもなく
名立たるものを追って 輝くものを追って
人は氷ばかり掴む
つばめよ高い空から教えてよ 地上の星を
つばめよ地上の星は今 何処にあるのだろう
名立たるものを追って 輝くものを追って
人は氷ばかり掴む
風の中のすばる
砂の中の銀河
みんな何処へ行った 見送られることもなく
つばめよ高い空から教えてよ 地上の星を
つばめよ地上の星は今 何処にあるのだろう
Filed under: Sưu tầm video clips | Leave a Comment »
Posted on May 8, 2009 by minhpham0902
Sắp đến Mother’s Day. Bạn có ý tưởng gì về quà tặng cho mẹ chưa nhỉ? Hãng Lotte tung ra sản phẩm Socola Happy Ghana. Dù đã xem nhiều lần, mình vẫn thích…xem lại mấy đoạn quảng cáo 60 giây dễ thương này.
Lotte Ghana Mother’s Day Declaration [...]
Filed under: Sưu tầm video clips | Leave a Comment »
Posted on May 6, 2009 by minhpham0902
(1) Đọc từng dòng của một file văn bản vào một mảng các string, loại bỏ các dòng trắng, các dòng được loại bỏ ký tự trắng ở đầu và cuối xâu# Read all lines in file with name @name into an array
def read2array(name)
fin = open(name, “r”)
larray = Array.new(0)
while line = fin.gets do
next if /^[\s\t]*\n/ [...]
Filed under: Lập trình Ruby, Thư viện code | Leave a Comment »