Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheStorage ¶
type HttpClientMaker ¶
type PersistentStore ¶
type PredictionMaker ¶
type PredictionMaker struct { CacheStorage CacheStorage HttpClientMaker HttpClientMaker }
type PredictionSource ¶
type PredictionSource interface { AllPredictionsSince(ctx context.Context, t time.Time) ([]*predictions.PredictionSummary, error) AllPredictionResponses(context.Context, []*predictions.PredictionSummary) ([]*predictions.PredictionSummary, []*predictions.PredictionResponse, error) }
type Trainer ¶
type Trainer struct { PersistentStore PersistentStore FileStore FileStore PredictionSource PredictionSource ModelPath string DataPath string TrainPackage string SleepFunc func(time.Duration) HttpClientMaker HttpClientMaker }
Click to show internal directories.
Click to hide internal directories.