View definition

(*InformationGainRuleGenerator).GenerateSplitRule

Defined in github.com/sjwhitworth/golearn/trees/entropy.go

Description

GenerateSplitRule returns a DecisionTreeNode based on a non-class Attribute which maximises the information gain.

IMPORTANT: passing a base.Instances with no Attributes other than the class variable will panic()

GenerateSplitRule is referenced in 0 repositories