文件名称:DecisionTree
- 所属分类:
- 杀毒
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2013-05-20
- 文件大小:
- 4.66mb
- 下载次数:
- 0次
- 提 供 者:
- 王*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
决策树算法实现,C4.5,挺好的实现了,大家可以下载来-Cnt main(int argc, char* argv[]){
string filename = "source.txt"
DecisionTree dt
int attr_node = 0
TreeNode* treeHead = nullptr
set<int> readLineNum
vector<int> readClumNum
int deep = 0
if (dt.pretreatment(filename, readLineNum, readClumNum) == 0)
{
dt.CreatTree(treeHead, dt.getStatTree(), dt.getInfos(), readLineNum, readClumNum, deep)
}
string filename = "source.txt"
DecisionTree dt
int attr_node = 0
TreeNode* treeHead = nullptr
set<int> readLineNum
vector<int> readClumNum
int deep = 0
if (dt.pretreatment(filename, readLineNum, readClumNum) == 0)
{
dt.CreatTree(treeHead, dt.getStatTree(), dt.getInfos(), readLineNum, readClumNum, deep)
}
(系统自动生成,下载前可以参看下载内容)
下载文件列表
DecisionTree\DecisionTree\Debug\DecisionTree.Build.CppClean.log
............\............\.....\DecisionTree.log
............\............\DecisionTree.cpp
............\............\DecisionTree.h
............\............\DecisionTree.vcxproj
............\............\DecisionTree.vcxproj.filters
............\............\DecisionTree.vcxproj.user
............\............\source.txt
............\............\Tree.cpp
............\............\Tree.h
............\DecisionTree.sln
............\DecisionTree.suo
............\ipch\decisiontree-8f8fd611\decisiontree-bfb5d3ca.ipch
............\Release\CL.read.1.tlog
............\.......\CL.write.1.tlog
............\.......\DecisionTree.exe
............\.......\DecisionTree.exe.intermediate.manifest
............\.......\DecisionTree.lastbuildstate
............\.......\DecisionTree.log
............\.......\DecisionTree.obj
............\.......\DecisionTree.pdb
............\.......\link.read.1.tlog
............\.......\link.write.1.tlog
............\.......\mt.read.1.tlog
............\.......\mt.write.1.tlog
............\.......\Tree.obj
............\.......\vc100.pdb
............\DecisionTree\Debug
............\ipch\decisiontree-8f8fd611
............\Debug
............\DecisionTree
............\ipch
............\Release
DecisionTree