1
0
mirror of https://github.com/sjwhitworth/golearn.git synced 2025-04-28 13:48:56 +08:00

Merge pull request #160 from FrozenKP/master

fix bug of tree.Fit( testData ) in example.
This commit is contained in:
Richard Townsend 2017-03-23 19:34:17 +00:00 committed by GitHub
commit 6292a917ee

View File

@ -112,7 +112,7 @@ func main() {
// Consider two randomly-chosen attributes
tree = trees.NewRandomTree(2)
err = tree.Fit(testData)
err = tree.Fit(trainData)
if err != nil {
panic(err)
}