Git 不是内部或外部命令 取得連結 Facebook X Pinterest 以電子郵件傳送 其他應用程式 3月 26, 2016 只需要設定Git 環境變數就可以解決 設定如下Git 安裝路徑 : D:\Git\bin D:\Git\Git\mingw64\libexec\git-core (重點指定bin、git-core路徑) Step1: 找到環境變數 Step2: Path 編輯 Step3: 變數值加入 D:\Git\bin;D:\Git\mingw64\libexec\git-core Reference: https://git-scm.com/book/en/v2 取得連結 Facebook X Pinterest 以電子郵件傳送 其他應用程式 留言
What is Recall Precision ?? 3月 28, 2016 Information retrieval (IR) 統計數據時常用到,不會用就快學吧 首先要了解什麼是TP, TN, FP, FN 老師猜測: positive : 猜測有蛀牙 negative : 猜測沒有蛀牙 情境: 老師想要知道全班有多少人蛀牙,老師不是專業醫生所以就憑感覺用猜的... True Positive (TP) : 實際學生有蛀牙,老師猜這位同學有蛀牙 ==> 正確猜對 True Negative (TN) : 實際學生沒有蛀牙,老師猜這位學生 沒有 蛀牙==>正確猜中沒有蛀牙 False Positive (FP) : 實際學生沒有蛀牙,老師猜這位同學有蛀牙==>猜錯 False Negative (FN) : 實際學生有蛀牙,老師猜這位同學 沒有 蛀牙==>猜錯 如何計算Recall, Precision 假設全班有50人,20人有蛀牙、30人沒有蛀牙, 今天老師挑出30人,其中20人有蛀牙,另外不小心把10人也當成有蛀牙 TP=20 FP=10 FN=0 TN=20 recall(召回率) :應該要被檢查到的學生。 =>20/(20+0) =>20/(20為正確猜到,有蛀牙學生+0為猜沒有蛀牙,但其中學生有蛀牙) precision(精準率) : 實際被檢測到的學生。 =>20/(20+10) => 20/(20為正確猜到,有蛀牙學生+10為誤判成有蛀牙學生,其實沒有蛀牙) Reference : https://zh.wikipedia.org/wiki/ROC%E6%9B%B2%E7%BA%BF https://en.wikipedia.org/wiki/Precision_and_recall http://bryannotes.blogspot.tw/2015/06/precisionrecall.html https://argcv.com/articles/1036.c 閱讀完整內容
ubuntu 遠端連線設定 3月 14, 2016 安裝ssh #sudo apt-get install openssh-server 啟動ssh sudo /etc/init.d/ssh start 啟動/關閉 firewall sudo ufw enable sudo ufw disable 允許/不允許 port : 22 sudo ufw allow 22 or sudo ufw allow 22/tcp sudo ufw allow 22/udp sudo ufw deny 22 ubuntu 14 xrdp (port : 3389) 安裝 sudo apt-get install xrdp 啟動 sudo service xrdp start ubuntu 12.10 xrdp (port : 3389) 1. install xrdp sudo apt-get install xrdp 2. install fallback sudo apt-get install gnome-session-fallback 3. logout and login again by gnome theme. You can choose theme before log in.. 4. open terminal by ctrl alt t , then input echo "gnome-session --session=gnome" > ~/.xsession 5. sudo gedit /etec/xrdp/startwm.sh . /etc/X11/Xsession to . /home/<user name>/.xsession 6. sudo /etc/init.d/xrdp restart 安裝samba 主要能和windows share folder connection sudo apt-get install samba sudo service smbd start Reference : https://help.ubuntu.... 閱讀完整內容
Google Blogger 程式碼底色改變 3月 19, 2016 套用方式: 主題=>自訂=>選擇進階=>新增CSS=>填入CSS 程式碼=>套用至網誌 嵌入程式碼: CODE { display: block; /* fixes a strange ie margin bug */ font-family: Courier New; font-size: 8pt; overflow:auto; background: #f0f0f0 url(http://klcintw.images.googlepages.com/Code_BG.gif) left top repeat-y; border: 1px solid #ccc; padding: 10px 10px 10px 21px; max-height:200px; line-height: 1.2em; } (1.)那就開始動手作,首先選擇主題後點擊自訂 (2.)選擇進階=>新增CSS=>填入CSS 程式碼=>套用至網誌 (3.)do it 請到一篇文章中,選擇html使用CODE Tage將程式碼包覆, !!記得請大寫!!! 撰寫完畢後按儲存~~請按預覽~~ 這樣就完成拉~~ Reference : http://rocking5566.blogspot.tw/2013/04/google-blog.html http://chiumog.blogspot.tw/2015/02/blog-code-block.html 圖片破版 http://www.wfublog.com/2015/05/blogger-picasa-image-blurry-disappear-overflow.html 閱讀完整內容
留言
張貼留言