matlab神经网络3:模式分类
生活随笔
收集整理的這篇文章主要介紹了
matlab神经网络3:模式分类
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
1.模式分類與數(shù)據(jù)集
Pattern recognition is the process of training a neural network to assign the correct target classes to a set of input patterns. Once trained the network can be used to classify patterns it has not seen before. ?This dataset can be used to demonstrate how a neural network can be trained to classify data using a set of examples.cancerInputs - a 9x699 matrix defining nine attributes of 699 biopsies. ? ?1. Clump thickness? ?2. Uniformity of cell size? ?3. Uniformity of cell shape? ?4. Marginal Adhesion? ?5. Single epithelial cell size? ?6. Bare nuclei? ?7. Bland chomatin? ?8. Normal nucleoli? ?9. Mitoses ? cancerTargets - a 2x966 matrix where each column indicates a correct category with a one in either element 1 or element 2. ? ?1. Benign? ?2. Malignant
2.神經(jīng)網(wǎng)絡(luò)用于模式分類
2.1 GUI方法
輸入:9個(gè)關(guān)聯(lián)指標(biāo) 輸出:正常/異常二分類CE:Minimizing Cross-Entropy results in good classification. Lower values are better. Zero means no error.(最小化交叉熵結(jié)果,值越小性能越好) Percent Error: 錯(cuò)誤分類的比例. 值越小效果越好.
評(píng)價(jià)指標(biāo)1:confusion The next figure shows the confusion matrices for training, testing, and validation, and the three kinds of data combined. The network outputs are very accurate, as you can see by the high numbers of correct responses in the green squares and the low numbers of incorrect responses in the red squares. The lower right blue squares illustrate the overall accuracies.
評(píng)價(jià)指標(biāo)2:ROC 受試者工作特征曲線 (receiver operating characteristic curve,簡稱ROC曲線),又稱為感受性曲線(sensitivity curve)。得此名的原因在于曲線上各點(diǎn)反映著相同的感受性,它們都是對(duì)同一信號(hào)刺激的反應(yīng),只不過是在幾種不同的判定標(biāo)準(zhǔn)下所得的結(jié)果而已。接受者操作特性曲線就是以假陽性概率(False positive rate)為橫軸,擊中概率為縱軸所組成的坐標(biāo)圖,和被試在特定刺激條件下由于采用不同的判斷標(biāo)準(zhǔn)得出的不同結(jié)果畫出的曲線。
ROC曲線是根據(jù)一系列不同的二分類方式(分界值或決定閾),以真陽性率(靈敏度)為縱坐標(biāo),假陽性率(1-特異度)為橫坐標(biāo)繪制的曲線。傳統(tǒng)的診斷試驗(yàn)評(píng)價(jià)方法有一個(gè)共同的特點(diǎn),必須將試驗(yàn)結(jié)果分為兩類,再進(jìn)行統(tǒng)計(jì)分析。ROC曲線的評(píng)價(jià)方法與傳統(tǒng)的評(píng)價(jià)方法不同,無須此限制,而是根據(jù)實(shí)際情況,允許有中間狀態(tài),可以把試驗(yàn)結(jié)果劃分為多個(gè)有序分類,如正常、大致正常、可疑、大致異常和異常五個(gè)等級(jí)再進(jìn)行統(tǒng)計(jì)分析。因此,ROC曲線評(píng)價(jià)方法適用的范圍更為廣泛。
總結(jié)
以上是生活随笔為你收集整理的matlab神经网络3:模式分类的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: How To Set Up a TCP/
- 下一篇: 编写高性能 Web 应用程序的10个技巧