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

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

some understanding of《Improved Use of Continuous Attributes in C4.5》

發(fā)布時間:2023/12/20 编程问答 36 豆豆
生活随笔 收集整理的這篇文章主要介紹了 some understanding of《Improved Use of Continuous Attributes in C4.5》 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

Here are formulas provided in
“Improved Use of Continuous Attributes in C4.5”
1996,Journal of Artificial Intelligence Research 4 (1996)77-90

Info(D)=?∑j=1Cp(D,j)?log2(p(D,j))Info(D)=-\sum_{j=1}^{C}p(D,j)·log_2(p(D,j))Info(D)=?j=1C?p(D,j)?log2?(p(D,j))

Gain(D,T)=Info(D)?∑i=1k∣Di∣∣D∣?Info(Di)Gain(D,T)=Info(D)-\sum_{i=1}^{k}\frac{|D_i|}{|D|}·Info(D_i)Gain(D,T)=Info(D)?i=1k?DDi???Info(Di?)

Split(D,T)=?∑i=1k∣Di∣∣D∣?log2(∣Di∣∣D∣)Split(D,T)=-\sum_{i=1}^{k}\frac{|D_i|}{|D|}·log_2(\frac{|D_i|}{|D|})Split(D,T)=?i=1k?DDi???log2?(DDi??)

The followding are my understandings:
------------------first change-----------------------------
then,
Gain_Ratio=Gain(D,T)Split(D,T)Gain\_Ratio=\frac{Gain(D,T)}{Split(D,T)}Gain_Ratio=Split(D,T)Gain(D,T)?

Then ,my understanding of the "first change"is
Gain_Ratio_adjusted=Gain(D,T)?log2(N?1)DSplit(D,T)Gain\_Ratio\_adjusted=\frac{Gain(D,T)-\frac{log_2(N-1)}{D}}{Split(D,T)}Gain_Ratio_adjusted=Split(D,T)Gain(D,T)?Dlog2?(N?1)??
is this right?
Many Thanks~
--------------------second change---------------------------
Relevant part of “second change” in this article is:
"This seems to be an unnecessary complication,so the threshold t is chosen instead to maximize gain.Once the threshold is chosen,however,the final selection of the attribute to be used for the test is still made on the basis of the gain ratio criterion using the adjusted gain
"
My understanding is:


1st step:
choose threshold t according to Gain(D,T)maxGain(D,T)_{max}Gain(D,T)max?,
Not Gain_RatiomaxGain\_Ratio_{max}Gain_Ratiomax?
Not (Gain(D,T)?log2(N?1)/∣D∣)max(Gain(D,T)-log_2(N-1)/|D|)_{max}(Gain(D,T)?log2?(N?1)/D)max?
2nd step:
the criterion to choose best feature is according to:
Gain_Ratio(discretefeature)=Gain(D,T)Split(D,T)Gain\_Ratio(discrete\ feature)=\frac{Gain(D,T)}{Split(D,T)}Gain_Ratio(discrete?feature)=Split(D,T)Gain(D,T)?
Gain_Ratio_adjusted(continuousfeature)=Gain(D,T)?log2(N?1)DSplit(D,T)Gain\_Ratio\_adjusted(continuous\ feature)=\frac{Gain(D,T)-\frac{log_2(N-1)}{D}}{Split(D,T)}Gain_Ratio_adjusted(continuous?feature)=Split(D,T)Gain(D,T)?Dlog2?(N?1)??
Finally,just choose the feature whose Gain Ratio or Gain Ratio(adjusted) is the largest.


is this understanding right?
Many thanks~

總結(jié)

以上是生活随笔為你收集整理的some understanding of《Improved Use of Continuous Attributes in C4.5》的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

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