C4.5-Release8的程式碼架構圖
阿新 • • 發佈:2018-11-12
程式碼連結:
http://www.rulequest.com/Personal/c4.5r8.tar.gz
file_structure.dot
digraph abc
{
"c4.5.c";
"besttree.c";
"build.c";
"info.c";
"contin.c";
"discr.c";
"c4.5.c"->"besttree.c";
"besttree.c"->"build.c";
"build.c"->"info.c";
"info.c"->"contin.c";
"info.c"->"discr.c";
}
執行方法:
dot -Tpng -o file_structure.png ./file_structure.dot
結果如下:
function_structure.dot
digraph abc{ "main()"; "FormTree()"; "EvalDiscreteAtt()"; "TotalInfo()"; "CVal"; "main()"->"OneTree()"; "OneTree()"->"InitialiseTreeData()" "OneTree()"->"FormTree()"; "FormTree()"->"EvalDiscreteAtt()"; "FormTree()"->"EvalContinuousAtt()"; "EvalContinuousAtt()"->"TotalInfo()"; "EvalContinuousAtt()"->"CVal"; "EvalContinuousAtt()"-> "ComputeGain()"; "EvalDiscreteAtt()"->"DiscrKnownBaseInfo()"; "EvalDiscreteAtt()"-> "ComputeGain()"; "EvalDiscreteAtt()"->"TotalInfo()"; }
執行方法:
dot -Tpng -o function_structure.png ./function_structure.dot
結果如下: