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

15 lines
221 B
Go
Raw Normal View History

2014-08-02 16:22:14 +01:00
package filters
import (
"fmt"
)
type FrequencyTableEntry struct {
Value float64
Frequency map[string]int
}
func (t *FrequencyTableEntry) String() string {
return fmt.Sprintf("%.2f %s", t.Value, t.Frequency)
2014-08-22 06:55:20 +00:00
}