- 2月 02 週一 201505:21
安裝MIT App Inventor並寫一個繪製隨機圓程式
- 2月 02 週一 201503:30
繪製隨機圓

選擇Android Application Project專案名稱: DrawRandCircle按下<下一步>MainActivity按下<執行>按鈕前請先接上實體Android手機編譯成Android Application點選src資料夾, 按滑鼠右鍵->新建->類別輸入類別名稱: CircleCanvas按下<完成>後如下CircleCanvas.java寫入程式
- 2月 01 週日 201509:46
Eclipse 調整字體大小

修改編輯區主題(theme)
1. 先到 Eclipse Color Themes 網頁
2. 在下方可以看到許多已經修改好的成品,選擇喜歡的下載
3. 下載時選擇「eclipse preference (EPF)」格式
4. 下載完後,開啟Eclipse,File > Import
- 1月 31 週六 201519:51
利用Weka進行資料編輯/新增/刪除/行對調

開啟檔案 C:\Program Files\Weka-3-6\data\weather.nominal.arff點擊Edit按鈕開啟後, 使用者可以點選任何一欄資料, 會馬上跳出下拉選單, 方便修改,這功能簡單實用!按下OK就會修改, 相反, 按下Cancel則不修改囉!-------------------------------------------------------------------------------------------------------------------------------去除(Remove)某一個屬性點選weka->filters->unsupervised->attribute->Remove點選Choose旁邊的Edit, 跳出對話框, 填入欲刪除temperature的屬性索引=2按下Apply套用, 只刪除記憶體中的資料, 不會影響原本的資料檔案內容
- 1月 31 週六 201515:34
R 學習筆記(5)

查看目前系統包含哪些library
> library()C:\Program Files\R\R-3.1.2\library 可以找到對應的library資料夾載入某一個library例如boot
library(boot)
- 1月 31 週六 201510:42
R 學習筆記(4)

Writing your own functions計算兩點距離
1: > calDist<-function(x1, x2){ 2: + d = x1 - x2; 3: + dist = d * d; 4: + sdist = sqrt( sum(dist) ); 5: + sdist 6: + }- 1月 28 週三 201503:31
如何同步更新datagridview上的checkbox勾選狀態
先前有寫過Add Something to DataGridView
發現加入的checkbox, 使用者勾選完之後並沒有更新(假設滑鼠停留在該cell), 必須等到該cell沒有被focus才會觸發更新@@換句話說, 如果使用者沒有選擇其他cell時, 該check value並沒有備更新!好險下面這篇已經有人解決這個問題: Firing The DataGridView CellValueChanged Event Immediately
- 1月 20 週二 201514:50
取得系統相關資訊

1: label1.Text = "目前系統目錄為:" + Environment.SystemDirectory;//顯示系統目錄---------------------------------------------------------------------------------------------------------------------------
1: label1.Text = "機器名稱為:" + Environment.MachineName;//顯示機器名稱---------------------------------------------------------------------------------------------------------------------------抓取目前目錄夾位置
1: richTextBox1.Text = "目前程式執行目錄:" + Environment.CurrentDirectory;//取得目前程式執行目錄
- 1月 20 週二 201511:55
R 學習筆記(3)

Reading data from filesread.table() 或是 scan()利用read.table讀取houses.txt
1: > HousePrice <- read.table("C:\\statistics R\\houses.txt")
2: > HousePrice 3: Price Floor Area Rooms Age Cent.heat 4: 01 52.00 111 830 5 6.2 no 5: 02 54.75 128 710 5 7.5 no 6: 03 57.50 101 1000 5 4.2 no 7: 04 57.50 131 690 6 8.8 no 8: 05 59.75 93 900 5 1.9 yes- 1月 18 週日 201521:09
安裝R-(D)COM Interface

R-(D)COM Interface (for Windows) contains a COM server used to connect a client application (e.g., Microsoft Excel) with R. An Add-In for Microsoft Excel is provided as well as Active X controls to be included in your applicationsC:\Program Files (x86)\statconn\DCOM預設只有勾選前兩項
---------------------------------------------------------------------------------------------------------------------------------

