流水號
15986
課號
CSIE5052
課程識別碼
922 U1180
無分班
- 3 學分
選修
資訊工程學研究所 / 神經生物與認知科學學程
資訊工程學研究所
神經生物與認知科學學程
選修- 劉長遠
- 搜尋教師開設的課程
電機資訊學院 資訊工程學系
cyliou@ntu.edu.tw
個人網站
https://www.csie.ntu.edu.tw/~cyliou/
- 三 7, 8, 9
資310
1 類加選
修課總人數 30 人
本校 30 人
無領域專長
- 中文授課
- NTU COOL
- 核心能力與課程規劃關聯圖
- 備註
- 修課限制
限學士班三年級以上
本校選課狀況
載入中- 課程概述Neural Networks Syllabus: Foundation Perceptron Multi-Layer Perceptron (MLP) plus tiling algorithm Hopfield model Elman Network Self-Organizing Map (SOM) Reinforcement learning (RL) Lecture notes on Neural Networks, Cheng-Yuan Liou see Class Websites: https://www.csie.ntu.edu.tw/~cyliou/red/NN/Classinfo/classinfo.html
- 課程目標classification, recognition, learning 註: 要加選同學請自行上網加選 助教 f07922039 陳耘志 f07922039@ntu.edu.tw
- 課程要求Basic Calculus 作業 一 第二部分(II), 與 project 任一題作完整 學期成績 A- 兩題都作完整 學期成績 A Skip: 作業 一第ㄧ部分(I) tiling algorithm code + ppt in https://www.csie.ntu.edu.tw/~cyliou/red/NN/Demo/demo.html paper in https://pdfs.semanticscholar.org/a8c9/c463b17a63380f3dd0d62e034d9c76411de2.pd做出 paper 內的 Table 1數據 作業 一第二部分 (II) Uni-perceptron (augmented bi-perceptron) Data set MNIST 數量{ pn , n=1 ~ 60000=N} , 多少屬性 D=28 X 28 pixels (B/W) https://scidm.nchc.org.tw/dataset/mnist 手寫字 J=10 classes {C0, C1, C2, .., Cj, … , CJ=9} 步驟一 為每一個 pattern, pn ? Cj , 找出屬於他的兩個集合 { pn1} 和 { pn 2}. { pn1} 含 784 個與pn 最近的patterns, pm ,但不屬於 pn的Class Cj, { pn1}={pm , m=1~784 | pm ? Cj }. 做一個 hyperplane (784 dimensions)通過這 784個最近的 patterns, { pn1} . hyperplane 在 pn 的那一邊設定為為正號. 步驟二 { pn 2} 含所有為正號的 patterns 且屬於Cj (與 pn在此hyperplane 同一邊). 正號的 patterns 數量為 |{ pn 2}| . 因此一共有 60000 個 { pn1} 和 60000 { pn 2}. 步驟三 找出{ pn 2}內與此hyperplane最近的一個 pattern, pu ? { pn 2} 將此hyperplane 平移到距此 pu一半的距離, 自pu作法線垂直於此 hyperplane. 步驟四 對任一class Cj 選 max{|{ pn 2}|; pn ? Cj }值為最大的集合 { pn 2}1 定出其平移後的hyperplane 為第一個得出的perceptron 的weights. 之後將集合 { pn 2} 內的patterns 從class Cj中剔除 從剩餘的集合內找出最大的集合, max{|{ pn 2}|; pn ? Cj and pn ? { pn 2}1}, { pn 2}2 定出其平移後的hyperplane 為第二個得出的perceptron 的weights. 注意 { pn 2}1∩{ pn 2}2 =.O 依此類推找出最少數量的幾個perceptron or neurons {{ pn 2}1 , { pn 2}2 ,{ pn 2}3 ,…; { pn 2}a∩{ pn 2}b =.O for a≠b} 含所有Cj 內的 patterns , 這幾個 { pn2}a 之一與其對應的 hyperplane or perceptron 會對任一Cj 內的pattern 輸出為 正號 但對其他classes 的 所有patterns輸出為 負號 . (選最大集合及消去法 類似於 Chapter 3 內 bi-perceptron 最少量幾個寬帶狀 strips ) Skip: 作業二 reinforcement learning code + 說明 在 https://www.csie.ntu.edu.tw/~cyliou/red/NN/Homework/2012/hw3.pdf https://www.csie.ntu.edu.tw/~cyliou/red/NN/Homework/2012/hw3.pdf Skip: 作業三 Chapter 5 SIR-kernel 做出 Figures 5,6,7 in Chapter 5 做出 page 20 in ppt of SIR-kernel https://www.csie.ntu.edu.tw/~cyliou/red/publications/ICONIP2008/ICONIP2008_87_ppt.pdf https://www.csie.ntu.edu.tw/~cyliou/red/NN/Homework/2012/hw2.pdf code in https://www.csie.ntu.edu.tw/~cyliou/red/NN/Classinfo/classinfo.html **** Project Chapter 6 ‘ETAM’ Eq.(7---12) Project Chapter 6 ‘ETAM’ Eq.(7---12) Code in https://www.csie.ntu.edu.tw/~cyliou/red/demo/hairy/index.html 'et-AM' ! 'C code' + 'M file' Data set MNIST 數量P=60000 , 多少屬性 N=28 X 28 pixels (B/W) Training dataset=55000 ; Testing dataset=5000. Part I https://scidm.nchc.org.tw/dataset/mnist 手寫字 Window size = 5 X 5 pixels (convolution) Total neurons = 28 X 28=784 in square grid points Total weights =784 X 5 X 5 (including 4 edges and 4 corners) + 784 thresholds Note: delete all weights outside the window for each neuron Note that wij ≠ wji and wii≠0 Part II Augument one standard digit for each handwritten digit in the dataset, see the 10 digits with 96 pixels (8X12) in Chapter 6. Total neurons for the layer = 784 + 96 Total weights = 784 X 25 + 784 (thresholds) + 784 X 96 + 96X96+ 96 (thresholds) Then apply the algorithm in ETAM’ Eq.(7---12) training the neural network. Any testing data will be associated with an unknown pattern, 96 pixels, that has assigned with 96 ‘0’ as input.. Note that wij ≠ wji and wii≠0 ** CNN hard for rotation and scale invariance. Solved by vastly enlarging the dataset with different rotations and/scales of patterns ** 4 X 2 replications of the saved dataset 圍棋 in training
- 預期每週課後學習時數5 hours
- Office Hour
- 指定閱讀部分 in https://www.csie.ntu.edu.tw/~cyliou/red/NN/
- 參考書目https://www.csie.ntu.edu.tw/~cyliou/red/NN/Classinfo/classinfo.html
- 評量方式
- 針對學生困難提供學生調整方式
調整方式 說明 上課形式 以錄音輔助
以錄影輔助
作業繳交方式 書面報告取代口頭報告
個人報告取代團體報告
考試形式 書面(口頭)報告取代考試
- 課程進度
9/06第 1 週 9/06 Lecture Note Chapter 1: Perceptron 9/13第 2 週 9/13 9/20第 3 週 9/20 9/27第 4 週 9/27 10/04第 5 週 10/04 10/11第 6 週 10/11 10/18第 7 週 10/18 10/25第 8 週 10/25 11/01第 9 週 11/01 11/08第 10 週 11/08 11/15第 11 週 11/15 11/22第 12 週 11/22 11/29第 13 週 11/29 12/06第 14 週 12/06 12/13第 15 週 12/13 12/20第 16 週 12/20 12/27第 17 週 12/27 1/03第 18 週 1/03