Stats file added
This commit is contained in:
parent
a7d0ac576c
commit
4756d8517f
1 changed files with 3 additions and 1 deletions
4
file.go
4
file.go
|
@ -56,8 +56,10 @@ func saveBayesToFile() {
|
|||
tmpJSON = jerr.Error()
|
||||
}
|
||||
|
||||
fmt.Println(time.Now().String())
|
||||
|
||||
Classifier.STATS.Range(func(key interface{}, value interface{}) bool {
|
||||
fmt.Printf("%s : %d", key.(string), value.(int64))
|
||||
fmt.Printf("%s : %d\n", key.(string), value.(int64))
|
||||
return true
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue