Download - 類神經網路操作介紹 - 以 ART Model 為例
![Page 1: 類神經網路操作介紹 - 以 ART Model 為例](https://reader033.vdocuments.pub/reader033/viewer/2022061414/56812b47550346895d8f6264/html5/thumbnails/1.jpg)
1
類神經網路操作介紹 - 以 ART Model 為例
授課老師 : 李麗華 教授
使用工具 :MATLAB 6.1
![Page 2: 類神經網路操作介紹 - 以 ART Model 為例](https://reader033.vdocuments.pub/reader033/viewer/2022061414/56812b47550346895d8f6264/html5/thumbnails/2.jpg)
2
操作步驟 資料前置處理
1.Input Pattern 設計2.Input Pattern 轉換
Matlab 操作 ART1 操作
![Page 3: 類神經網路操作介紹 - 以 ART Model 為例](https://reader033.vdocuments.pub/reader033/viewer/2022061414/56812b47550346895d8f6264/html5/thumbnails/3.jpg)
3
1.Pattern 的設計 ~ 以顧客分群為例
Input 輸入向量節點設計
年齡 20 歲以下 21~30 歲 31~40 歲 41 歲以上
X2~ X4 000 001 011 111
姓別 男 女
X1 0 1
收入 30 萬元以下
30~60 萬元
61 萬元以上
X5~ X6 00 01 11
![Page 4: 類神經網路操作介紹 - 以 ART Model 為例](https://reader033.vdocuments.pub/reader033/viewer/2022061414/56812b47550346895d8f6264/html5/thumbnails/4.jpg)
4
輸入值轉換
50 位顧客原始資料
顧客 姓別 年齡 收入 ( 萬 )1 女 55 105
2 女 37 44
3 女 31 60
49 女 37 52
50 男 42 62
.
.
.
![Page 5: 類神經網路操作介紹 - 以 ART Model 為例](https://reader033.vdocuments.pub/reader033/viewer/2022061414/56812b47550346895d8f6264/html5/thumbnails/5.jpg)
5
輸入值轉換
50 位顧客轉換後的輸入向量
顧客 姓別 年齡 收入1 1 111 11
2 1 011 01
3 1 011 01
49 1 011 01
50 0 111 11
.
.
.
![Page 6: 類神經網路操作介紹 - 以 ART Model 為例](https://reader033.vdocuments.pub/reader033/viewer/2022061414/56812b47550346895d8f6264/html5/thumbnails/6.jpg)
6
Pattern 轉換 ( 續 )
將各 pattern 轉為直列 方法一 ( 以 Excel 為工具 )
• 先行存成文字檔 (*.txt)• 再利用 Excel, 開啟該文字檔• 複製轉貼成直式• 存成文字檔並命名為 trainset.txt
方法二 ( 以 Matlab 為工具 )• 先行匯入所欲轉換的 train pattern• 於命令列中 , 輸入 檔名‘進行轉換 , 如匯入一 t
rain pattern 之檔名為 trainset, 則輸入 trainset’
![Page 7: 類神經網路操作介紹 - 以 ART Model 為例](https://reader033.vdocuments.pub/reader033/viewer/2022061414/56812b47550346895d8f6264/html5/thumbnails/7.jpg)
7
Pattern轉換 ( 續 )
< 方法一 >
複製並選擇性貼上
![Page 8: 類神經網路操作介紹 - 以 ART Model 為例](https://reader033.vdocuments.pub/reader033/viewer/2022061414/56812b47550346895d8f6264/html5/thumbnails/8.jpg)
8
Pattern 轉換 ( 續 ) < 方法一 >
![Page 9: 類神經網路操作介紹 - 以 ART Model 為例](https://reader033.vdocuments.pub/reader033/viewer/2022061414/56812b47550346895d8f6264/html5/thumbnails/9.jpg)
9
Pattern 轉換 ( 續 ) < 方法一 >
![Page 10: 類神經網路操作介紹 - 以 ART Model 為例](https://reader033.vdocuments.pub/reader033/viewer/2022061414/56812b47550346895d8f6264/html5/thumbnails/10.jpg)
10
Pattern 轉換 ( 續 ) < 方法一 >
![Page 11: 類神經網路操作介紹 - 以 ART Model 為例](https://reader033.vdocuments.pub/reader033/viewer/2022061414/56812b47550346895d8f6264/html5/thumbnails/11.jpg)
11
Pattern 轉換 ( 續 ) < 方法一 >
存成文字檔並用tab 格式
![Page 12: 類神經網路操作介紹 - 以 ART Model 為例](https://reader033.vdocuments.pub/reader033/viewer/2022061414/56812b47550346895d8f6264/html5/thumbnails/12.jpg)
12
匯入的 input pattern 檔名
輸入此命令 , 以便轉換 pattern
Pattern 轉換 ( 續 ) < 方法二 >
![Page 13: 類神經網路操作介紹 - 以 ART Model 為例](https://reader033.vdocuments.pub/reader033/viewer/2022061414/56812b47550346895d8f6264/html5/thumbnails/13.jpg)
13
Matlab 操作 - 匯入所需資料 ( 續 )
匯入所需資料
![Page 14: 類神經網路操作介紹 - 以 ART Model 為例](https://reader033.vdocuments.pub/reader033/viewer/2022061414/56812b47550346895d8f6264/html5/thumbnails/14.jpg)
14
Matlab 操作 - 匯入所需資料 ( 續 )
於 Pattern 所在位置 ,將其匯入
![Page 15: 類神經網路操作介紹 - 以 ART Model 為例](https://reader033.vdocuments.pub/reader033/viewer/2022061414/56812b47550346895d8f6264/html5/thumbnails/15.jpg)
15
Matlab 操作 - 匯入所需資料 ( 續 )
選擇“ Next”
![Page 16: 類神經網路操作介紹 - 以 ART Model 為例](https://reader033.vdocuments.pub/reader033/viewer/2022061414/56812b47550346895d8f6264/html5/thumbnails/16.jpg)
16
Matlab 操作 - 匯入所需資料 ( 續 )
選擇“ Finish”
![Page 17: 類神經網路操作介紹 - 以 ART Model 為例](https://reader033.vdocuments.pub/reader033/viewer/2022061414/56812b47550346895d8f6264/html5/thumbnails/17.jpg)
17
ART1 使用方式
將 ART1 外掛函數 Copy 至工作目錄中
1
2
![Page 18: 類神經網路操作介紹 - 以 ART Model 為例](https://reader033.vdocuments.pub/reader033/viewer/2022061414/56812b47550346895d8f6264/html5/thumbnails/18.jpg)
18
ART1 操作說明
函數使用 art1s(“File name”, “ 警戒值” ) 其中“ File name” 為資料檔,而“警戒值”
的設定範圍需介於 0 與 1 之間值 Example
• art1s(ARTSample,0.9)
![Page 19: 類神經網路操作介紹 - 以 ART Model 為例](https://reader033.vdocuments.pub/reader033/viewer/2022061414/56812b47550346895d8f6264/html5/thumbnails/19.jpg)
19
ART 操作說明
輸入 ART 指令 , 即 art1s(ARTSample,0.9)
![Page 20: 類神經網路操作介紹 - 以 ART Model 為例](https://reader033.vdocuments.pub/reader033/viewer/2022061414/56812b47550346895d8f6264/html5/thumbnails/20.jpg)
20
ART聚類結果