1
0
mirror of https://github.com/sjwhitworth/golearn.git synced 2025-04-26 13:49:14 +08:00
golearn/filters/chimerge_freq.go
Amit Kumar Gupta 94e5843bcf go fmt ./...
2014-08-22 06:55:20 +00:00

15 lines
221 B
Go

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)
}