![ROC曲線.ppt_第1頁](http://file1.renrendoc.com/fileroot2/2020-1/20/4b5957b1-6169-47b2-94cd-5b821a1e5e0f/4b5957b1-6169-47b2-94cd-5b821a1e5e0f1.gif)
![ROC曲線.ppt_第2頁](http://file1.renrendoc.com/fileroot2/2020-1/20/4b5957b1-6169-47b2-94cd-5b821a1e5e0f/4b5957b1-6169-47b2-94cd-5b821a1e5e0f2.gif)
![ROC曲線.ppt_第3頁](http://file1.renrendoc.com/fileroot2/2020-1/20/4b5957b1-6169-47b2-94cd-5b821a1e5e0f/4b5957b1-6169-47b2-94cd-5b821a1e5e0f3.gif)
![ROC曲線.ppt_第4頁](http://file1.renrendoc.com/fileroot2/2020-1/20/4b5957b1-6169-47b2-94cd-5b821a1e5e0f/4b5957b1-6169-47b2-94cd-5b821a1e5e0f4.gif)
![ROC曲線.ppt_第5頁](http://file1.renrendoc.com/fileroot2/2020-1/20/4b5957b1-6169-47b2-94cd-5b821a1e5e0f/4b5957b1-6169-47b2-94cd-5b821a1e5e0f5.gif)
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、ROC曲線,Hongjie Wu,01,Basic concept,02,Plotting an ROC curve,03,AUC,contents,Basic concept,Receiver operating characteristic (ROC) curves are a useful visual tool for comparing two classification models.(比較兩個分類模型有用的可視化工具) The curve is created by plotting the true positive rate (TPR) against the false
2、positive rate (FPR) at various threshold settings. (ROC曲線顯示了真正例和假正例之間的權(quán)衡),Basic concept,true positive (TP真正例)診斷為有,實際上也有高血壓 eqv. with hit true negative (TN真負例)診斷為沒有,實際卻沒有高血壓 eqv. with correct rejection false positive (FP假正例)診斷為有,實際上也沒有高血壓 eqv. with false alarm, Type I error false negative (FN假負例)診斷為沒
3、有,實際卻有高血壓 eqv. with miss, Type II error,Basic concept,sensitivity or true positive rate (TPR)Y軸 eqv. with hit rate, recall 在所有實際為陽性的樣本中,被正確地判斷為陽性之比率 fall-out or false positive rate (FPR)X軸 在所有實際為陰性的樣本中,被錯誤地判斷為陽性之比率,Plotting an ROC curve,Figure 8.18 shows the probability value (column 3) returned by
4、a probabilistic classifier for each of the 10 tuples in a test set, sorted by decreasing probability order. Column 1 is merely a tuple identification number, which aids in our explanation. Column 2 is the actual class label of the tuple. There are five positive tuples and five negative tuples, thus
5、and . As we examine the known class label of each tuple,we can determine the values of the remaining columns, TP, FP, TN, FN, TPR, and FPR. We start with tuple1, which has the highest probability score, and take that score as our threshold, that is, . Thus, the classifier considers tuple 1 to be pos
6、itive, and all the other tuples are considered negative. Since the actual class label of tuple 1 is positive, we have a true positive, hence and . Among the remaining nine tuples, which are all classified as negative, five actually are negative (thus, ). The remaining four are all actually positive,
7、 thus, . We can therefore compute , while .Thus, we have the point for the ROC curve.,Plotting an ROC curve,Figure 8.18 Tuples sorted by decreasing score, where the score is the value returned by a probabilistic classifier. (元組按遞減得分排序,其中得分是概率分類器的返回值),對于二類問題, 選擇閾值t, 使得f(X)=t的 元組X視為正, 而其它元組視為負,Plottin
8、g an ROC curve,There are many methods to obtain a curve out of these points, the most common of which is to use a convex hull. The plot also shows a diagonal line where for every true positive of such a model, we are just as likely to encounter a false positive. For comparison, this line represents
9、random guessing(許多方法可以從這些點得到凸包。該圖現(xiàn)實的對角線,對模型的每個真正例元組,都恰好遇到一個假正例,為了比較,這條直線代表隨機猜測).,AUC,trapezoid method 簡單地將每個相鄰的點以直線連接,計算連線下方的總面積。因為每一線段下方都是一個梯形,所以叫梯形法。 優(yōu)點:簡單,所以常用。 缺點:傾向于低估AUC。 ROC AUCH AUC of ROC是機器學(xué)習(xí)的社群最常使用來比較不同模型優(yōu)劣的方法 。然而近來這個做法開始受到質(zhì)疑,因為有些機器學(xué)習(xí)的研究指出,AUC的噪聲太多,并且很常求不出可信又有效的AUC值,使得AUC在模型比較時產(chǎn)生的問題比解釋的問題更多 。,AUC,To assess the accuracy of a model, we can measure the area under the curve.(為了評估模型的準(zhǔn)確率,可以測量曲線下方的面積) Several software packages are able to perform such calculation.(一些軟件包可以用來進行這些計算),AUC,從AUC判斷分類器(預(yù)測模型)優(yōu)劣的標(biāo)準(zhǔn): AUC = 1,是完美分類器,采用這個預(yù)測模型時,存在至少一個
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 完整版拆除工程施工方案
- DB6103T 41-2025玉米-小麥輪作機械化生產(chǎn)技術(shù)規(guī)范
- DB3715T 76-2025地理標(biāo)志產(chǎn)品 冠縣鴨梨
- 個人小額借款合同模板全集
- 萬科地產(chǎn)租賃合同范本
- 2025年大型機械租賃服務(wù)合同
- 二手房買賣標(biāo)準(zhǔn)合同樣本
- 京東店鋪租賃合同模板
- 臨時借調(diào)合同模板(企業(yè)與員工)
- 個人汽車抵押合作合同書
- 危險性化合物的微生物降解-中國石油大學(xué)環(huán)境生物工程
- 浙江省名校新2025屆高一數(shù)學(xué)第一學(xué)期期末達標(biāo)檢測試題含解析
- 學(xué)習(xí)2024《關(guān)于加強社會組織規(guī)范化建設(shè)推動社會組織高質(zhì)量發(fā)展的意見》解讀課件
- 2024年縣全民健身活動狀況調(diào)查活動方案
- 足球場建設(shè)項目設(shè)計方案
- 湖北宜昌歷年中考語文現(xiàn)代文之記敘文閱讀16篇(含答案)(2003-2023)
- 問題探究如何讓城市不再看海(教學(xué)課件)高一地理
- 2024年人教版五年級數(shù)學(xué)(上冊)模擬考卷及答案(各版本)
- 人教版八年級下冊歷史第1課 中華人民共和國成立 說課稿
- 2024-2030年傷口護理管理行業(yè)市場現(xiàn)狀供需分析及重點企業(yè)投資評估規(guī)劃分析研究分析報告
- 《地球物理勘查》全冊配套完整教學(xué)課件
評論
0/150
提交評論