Documentation
¶
Index ¶
- Variables
- type AreaThresholdWeights
- type AreaType
- type ColFeatureMap
- type GridFeatureMap
- type Model
- func (model *Model) AreaFilter(fieldThreshold float64, rowColThreshold float64) error
- func (model *Model) Basic() features.FeatureMap
- func (model *Model) Col(c int) features.FeatureMap
- func (model *Model) ColsCount() int
- func (model *Model) Extract(sample *samples.Sample, nSamples int)
- func (model *Model) FeaturesCount() (size uint64)
- func (model *Model) FieldsCount() int
- func (model *Model) GoString() string
- func (model *Model) Grid(r, c int) features.FeatureMap
- func (model *Model) Row(r int) features.FeatureMap
- func (model *Model) RowsCount() int
- func (model *Model) Score(sample *samples.Sample) (Score, *Model)
- func (model *Model) StdFilter(threshold float64) error
- type RowFeatureMap
- type Score
- type UserModel
Constants ¶
This section is empty.
Variables ¶
View Source
var AreaFlags = map[AreaType]bool{ BasicAreaType: true, RowAreaType: true, ColAreaType: true, GridAreaType: true, }
View Source
var Debug = false
Functions ¶
This section is empty.
Types ¶
type AreaThresholdWeights ¶
type ColFeatureMap ¶
type ColFeatureMap map[int]features.FeatureMap
func (ColFeatureMap) GoString ¶
func (m ColFeatureMap) GoString() string
type GridFeatureMap ¶
type GridFeatureMap map[[2]int]features.FeatureMap
func (GridFeatureMap) GoString ¶
func (m GridFeatureMap) GoString() string
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func (*Model) AreaFilter ¶
func (*Model) Basic ¶
func (model *Model) Basic() features.FeatureMap
func (*Model) FeaturesCount ¶
func (*Model) FieldsCount ¶
type RowFeatureMap ¶
type RowFeatureMap map[int]features.FeatureMap
func (RowFeatureMap) GoString ¶
func (m RowFeatureMap) GoString() string
Click to show internal directories.
Click to hide internal directories.