文件名称:decision-tree:Golang的决策树
文件大小:6KB
文件格式:ZIP
更新时间:2024-06-15 07:54:58
Go
Golang的决策树 用法 import ( . "github.com/zoh/decision-tree/tree" ) tree := DecisionTree{CategoryAttr: "param", ignoredAttribute: []string{}} TrainingTree(&tree, trainingSet) //... // category item var item TrainingItem category := tree.Predict(item) 测试 go test
【文件预览】:
decision-tree-master
----tree()
--------training.go(88B)
--------treeToHtml.html(3KB)
--------tree.go(10KB)
--------tree_test.go(4KB)
----README.md(305B)