1 / 73

FuzzyAccess 模糊推論應用軟體使用簡報 作者 : 盧坤勇 副教授 國立聯合大學電子工程系

FuzzyAccess 模糊推論應用軟體使用簡報 作者 : 盧坤勇 副教授 國立聯合大學電子工程系. μ i1. d. Aggregate the rule evaluation outputs. μ i2. μ i3. Fuzzy output. c. Filter the candidate rules and evaluate the fuzziness of the selected rules. e.Defuzzification. Fuzziness. Fuzzy set j. μ i1 =1.

honey
Download Presentation

FuzzyAccess 模糊推論應用軟體使用簡報 作者 : 盧坤勇 副教授 國立聯合大學電子工程系

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. FuzzyAccess 模糊推論應用軟體使用簡報 作者: 盧坤勇 副教授 國立聯合大學電子工程系

  2. μi1 d. Aggregate the rule evaluation outputs μi2 μi3 Fuzzy output c. Filter the candidate rules and evaluate the fuzziness of the selected rules e.Defuzzification Fuzziness Fuzzy set j μi1=1 Get the fuzziness value and identify the index of the mapped fuzzy set. μi3 b. Compose the rules filtering SQL μi2 0 Input Data i a. Fuzzification 模糊推論示意圖

  3. 主功能表

  4. 系統功能表 - 建立系統 • 自定術語(0): 定義常用述語 • 變數定義(1): 定義專案變數 • 變數MBF定義(2):定義各類變數之MBF • 推論規則定義(3):定義推論規則 • 推論規則管理(4):管理推論規則 • 顯示專案內容(5):提示專案內容

  5. 系統功能表 - 測試系統 • 測試資料管理(6):建立測試資料 • 專案訓練分析(7):使用GA訓練專案 • 訓練資料管理(8):管理訓練結果 • 專案修正與應用(9):微調專案與專案應用 • 交談式分析(10):交談式專案應用 • Fuzzy Agent(11):系統上線

  6. 系統功能表 - 系統維護 • 匯出系統(12):匯出系統參數 • 系統重建(13):刪除原專案並重設

  7. 常用術語定義範例 (資料表:TermDef)

  8. 各項資料定義表單功能表 將下方文字型控制項資料加入資料表 查閱資料表所有紀錄 新增資料時 修改資料時 將下方資料表指標所在紀錄填入上方控制項 切換型按鈕

  9. 語意變數定義(資料表: VarDefinition) IN: Input (輸入型變數) Out: Output (輸出型變數) Oin: Apply previous Output as Input in the next step (輸出/入型變數)

  10. 變數定義資料表欄位說明(資料表: VarDefinition) • VarName:變數名稱 • IOType:變數用途 • Left Limit:左界(下限) • Right Limit:右界(上限) • Range:組距(可自動計算) • Term No:術語個數 • TermName:術語串列(可選入預設術語)

  11. 語意變數定義

  12. Varname Definition Example

  13. 語意變數定義(修改介面)

  14. 歸屬函數定義(新增介面)

  15. 變數術語歸屬函數定義(資料表: MBFunction) • Varname:變數名稱 • VarNo:術語序號(從1開始) • TermName: 術語名稱 • MBFtype:MBF 型態 • Lvalue: 左值 • Mvalue: 中值; 或是B及U型之bl值 • Rvalue: 右值

  16. 歸屬函數定義範例

  17. Z S vl vl x x xl xm xv xr xl xu xm xr P T bm vl vl x x xl xu xm xv xr xl xu xm xm2 xv xr Membership Function Type V

  18. C D y x x vl vl xl xm xv xr xl xu xm xr B (bl>1, A (bl<1) U (bl>1, V (bl<1) x x vl vl xl xu xm xr xl xu xm xr xv xv Membership Function Type

  19. Membership Function Type D Type y = a +bx 0 = a + b * xl vl = a + b * xu a = vl * xl / (xl – xu) b = vl / (xu – xl) C Type vl = a + b * xv 0 = a + b * xr a = vl * xr / (xr – xv) b = -vl / (xr – xv) 備註: C 及 D 型暫不開放使用

  20. 規則變數定義

  21. 規則庫資料表欄位說明(資料表: RBDefinition)) • RBNo:規則序號 • VarName:變數名稱 • IOType:變數用途 • Level:前置變術所在層別, 從1開始編號

  22. 規則變數定義範例

  23. 模糊規則管理功能表 2 1 1 4 3 2 1. 產生Rule_X 資料表 2. 自動產生模糊規則 3. 刪除模糊規則 4.模糊規則查閱及管理 3

  24. 產生Rule_X 資料表 • 依據RBDefinition之定義自動產生對應之Rule_X資料表, 例如: Rule_1 Rule_2 Rule_3

  25. 自動產生模糊規則Rule_1部份內容

  26. 自動產生模糊規則Rule_2部份內容

  27. 自動產生模糊規則Rule_3部份內容

  28. 規則庫定義範例 選入標的規則表後, 規則明細將列示在資料提示區

  29. 規則庫定義管理表單說明 • 重設規則序號 • 手動增刪規則後, 此功能可將規則重新編上序號, 從1開始 • DoS重設為1 • 將全部DoS值重設為1 • DoS設為隨機值 • 將全部DoS值重設為隨機值 • 刪除全部規則 • 將全部規則刪除

  30. 顯示專案內容表單

  31. 顯示專案內容表單說明顯示系統參數

  32. 顯示專案內容表單說明顯示系統方塊圖 圖示專案架構前請先設定物件間距

  33. 顯示專案內容表單說明Variable 定義

  34. 顯示專案內容表單說明RuleBase 定義

  35. 顯示專案內容表單說明MBF 定義

  36. 顯示專案內容表單說明MastrProject

  37. 選定變數後再點擊 Show MBF Function 顯示專案內容表單說明 – 圖示MBF

  38. 測試資料管理表單(資料表:TestSample)

  39. 測試資料表欄位說明(資料表:TestSample)系統自動產生測試資料表欄位說明(資料表:TestSample)系統自動產生 • No: 紀錄序號 • 其它欄位: 由系統自動抓取專案變數名來產生 • Actual: 實際測試最終結果

  40. A B C D E F G 專案訓練分析表單

  41. GA Training 面板說明 • 模糊推論方法設定區 • GA學習參數設定區 • 模糊專案屬性提示區 • GA學習條件區 • GA學習狀態 • GA學習歷程提示區 • 學習效果進階分析

  42. GA Training 範例

  43. 模糊推論方法設定區 • Learn Item: 核取學習對像 • Defuzzify: 設定解模糊化方法 • Aggregate:設定綜合評估模糊值方法 • Learn Rate: 設定學習速率( 1 ~ 6)

  44. GA學習參數設定區 • Pool No: 設定交配池染色體個數 • CrossOver • Pc: 設定交配機率值(>0.7) • Method: SingleSplit / MultiSplit • Mutate • Pm: 設定突變機率值<0.01) • Method: SingleMutate / MultiMutate • Elite: 設定選優染色體比例) • Clone: 設定是否使用複製 • Display Detailed Data: Yes/No • Save Opt. Result: Yes/No

  45. 模糊專案屬性提示區 • Var No: 變數個數 • MBF No: MBF個數 • RuleBase No: 規則庫個數 • Rule No: 規則總數 • View Settings: 查看各類屬性值

  46. GA學習條件 • Generate Pool: 產生交配池 • Reset Dos->1: DoS重設為1 • Restore Pool: 重載交配池至記憶體 • Generate Data: 產生測試資料 • Terminate By(三選一) • RelativeError(相對誤差) • Iterations(學習世代數) • Optimun Sol.(設定最佳解) • GA One: 執行一次 GA • GA Batch: 執行批次GA • Clear: 清除 GA學習歷程提示區 • Initial Sol: 提示起始解 • Training Table: 訓練資料檔 • Bar: 圖示訓練誤差 GA Batch 分別以不同的 Defuzzify, Aggregate 及 Learn Rate訓練, 執行一次Batch將進行24次之 GA運算

  47. GA學習狀態 • TrainLog No: 學習日誌檔序 • Generations: 學習世代數 • Pool No: 對應交配池染色體序號 • CurrentMax Sol: 目前最大值 • Avg Sol: 當次學習結果平均值 • Rel Avg Error: 相對平均誤差 • Global Opt Sol: 全域最佳解

  48. Roulette wheel selection The most commonly used chromosome selectiontechniques is the roulette wheel selection.

  49. 訓練效果進階分析功能表 Train Log No: 選擇訓練日誌序號 Learning Performance: 依日誌圖示訓練效果 Get Original Parameters:擷取專案參數在記憶體重建系統 Backup Table : 備份MBfunction, RBDefinition Save OPT. Results: 將訓練結果最佳值置入MBF及Rule_x表

  50. 訓練效果進階分析功能表 Input Testing Data: 建立FindSolution資料表(若無時), 開啟測試資料輸入介面 FindSolution: 開啟測試專案結果介面 Average Error: 求算平均誤差 Clear Test DataResult: 刪除測試結果 Clear TrainLog By No: 依日誌序號刪除測試日誌 Clear TrainLog : 刪除全部測試日誌

More Related