| 查看: 497 | 回复: 3 | |||
| 当前主题已经存档。 | |||
[交流]
【求助】请问这里的region指什么?(matlab C4.5 code)
|
|||
|
下面是程序的前几行 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 ] |
» 猜你喜欢
博士自荐
已经有6人回复
博士推荐
已经有4人回复
求环氧树脂研发1名
已经有10人回复
280求调剂
已经有5人回复
什么是人一生最重要的?
已经有10人回复
面上可以超过30页吧?
已经有13人回复
为什么中国大学工科教授们水了那么多所谓的顶会顶刊,但还是做不出宇树机器人?
已经有13人回复
版面费该交吗
已经有17人回复
【博士招生】太原理工大学2026化工博士
已经有8人回复
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
- 专业: 信息系统与管理
3楼2009-12-19 09:16:52
4楼2009-12-21 22:27:32













回复此楼