Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllPerformers ¶
type AllPerformers map[string]*PriceRecords
TODO(ajo): remove this struct and below methods into somehwere else perhaps replacing "PriceRecord" in the structs folder?
func (*AllPerformers) SetDeciles ¶
func (ap *AllPerformers) SetDeciles(d *quantilr.Deciles) error
type CustomerContainer ¶
type CustomerContainer struct {
CustomerID string
PriceRecords []PriceRecord
LifeSpan int16
DecileCounts []quantilr.DecilePair
}
type PriceRecord ¶
TODO(ajo): remove this struct and below methods into somehwere else perhaps replacing "PriceRecord" in the structs folder?
type PriceRecords ¶
type PriceRecords []PriceRecord
TODO(ajo): remove this struct and below methods into somehwere else perhaps replacing "PriceRecord" in the structs folder?
func (PriceRecords) Get ¶
func (a PriceRecords) Get(i int) *PriceRecord
func (PriceRecords) Len ¶
func (a PriceRecords) Len() int
func (PriceRecords) Less ¶
func (a PriceRecords) Less(i, j int) bool
func (*PriceRecords) SetDeciles ¶
func (prs *PriceRecords) SetDeciles(d *quantilr.Deciles) error
func (PriceRecords) Swap ¶
func (a PriceRecords) Swap(i, j int)
type ProductContainer ¶
type ProductContainer struct {
ProductID string
DecileModel distuv.Categorical
CustomerRecords []CustomerContainer
}
Click to show internal directories.
Click to hide internal directories.