1 / 19

讓 WEKA 活在 .net 上

讓 WEKA 活在 .net 上. 講師:蔡寶德. 何謂 Weka. 資料探 勘軟體 用於數據挖掘和知識 分析的一個 平台 使用的語言 JAVA. 問題. 只能使用在本機端 ,無法線上使用 只能 讀取 arff 與 csv 檔,無法連結資料庫. 目的. 讓 WEKA 可以 在 C 語言線上運行. 方法. 使用 IKVM.NET 在 .NET 裡的 JAVA 模擬程式 在 .NET 裡使用 JAVA 函式庫 讓 Java 與 .NET 互通工具. 安裝方向. 下載安裝軟體 weka ( 資料探勘軟體 ) IKVM (JAVA 模擬轉換器 )

abbott
Download Presentation

讓 WEKA 活在 .net 上

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 讓WEKA活在.net上 講師:蔡寶德

  2. 何謂Weka • 資料探勘軟體 • 用於數據挖掘和知識分析的一個平台 • 使用的語言 • JAVA

  3. 問題 • 只能使用在本機端 ,無法線上使用 • 只能讀取arff與csv檔,無法連結資料庫

  4. 目的 • 讓WEKA可以在 C語言線上運行

  5. 方法 • 使用IKVM.NET • 在.NET裡的JAVA模擬程式 • 在.NET裡使用JAVA函式庫 • 讓Java 與 .NET 互通工具

  6. 安裝方向 • 下載安裝軟體 • weka (資料探勘軟體) • IKVM (JAVA模擬轉換器) • C語言編譯器(Microsoft Visual Studio .NET) • 語言轉換 • 使用IKVM 將 weka.jar 轉換成 weka.dll • 開啟Microsoft Visual Studio加入參照 • IKVM.OpenJDK.ClassLibrary.dll • IKVM.Runtime.JNI.dll • weka.dll

  7. 下載安裝軟體 • WEKA載點 • http://www.cs.waikato.ac.nz/ml/weka/ • (weka-3-5-6jre) • IKVM載點 • http://www.ikvm.net/download.html • (Ikvm-0.38.0.2) • Microsoft Visual Studio .NET載點 • 請向系統管理者索取

  8. 安裝weka (1/7) 按Next >

  9. 安裝weka(2/7) • 按 I Agree (我答應)

  10. 安裝weka(3/7) • 按Next >(選擇安裝內容Full)

  11. 安裝weka(4/7) • 再按Next > (選擇路徑)

  12. 安裝weka(5/7) • 按Install(開始選單名稱)

  13. 安裝weka(6/7) • 按Next >(安裝過程)

  14. 安裝weka(7/7) • Finish (將Start Weka取消 ~不需要開啟)

  15. 使用IKVM轉換 (1/2) • 複製 C:\Program Files\Weka-3-5\weka.jar到已解壓縮的ikvm\bin 裡

  16. 使用IKVM轉換 (2/2) • 開始→執行→CMD→確定 • 切換到c:\ikvm-0.38.0.2\bin • 執行 ikvmc -target:libraryweka.jar

  17. 加入參考(1/3) • 複製三個檔案到.net專案的資料夾裡

  18. 加入參考(2/3) • 在Microsoft Visual Studio 的方案總管裡的“參考”按“加入參考”

  19. 加入參考(3/3) • 選擇新複製的三個檔案 確定加入

More Related