⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dtree.plg

📁 c4.5决策树的实现,应用于一个医学诊断
💻 PLG
📖 第 1 页 / 共 2 页
字号:
<html>
<body>
<pre>
<h1>Build Log</h1>
<h3>
--------------------Configuration: DTree - Win32 Debug--------------------
</h3>
<h3>Command Lines</h3>
Creating temporary file "C:\DOCUME~1\ibm\LOCALS~1\Temp\RSP93.tmp" with contents
[
/nologo /MLd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /Fp"Debug/DTree.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c 
"D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp"
"D:\Microsoft Visual Studio\MyProjects\DTree\Node.cpp"
]
Creating command line "cl.exe @C:\DOCUME~1\ibm\LOCALS~1\Temp\RSP93.tmp" 
Creating temporary file "C:\DOCUME~1\ibm\LOCALS~1\Temp\RSP94.tmp" with contents
[
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /incremental:yes /pdb:"Debug/DTree.pdb" /debug /machine:I386 /out:"Debug/DTree.exe" /pdbtype:sept 
".\Debug\DecisionTree.obj"
".\Debug\Node.obj"
".\Debug\Stdafx.obj"
]
Creating command line "link.exe @C:\DOCUME~1\ibm\LOCALS~1\Temp\RSP94.tmp"
<h3>Output Window</h3>
Compiling...
DecisionTree.cpp
d:\microsoft visual studio\myprojects\dtree\decisiontree.h(8) : error C2236: unexpected 'class' 'DecisionTree'
d:\microsoft visual studio\myprojects\dtree\decisiontree.h(8) : error C2059: syntax error : ')'
d:\microsoft visual studio\myprojects\dtree\decisiontree.h(9) : error C2143: syntax error : missing ';' before '{'
d:\microsoft visual studio\myprojects\dtree\decisiontree.h(9) : error C2447: missing function header (old-style formal list?)
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(4) : error C2653: 'DecisionTree' : is not a class or namespace name
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(6) : error C2065: 'root' : undeclared identifier
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(6) : error C2440: '=' : cannot convert from 'class Node *' to 'int'
        This conversion requires a reinterpret_cast, a C-style cast or function-style cast
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(7) : error C2065: 'numOfIns' : undeclared identifier
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(8) : error C2065: 'numOfAttr' : undeclared identifier
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(9) : error C2065: 'trainingSet' : undeclared identifier
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(10) : error C2065: 'weight' : undeclared identifier
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(11) : error C2065: 'used' : undeclared identifier
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(12) : error C2065: 'numOfNodes' : undeclared identifier
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(13) : warning C4508: 'DecisionTree' : function should return a value; 'void' return type assumed
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(15) : error C2653: 'DecisionTree' : is not a class or namespace name
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(16) : error C2084: function 'int __cdecl DecisionTree(void)' already has a body
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(17) : error C2065: 'DeleteTree' : undeclared identifier
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(20) : error C2541: delete : cannot delete objects that are not pointers
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(25) : error C2541: delete : cannot delete objects that are not pointers
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(30) : error C2653: 'DecisionTree' : is not a class or namespace name
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(32) : error C2673: 'GetRoot' : global functions do not have 'this' pointers
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(32) : error C2228: left of '.root' must have class/struct/union type
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(35) : error C2653: 'DecisionTree' : is not a class or namespace name
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(37) : error C2673: 'GetnumOfIns' : global functions do not have 'this' pointers
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(37) : error C2228: left of '.numOfIns' must have class/struct/union type
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(40) : error C2653: 'DecisionTree' : is not a class or namespace name
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(42) : error C2673: 'GetnumOfAttr' : global functions do not have 'this' pointers
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(42) : error C2228: left of '.numOfAttr' must have class/struct/union type
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(45) : error C2653: 'DecisionTree' : is not a class or namespace name
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(47) : error C2673: 'SetnumOfIns' : global functions do not have 'this' pointers
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(47) : error C2228: left of '.numOfIns' must have class/struct/union type
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(50) : error C2653: 'DecisionTree' : is not a class or namespace name
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(52) : error C2673: 'SetnumOfAttr' : global functions do not have 'this' pointers
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(52) : error C2228: left of '.numOfAttr' must have class/struct/union type
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(55) : error C2653: 'DecisionTree' : is not a class or namespace name
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(57) : error C2673: 'GetnumOfNodes' : global functions do not have 'this' pointers
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(57) : error C2228: left of '.numOfNodes' must have class/struct/union type
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(60) : error C2653: 'DecisionTree' : is not a class or namespace name
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(61) : error C2373: 'DeleteTree' : redefinition; different type modifiers
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(62) : error C2248: 'leftchild' : cannot access private member declared in class 'Node'
        d:\microsoft visual studio\myprojects\dtree\node.h(14) : see declaration of 'leftchild'
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(63) : error C2065: 'deleteTree' : undeclared identifier
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(63) : error C2248: 'leftchild' : cannot access private member declared in class 'Node'
        d:\microsoft visual studio\myprojects\dtree\node.h(14) : see declaration of 'leftchild'
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(65) : error C2248: 'rightchild' : cannot access private member declared in class 'Node'
        d:\microsoft visual studio\myprojects\dtree\node.h(15) : see declaration of 'rightchild'
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(66) : error C2248: 'rightchild' : cannot access private member declared in class 'Node'
        d:\microsoft visual studio\myprojects\dtree\node.h(15) : see declaration of 'rightchild'
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(115) : error C2653: 'DecisionTree' : is not a class or namespace name
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(182) : error C2653: 'DecisionTree' : is not a class or namespace name
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(186) : error C2065: 'sort' : undeclared identifier
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(193) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(207) : error C2653: 'DecisionTree' : is not a class or namespace name
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(208) : error C2373: 'sort' : redefinition; different type modifiers
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(244) : error C2653: 'DecisionTree' : is not a class or namespace name
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(274) : error C2027: use of undefined type 'DecisonTree'
        d:\microsoft visual studio\myprojects\dtree\node.h(16) : see declaration of 'DecisonTree'
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(276) : error C2673: 'BuildTree' : global functions do not have 'this' pointers
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(276) : error C2227: left of '->root' must point to class/struct/union
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(276) : error C2065: 'GenerateTree' : undeclared identifier
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(280) : error C2653: 'DecisionTree' : is not a class or namespace name
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(281) : error C2373: 'GenerateTree' : redefinition; different type modifiers
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(289) : error C2248: 'isLeaf' : cannot access private member declared in class 'Node'
        d:\microsoft visual studio\myprojects\dtree\node.h(12) : see declaration of 'isLeaf'
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(290) : error C2248: 'attribute' : cannot access private member declared in class 'Node'
        d:\microsoft visual studio\myprojects\dtree\node.h(11) : see declaration of 'attribute'
D:\Microsoft Visual Studio\MyProjects\DTree\DecisionTree.cpp(291) : error C2248: 'attribute' : cannot access private member declared in class 'Node'

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -