日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

CVP(Critical Value Pruning)illustration with clear principle in details

發(fā)布時(shí)間:2023/12/20 编程问答 31 豆豆
生活随笔 收集整理的這篇文章主要介紹了 CVP(Critical Value Pruning)illustration with clear principle in details 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

Note:
CVP(Critical Value Pruning) is also called
Chi-Square Pruning(test) in many materials.

The following is a contingency table[1]:

H0:Xijn=NiNjn2H_0:\frac{X_{ij}}{n}=\frac{N_iN_j}{n^2}H0?:nXij??=n2Ni?Nj??
H1:Xijn≠NiNjn2H_1:\frac{X_{ij}}{n}≠\frac{N_iN_j}{n^2}H1?:nXij???=n2Ni?Nj??
Nij=XijN_{ij}=X_{ij}Nij?=Xij?
when
∑i=1i=r∑j=1j=s(Nij?Ni?Njn)2Ni?Njn<χ[(r?1)(s?1)],α2=criticalvalue\sum_{i=1}^{i=r}\sum_{j=1}^{j=s}\frac{(N_{ij}-\frac{N_i·N_j}{n})^2} {\frac{N_i·N_j}{n}}<\chi_{[(r-1)(s-1)],\alpha}^2=critical \ valuei=1i=r?j=1j=s?nNi??Nj??(Nij??nNi??Nj??)2?<χ[(r?1)(s?1)],α2?=critical?value
then H0H_0H0? is accepted and the decision tree is pruned.
among which α\alphaα can be set as 0.05,etc.
nnn is the total length(means counts,quantity) of your datasets.
The relationships between contingency table and Decision Tree are listed in the following table:

Split node with Attribute fffclass 111class 222…\dotsclass sss
branch 111nL1n_{L1}nL1?nL2n_{L2}nL2?…\dotsnLn_LnL?
branch 222nR1n_{R1}nR1?nR2n_{R2}nR2?…\dotsnRn_RnR?
?\vdots??\vdots??\vdots??\ddots??\vdots?
branch rrrn1n_1n1?n2n_2n2?…\dotsnnn

Now let’s use the above table to learn the following lecture PPT[2].

in the above picture,some parameters are explained in the table in front of it.

Let’s go on…

In the above ppt,note that CVP can both be used in pre-pruning and post-pruning stages.
According to the growth stage ,we know “l(fā)ess than critical value” happend before current sub-tree is pruned.
So,we can infer from the above lecture PDF that the post-pruning will have the same experience.

How to understand the above pruning criterion?

------------------------------------------
In above table,
different branches
=different value level of current decision node of decision tree
(also called split node,one split node owns one Attribute of datasets)

when H0H_0H0? is accepted,then
XijNi?≈N?jn\frac{X_{ij}}{N_{i·}}≈\frac{N_{·j}}{n}Ni??Xij??nN?j??
which means:

the probability of “items belongs to class j” in each ith(i∈[1,r])i_{th}(i∈[1,r])ith?(i[1,r]) branch
=the probability of “items belongs to class j” in all datasets
=>Merging(prune) these branches into one leaf will Not make the probability of “items belongs to class j”vary too much,which means that accuracy will not vary too much after being pruned

In conclusion,when Chi-Square Statistics do Not reach the Critical Value,branches(different value levels of split Attribute of Decision Tree)
will not contribute too much for increasing the accuracy,then these branches can be pruned.

The above conclusion can be used directly when we implement our CVP(Critical Value Pruning) algorithm with python.

We can also learn from above analysis that CVP is targeted at simplifying your decision tree while Not losing accuracy too much.

Reference:
[1]http://www.maths.manchester.ac.uk/~saralees/pslect8.pdf
[2]https://www.docin.com/p1-2336928230.html

總結(jié)

以上是生活随笔為你收集整理的CVP(Critical Value Pruning)illustration with clear principle in details的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。

主站蜘蛛池模板: 国产特黄 | 好吊操这里只有精品 | 精品久久五月天 | 中国一级特黄毛片 | 麻豆av网 | 国产在线观看无码免费视频 | 午夜av电影在线观看 | 久久久久亚洲av成人网人人网站 | 凹凸日日摸日日碰夜夜 | 天海翼av在线播放 | 邻居少妇张开双腿让我爽一夜 | 国产精品欧美性爱 | 激情六月天| 久久久男女 | 高潮毛片无遮挡免费看 | 91精品国产一区二区三竹菊影视 | 在线国产福利 | 精品欧美乱码久久久久久 | 久久这里只有精品首页 | 欧美成人片在线观看 | 呦呦av| 亚洲午夜福利在线观看 | 久久五月天婷婷 | 97久久久久久久久久 | 国产亚洲精品久久777777 | 日韩五码电影 | 91免费国产| www.四虎精品| 天天色宗合 | 国产午夜激情 | 欧美男女激情 | 中文字幕精品三区 | 91精品人妻一区二区三区蜜桃2 | 精品国产丝袜一区二区三区乱码 | 亚洲成人生活片 | 日本变态折磨凌虐bdsm在线 | 久久av中文字幕 | 成人深夜小视频 | 免费黄色三级 | 污漫在线观看 | 无码国产伦一区二区三区视频 | 天天色天天搞 | 欧美日韩精品在线观看 | 少妇一边呻吟一边说使劲视频 | 偷拍青青草 | 日韩精品一区二区在线 | 亚洲欧美激情在线观看 | 国产三级三级在线观看 | 精品人妻伦一二三区久久 | 在线免费黄网 | 国产在线视频99 | 麻豆国产av超爽剧情系列 | 国产一区二区伦理 | 欧美性天天影院 | 日韩性网| 中文字幕在线观看网址 | 99国内揄拍国内精品人妻免费 | 夜久久| 久久精品国产亚洲AV高清综合 | 国模无码一区二区三区 | 亚洲一区影视 | 日韩黄色a级片 | 亚洲图片欧美日韩 | 狼人伊人久久 | 中文字幕三级视频 | 午夜黄色剧场 | 三级国产三级在线 | 九九九精品视频 | 欧美极品在线视频 | 免费伊人网 | 99热在线观看 | 天天天天天天干 | 日韩高清片 | 中文字幕日韩欧美一区二区 | 国产精品久久久久久久久久免费看 | 啪啪中文字幕 | 日韩福利 | 国产八区| 粉嫩av一区二区夜夜嗨 | 精品国产aⅴ麻豆 | 日韩免费毛片 | 欧美性黄色 | 华人永久免费 | 自拍偷拍99| 中文字幕精品一区二区三区视频 | 国精产品一二三区精华液 | 国产一区二区三区在线免费观看 | 人妻内射一区二区在线视频 | 美女丝袜合集 | 麻豆va | 亚洲午夜久久久久久久久红桃 | 美女福利视频一区 | 精品在线观看一区二区 | 自拍偷拍亚洲视频 | 玖玖在线资源 | 黄色大片在线 | 影音先锋波多野结衣 | 国产另类在线 | 欧美精品乱人伦久久久久久 |