Skip to content

zoh/decision-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Decision tree on Golang

Usage

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)

Test

go test

About

Decision tree on Golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published