| ²é¿´: 512 | »Ø¸´: 3 | |||
| µ±Ç°Ö÷ÌâÒѾ´æµµ¡£ | |||
[½»Á÷]
¡¾ÇóÖú¡¿ÇëÎÊÕâÀïµÄregionָʲô£¿(matlab C4.5 code)
|
|||
|
ÏÂÃæÊdzÌÐòµÄǰ¼¸ÐÐ regionµÄǰËĸöµ¥Ôª¾¿¾¹´æµÄÊÇʲô°¡£¿ function D = C4_5(train_features, train_targets, inc_node, region) % Classify using Quinlan's C4.5 algorithm % Inputs: % features - Train features % targets - Train targets % inc_node - Percentage of incorrectly assigned samples at a node % region - Decision region vector: [-x x -y y number_of_points] % % Outputs % D - Decision sufrace %NOTE: In this implementation it is assumed that a feature vector with fewer than 10 unique values (the parameter Nu) %is discrete, and will be treated as such. Other vectors will be treated as continuous [Ni, M] = size(train_features); inc_node = inc_node*M/100; Nu = 10; %For the decision region N = region(5); mx = ones(N,1) * linspace (region(1),region(2),N); my = linspace (region(3),region(4),N)' * ones(1,N); flatxy = [mx(: ), my(: )]'; [ Last edited by kitty4 on 2009-10-24 at 16:53 ] |
» ²ÂÄãϲ»¶
Ò»Ö¾Ô¸¹þ¹¤´ó 085600 277 12²Ä¿Æ»ùÇóµ÷¼Á
ÒѾÓÐ26È˻ظ´
²ÄÁϹ¤³Ì281»¹Óе÷¼Á»ú»áÂð
ÒѾÓÐ25È˻ظ´
339Çóµ÷¼Á
ÒѾÓÐ8È˻ظ´
²ÄÁÏ¿¼Ñе÷¼Á
ÒѾÓÐ28È˻ظ´
µ÷¼ÁÇóÊÕÁô
ÒѾÓÐ27È˻ظ´
0831Ò»ÂÖµ÷¼Áʧ°ÜÇóÖú
ÒѾÓÐ9È˻ظ´
²ÄÁÏÏà¹Ø×¨Òµ344Çóµ÷¼ÁË«·Ç¹¤¿ÆÑ§Ð£»ò¿ÎÌâ×é
ÒѾÓÐ7È˻ظ´
Çóµ÷¼Á
ÒѾÓÐ17È˻ظ´
322Çóµ÷¼Á
ÒѾÓÐ6È˻ظ´
Ò»Ö¾Ô¸Õã´óÉúÎï325·ÖÇóµ÷¼Á
ÒѾÓÐ4È˻ظ´
haixing2008
ÈÙÓþ°æÖ÷ (ÎÄ̳¾«Ó¢)
- Ó¦Öú: 22 (СѧÉú)
- ¹ó±ö: 2.252
- ½ð±Ò: 32603.8
- É¢½ð: 2020
- ºì»¨: 44
- ɳ·¢: 1
- Ìû×Ó: 25068
- ÔÚÏß: 429.1Сʱ
- ³æºÅ: 540264
- ×¢²á: 2008-04-06
- ÐÔ±ð: GG
- רҵ: ¼ÆËãÊýѧÓë¿ÆÑ§¹¤³Ì¼ÆËã
- ¹ÜϽ: ÐÅÏ¢¿ÆÑ§

2Â¥2009-12-04 16:04:07
sparke
Ìú¸Ëľ³æ (ÕýʽдÊÖ)
- Ó¦Öú: 0 (Ó×¶ùÔ°)
- ½ð±Ò: 5493.6
- ºì»¨: 1
- Ìû×Ó: 606
- ÔÚÏß: 190.8Сʱ
- ³æºÅ: 473004
- ×¢²á: 2007-12-05
- רҵ: ÐÅϢϵͳÓë¹ÜÀí
¡ï
Сľ³æ(½ð±Ò+0.5):¸ø¸öºì°ü£¬Ð»Ð»»ØÌû½»Á÷
Сľ³æ(½ð±Ò+0.5):¸ø¸öºì°ü£¬Ð»Ð»»ØÌû½»Á÷
| ÎÒÒ²Óöµ½ÕâÑùµÄÎÊÌâÁË£¬Õ⼸¸ö²ÎÊýÈçºÎ¶¨ÒåµÄ£¬¶¼Ê²Ã´ÐÎʽ£¿ |
3Â¥2009-12-19 09:16:52
tslnet
Òø³æ (СÓÐÃûÆø)
- Ó¦Öú: 1 (Ó×¶ùÔ°)
- ½ð±Ò: 35.5
- Ìû×Ó: 119
- ÔÚÏß: 60.2Сʱ
- ³æºÅ: 565266
- ×¢²á: 2008-05-28
- ÐÔ±ð: GG
- רҵ: ÉúÎïÐÅϢѧ
4Â¥2009-12-21 22:27:32













»Ø¸´´ËÂ¥